Class 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
    • Nested Class Summary

      • Nested classes/interfaces inherited from interface com.logicaldoc.gui.frontend.client.services.SignService

        com.logicaldoc.gui.frontend.client.services.SignService.Instance
    • Constructor Summary

      Constructors 
      Constructor Description
      SignServiceImpl()  
    • Field Detail

    • Constructor Detail

      • SignServiceImpl

        public SignServiceImpl()
    • 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 interface com.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 interface com.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 interface com.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 interface com.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 interface com.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 interface com.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 interface com.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 interface com.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 interface com.logicaldoc.gui.frontend.client.services.SignService
        Throws:
        com.logicaldoc.gui.common.client.ServerException