C# Class Rock.SignNow.SignNow

Inheritance: Rock.Security.DigitalSignatureComponent
Datei anzeigen Open project: NewSpring/Rock

Public Methods

Method Description
CancelDocument ( SignatureDocument document, List &errors ) : bool

Cancels the document.

CreateDocument ( SignatureDocumentTemplate documentTemplate, Person appliesTo, Person assignedTo, string documentName, List &errors, bool sendInvite ) : string

Sends the document.

GetAccessToken ( bool recreate, string &errorMessage ) : string

Gets the access token.

GetDocument ( SignatureDocument document, string folderPath, List &errors ) : string

Gets the document.

GetInviteLink ( SignatureDocument document, Person recipient, List &errors ) : string

Gets the invite link.

GetInviteLink ( string documentId, List &errors ) : string
GetTemplates ( List &errors ) : string>.Dictionary

Gets the templates.

InitializeAttributeValues ( HttpRequest request, string rootUrl ) : void

Method that is called before attribute values are updated. Components can override this to perform any needed initialization of attribute values.

ParseErrors ( Newtonsoft.Json.Linq.JObject jObject ) : List
ResendDocument ( SignatureDocument document, List &errors ) : bool

Resends the document.

UpdateDocumentStatus ( SignatureDocument document, List &errors ) : bool

updates the document status

ValidateAttributeValues ( string &errorMessage ) : bool

Method that is called when attribute values are updated. Components can override this to perform any needed setup based on current attribute values.

Method Details

CancelDocument() public method

Cancels the document.
public CancelDocument ( SignatureDocument document, List &errors ) : bool
document SignatureDocument The document.
errors List The errors.
return bool

CreateDocument() public method

Sends the document.
public CreateDocument ( SignatureDocumentTemplate documentTemplate, Person appliesTo, Person assignedTo, string documentName, List &errors, bool sendInvite ) : string
documentTemplate SignatureDocumentTemplate Type of the document.
appliesTo Person The applies to.
assignedTo Person The recipient.
documentName string Name of the document.
errors List The errors.
sendInvite bool if set to true [send invite].
return string

GetAccessToken() public method

Gets the access token.
public GetAccessToken ( bool recreate, string &errorMessage ) : string
recreate bool if set to true [recreate].
errorMessage string The error message.
return string

GetDocument() public method

Gets the document.
public GetDocument ( SignatureDocument document, string folderPath, List &errors ) : string
document SignatureDocument The document.
folderPath string The folder path.
errors List The errors.
return string

GetInviteLink() public method

Gets the invite link.
public GetInviteLink ( SignatureDocument document, Person recipient, List &errors ) : string
document SignatureDocument The document.
recipient Person The recipient.
errors List The errors.
return string

GetInviteLink() public method

public GetInviteLink ( string documentId, List &errors ) : string
documentId string
errors List
return string

GetTemplates() public method

Gets the templates.
public GetTemplates ( List &errors ) : string>.Dictionary
errors List The errors.
return string>.Dictionary

InitializeAttributeValues() public method

Method that is called before attribute values are updated. Components can override this to perform any needed initialization of attribute values.
public InitializeAttributeValues ( HttpRequest request, string rootUrl ) : void
request System.Web.HttpRequest
rootUrl string
return void

ParseErrors() public method

public ParseErrors ( Newtonsoft.Json.Linq.JObject jObject ) : List
jObject Newtonsoft.Json.Linq.JObject
return List

ResendDocument() public method

Resends the document.
public ResendDocument ( SignatureDocument document, List &errors ) : bool
document SignatureDocument The document.
errors List The errors.
return bool

UpdateDocumentStatus() public method

updates the document status
public UpdateDocumentStatus ( SignatureDocument document, List &errors ) : bool
document SignatureDocument The document.
errors List The errors.
return bool

ValidateAttributeValues() public method

Method that is called when attribute values are updated. Components can override this to perform any needed setup based on current attribute values.
public ValidateAttributeValues ( string &errorMessage ) : bool
errorMessage string
return bool