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.web.service.AbstractRemoteService
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.logicaldoc.web.service.AbstractRemoteService
implements com.logicaldoc.gui.frontend.client.services.SignService
Implementation of the SignService
- Since:
- 6.1
- Author:
- Matteo Caruso - LogicalDOC
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.logicaldoc.gui.frontend.client.services.SignService
com.logicaldoc.gui.frontend.client.services.SignService.Instance
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
void
deleteKeystore
(long tenantId) void
void
generateNewKeystore
(com.logicaldoc.gui.common.client.beans.GUIKeystore keystore) void
imporKeystore
(com.logicaldoc.gui.common.client.beans.GUIKeystore guiKeystore) void
importCertificate
(String certificate, String privateKey) boolean
com.logicaldoc.gui.common.client.beans.GUIKeystore
loadKeystore
(long tenantId) void
saveKeystore
(com.logicaldoc.gui.common.client.beans.GUIKeystore guiKeystore) void
signDocuments
(List<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
Methods inherited from class com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet
doPost
Methods inherited from class javax.servlet.http.HttpServlet
service
Methods inherited from class javax.servlet.GenericServlet
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log
-
Field Details
-
ADMIN_KEYSTORE_MENU_ID
public static final int ADMIN_KEYSTORE_MENU_ID- See Also:
-
-
Constructor Details
-
SignServiceImpl
public SignServiceImpl()
-
-
Method Details
-
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 guiKeystore) 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(List<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
-
importCertificate
public void importCertificate(String certificate, String privateKey) throws com.logicaldoc.gui.common.client.ServerException - Specified by:
importCertificate
in interfacecom.logicaldoc.gui.frontend.client.services.SignService
- Throws:
com.logicaldoc.gui.common.client.ServerException
-
getUploadedContent
- Specified by:
getUploadedContent
in interfacecom.logicaldoc.gui.frontend.client.services.SignService
- Throws:
com.logicaldoc.gui.common.client.ServerException
-