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

    Fields
    Modifier and Type
    Field
    Description
    static final int
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
    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

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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 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 guiKeystore) 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(List<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
    • importCertificate

      public void importCertificate(String certificate, String privateKey) throws com.logicaldoc.gui.common.client.ServerException
      Specified by:
      importCertificate in interface com.logicaldoc.gui.frontend.client.services.SignService
      Throws:
      com.logicaldoc.gui.common.client.ServerException
    • getUploadedContent

      public String getUploadedContent() throws com.logicaldoc.gui.common.client.ServerException
      Specified by:
      getUploadedContent in interface com.logicaldoc.gui.frontend.client.services.SignService
      Throws:
      com.logicaldoc.gui.common.client.ServerException