Interface SignService
-
- All Superinterfaces:
com.google.gwt.user.client.rpc.RemoteService
@RemoteServiceRelativePath("sign") public interface SignService extends com.google.gwt.user.client.rpc.RemoteService
The 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 Summary
Nested Classes Modifier and Type Interface Description static class
SignService.Instance
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
deleteCertificate()
Delete the certificate of the current uservoid
deleteKeystore(long tenantId)
Deletes the actual key storevoid
generateNewCertificate()
void
generateNewKeystore(GUIKeystore keystore)
Discards the actual key store and generates a new onevoid
imporKeystore(GUIKeystore keystore)
boolean
isVisualSignatureEnabled()
GUIKeystore
loadKeystore(long tenantId)
Gets the keystore's metadata of the given tenantvoid
saveKeystore(GUIKeystore keystore)
void
signDocuments(long[] docIds, String reason, int page, String signX, String signY, String signWidth)
-
-
-
Method Detail
-
loadKeystore
GUIKeystore 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
-
generateNewKeystore
void 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
-
generateNewCertificate
void generateNewCertificate() throws ServerException
- Throws:
ServerException
-
deleteCertificate
void deleteCertificate() throws ServerException
Delete the certificate of the current user- Throws:
ServerException
- an error happened in the server application
-
deleteKeystore
void deleteKeystore(long tenantId) throws ServerException
Deletes the actual key store- Parameters:
tenantId
- identifier of the tenant- Throws:
ServerException
- an error happened in the server application
-
saveKeystore
void saveKeystore(GUIKeystore keystore) throws ServerException
- Throws:
ServerException
-
imporKeystore
void imporKeystore(GUIKeystore keystore) throws ServerException
- Throws:
ServerException
-
isVisualSignatureEnabled
boolean isVisualSignatureEnabled() throws ServerException
- Throws:
ServerException
-
signDocuments
void signDocuments(long[] docIds, String reason, int page, String signX, String signY, String signWidth) throws ServerException
- Throws:
ServerException
-
-