Interface SignService
- 
- All Superinterfaces:
- com.google.gwt.user.client.rpc.RemoteService
 
 @RemoteServiceRelativePath("sign") public interface SignService extends com.google.gwt.user.client.rpc.RemoteServiceThe client side stub for the Sign Service. This service gives all needed methods to handle documents signature.- Since:
- 6.1
- Author:
- Matteo Caruso - LogicalDOC
 
- 
- 
Nested Class SummaryNested Classes Modifier and Type Interface Description static classSignService.Instance
 - 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description voiddeleteCertificate()Delete the certificate of the current uservoiddeleteKeystore(long tenantId)Deletes the actual key storevoidgenerateNewCertificate()voidgenerateNewKeystore(GUIKeystore keystore)Discards the actual key store and generates a new onevoidimporKeystore(GUIKeystore keystore)booleanisVisualSignatureEnabled()GUIKeystoreloadKeystore(long tenantId)Gets the keystore's metadata of the given tenantvoidsaveKeystore(GUIKeystore keystore)voidsignDocuments(long[] docIds, String reason, int page, String signX, String signY, String signWidth)
 
- 
- 
- 
Method Detail- 
loadKeystoreGUIKeystore loadKeystore(long tenantId) throws ServerException Gets the keystore's metadata of the given tenant- Parameters:
- tenantId- identifier of the tenant
- Returns:
- the key store
- Throws:
- ServerException- an error happened in the server application
 
 - 
generateNewKeystorevoid generateNewKeystore(GUIKeystore keystore) throws ServerException Discards the actual key store and generates a new one- Parameters:
- keystore- the key store details
- Throws:
- ServerException- an error happened in the server application
 
 - 
generateNewCertificatevoid generateNewCertificate() throws ServerException- Throws:
- ServerException
 
 - 
deleteCertificatevoid deleteCertificate() throws ServerExceptionDelete the certificate of the current user- Throws:
- ServerException- an error happened in the server application
 
 - 
deleteKeystorevoid deleteKeystore(long tenantId) throws ServerExceptionDeletes the actual key store- Parameters:
- tenantId- identifier of the tenant
- Throws:
- ServerException- an error happened in the server application
 
 - 
saveKeystorevoid saveKeystore(GUIKeystore keystore) throws ServerException - Throws:
- ServerException
 
 - 
imporKeystorevoid imporKeystore(GUIKeystore keystore) throws ServerException - Throws:
- ServerException
 
 - 
isVisualSignatureEnabledboolean isVisualSignatureEnabled() throws ServerException- Throws:
- ServerException
 
 - 
signDocumentsvoid signDocuments(long[] docIds, String reason, int page, String signX, String signY, String signWidth) throws ServerException- Throws:
- ServerException
 
 
- 
 
-