Package com.logicaldoc.sign
Class SignServiceImpl
- java.lang.Object
-
- javax.servlet.GenericServlet
-
- javax.servlet.http.HttpServlet
-
- com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet
-
- com.google.gwt.user.server.rpc.RemoteServiceServlet
-
- com.logicaldoc.sign.SignServiceImpl
-
- All Implemented Interfaces:
com.google.gwt.user.client.rpc.RemoteService
,com.google.gwt.user.server.rpc.SerializationPolicyProvider
,com.logicaldoc.gui.frontend.client.services.SignService
,Serializable
,javax.servlet.Servlet
,javax.servlet.ServletConfig
public class SignServiceImpl extends com.google.gwt.user.server.rpc.RemoteServiceServlet implements com.logicaldoc.gui.frontend.client.services.SignService
Implementation of the SignService- Since:
- 6.1
- Author:
- Matteo Caruso - LogicalDOC
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static int
ADMIN_KEYSTORE_MENU_ID
-
Constructor Summary
Constructors Constructor Description SignServiceImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
deleteCertificate()
void
deleteKeystore(long tenantId)
void
generateNewCertificate()
void
generateNewKeystore(com.logicaldoc.gui.common.client.beans.GUIKeystore keystore)
void
imporKeystore(com.logicaldoc.gui.common.client.beans.GUIKeystore guiKeystore)
boolean
isVisualSignatureEnabled()
com.logicaldoc.gui.common.client.beans.GUIKeystore
loadKeystore(long tenantId)
void
saveKeystore(com.logicaldoc.gui.common.client.beans.GUIKeystore keystore)
void
signDocuments(long[] docIds, String reason, int page, String signX, String signY, String signWidth)
-
Methods inherited from class com.google.gwt.user.server.rpc.RemoteServiceServlet
getSerializationPolicy, init, processCall, processCall, processPost
-
-
-
-
Field Detail
-
ADMIN_KEYSTORE_MENU_ID
public static final int ADMIN_KEYSTORE_MENU_ID
- See Also:
- Constant Field Values
-
-
Method Detail
-
loadKeystore
public com.logicaldoc.gui.common.client.beans.GUIKeystore loadKeystore(long tenantId) throws com.logicaldoc.gui.common.client.ServerException
- Specified by:
loadKeystore
in interfacecom.logicaldoc.gui.frontend.client.services.SignService
- Throws:
com.logicaldoc.gui.common.client.ServerException
-
generateNewKeystore
public void generateNewKeystore(com.logicaldoc.gui.common.client.beans.GUIKeystore keystore) throws com.logicaldoc.gui.common.client.ServerException
- Specified by:
generateNewKeystore
in interfacecom.logicaldoc.gui.frontend.client.services.SignService
- Throws:
com.logicaldoc.gui.common.client.ServerException
-
deleteKeystore
public void deleteKeystore(long tenantId) throws com.logicaldoc.gui.common.client.ServerException
- Specified by:
deleteKeystore
in interfacecom.logicaldoc.gui.frontend.client.services.SignService
- Throws:
com.logicaldoc.gui.common.client.ServerException
-
saveKeystore
public void saveKeystore(com.logicaldoc.gui.common.client.beans.GUIKeystore keystore) throws com.logicaldoc.gui.common.client.ServerException
- Specified by:
saveKeystore
in interfacecom.logicaldoc.gui.frontend.client.services.SignService
- Throws:
com.logicaldoc.gui.common.client.ServerException
-
imporKeystore
public void imporKeystore(com.logicaldoc.gui.common.client.beans.GUIKeystore guiKeystore) throws com.logicaldoc.gui.common.client.ServerException
- Specified by:
imporKeystore
in interfacecom.logicaldoc.gui.frontend.client.services.SignService
- Throws:
com.logicaldoc.gui.common.client.ServerException
-
generateNewCertificate
public void generateNewCertificate() throws com.logicaldoc.gui.common.client.ServerException
- Specified by:
generateNewCertificate
in interfacecom.logicaldoc.gui.frontend.client.services.SignService
- Throws:
com.logicaldoc.gui.common.client.ServerException
-
deleteCertificate
public void deleteCertificate() throws com.logicaldoc.gui.common.client.ServerException
- Specified by:
deleteCertificate
in interfacecom.logicaldoc.gui.frontend.client.services.SignService
- Throws:
com.logicaldoc.gui.common.client.ServerException
-
signDocuments
public void signDocuments(long[] docIds, String reason, int page, String signX, String signY, String signWidth) throws com.logicaldoc.gui.common.client.ServerException
- Specified by:
signDocuments
in interfacecom.logicaldoc.gui.frontend.client.services.SignService
- Throws:
com.logicaldoc.gui.common.client.ServerException
-
isVisualSignatureEnabled
public boolean isVisualSignatureEnabled() throws com.logicaldoc.gui.common.client.ServerException
- Specified by:
isVisualSignatureEnabled
in interfacecom.logicaldoc.gui.frontend.client.services.SignService
- Throws:
com.logicaldoc.gui.common.client.ServerException
-
-