C# Класс Rock.SignNow.SignNow

Наследование: Rock.Security.DigitalSignatureComponent
Показать файл Открыть проект

Открытые методы

Метод Описание
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.

Описание методов

CancelDocument() публичный Метод

Cancels the document.
public CancelDocument ( SignatureDocument document, List &errors ) : bool
document SignatureDocument The document.
errors List The errors.
Результат bool

CreateDocument() публичный Метод

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].
Результат string

GetAccessToken() публичный Метод

Gets the access token.
public GetAccessToken ( bool recreate, string &errorMessage ) : string
recreate bool if set to true [recreate].
errorMessage string The error message.
Результат string

GetDocument() публичный Метод

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.
Результат string

GetInviteLink() публичный Метод

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.
Результат string

GetInviteLink() публичный Метод

public GetInviteLink ( string documentId, List &errors ) : string
documentId string
errors List
Результат string

GetTemplates() публичный Метод

Gets the templates.
public GetTemplates ( List &errors ) : string>.Dictionary
errors List The errors.
Результат string>.Dictionary

InitializeAttributeValues() публичный Метод

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
Результат void

ParseErrors() публичный Метод

public ParseErrors ( Newtonsoft.Json.Linq.JObject jObject ) : List
jObject Newtonsoft.Json.Linq.JObject
Результат List

ResendDocument() публичный Метод

Resends the document.
public ResendDocument ( SignatureDocument document, List &errors ) : bool
document SignatureDocument The document.
errors List The errors.
Результат bool

UpdateDocumentStatus() публичный Метод

updates the document status
public UpdateDocumentStatus ( SignatureDocument document, List &errors ) : bool
document SignatureDocument The document.
errors List The errors.
Результат bool

ValidateAttributeValues() публичный Метод

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
Результат bool