Interface DocuSignService
- All Superinterfaces:
- com.google.gwt.user.client.rpc.RemoteService
@RemoteServiceRelativePath("docusign")
public interface DocuSignService
extends com.google.gwt.user.client.rpc.RemoteService
The client side stub for the DocuSign Service.
- Since:
- 8.5
- Author:
- Marco Meschieri - LogicalDOC
- 
Nested Class SummaryNested Classes
- 
Method SummaryModifier and TypeMethodDescriptionauthorize(GUIDocuSignSettings settings) Saves the settings into the database and returns the authorization URL the user must be redirected to.getSigners(String envelopeId) Retrieves the list of signers of a given envelopebooleanChecks if the current user is authorized to interact with DocuSignRetrieves the DocuSign settings from the server.sendEnvelope(GUIDocuSignSettings envelope) Creates the envelope and sends it to DocuSignvalidateEnvelope(Collection<Long> docIds) Checks if a collection of document can be put into an envelope, that is if all of them define the docusign tabs annotations.
- 
Method Details- 
loadSettingsRetrieves the DocuSign settings from the server.- Returns:
- the DocuSign settings
- Throws:
- ServerException- an error happened in the server application
 
- 
authorizeSaves the settings into the database and returns the authorization URL the user must be redirected to.- Parameters:
- settings- The settings to save in the user's profile
- Returns:
- the authorization URL
- Throws:
- ServerException- an error happened in the server application
 
- 
isAuthorizedChecks if the current user is authorized to interact with DocuSign- Returns:
- if you are authorized
- Throws:
- ServerException- an error happened in the server application
 
- 
getSignersRetrieves the list of signers of a given envelope- Parameters:
- envelopeId- identifier of the envelope
- Returns:
- the list of signer e-mails
- Throws:
- ServerException- an error happened in the server application
 
- 
validateEnvelopeChecks if a collection of document can be put into an envelope, that is if all of them define the docusign tabs annotations.- Parameters:
- docIds- identifiers of the documents contained in the envelope
- Returns:
- the list of documents that are not admitted
- Throws:
- ServerException- an error happened in the server application
 
- 
sendEnvelopeCreates the envelope and sends it to DocuSign- Parameters:
- envelope- the envelope's details
- Returns:
- the identifier of the new envelope
- Throws:
- ServerException- an error happened in the server application
 
 
-