Class WebformServiceImpl

  • All Implemented Interfaces:
    com.google.gwt.user.client.rpc.RemoteService, com.google.gwt.user.server.rpc.SerializationPolicyProvider, WebformService, Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig

    public class WebformServiceImpl
    extends com.google.gwt.user.server.rpc.RemoteServiceServlet
    implements WebformService
    Concrete implementation of the WebformService
    Since:
    8.6.1
    Author:
    Marco Meschieri - LogicalDOC
    See Also:
    Serialized Form
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      com.logicaldoc.gui.common.client.beans.GUIForm getForm​(String formId, String locale)
      Retrieved the form specification
      com.logicaldoc.gui.common.client.beans.GUIForm getFormByDocId​(long docId, String locale)
      Retrieved the form specification
      com.logicaldoc.gui.common.client.beans.GUIInfo getInfo​(String formId, String locale)
      Retrieves the general informations
      com.logicaldoc.gui.common.client.beans.GUIInfo getInfoByDocId​(long docId, String locale)
      Retrieves the general informations
      com.logicaldoc.gui.common.client.beans.GUIDocument submit​(com.logicaldoc.gui.common.client.beans.GUIForm guiForm)
      Retrieves the filled form and generates the corresponding document in the DMS
      • 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
    • Constructor Detail

      • WebformServiceImpl

        public WebformServiceImpl()
    • Method Detail

      • getInfo

        public com.logicaldoc.gui.common.client.beans.GUIInfo getInfo​(String formId,
                                                                      String locale)
                                                               throws com.logicaldoc.gui.common.client.ServerException
        Description copied from interface: WebformService
        Retrieves the general informations
        Specified by:
        getInfo in interface WebformService
        Parameters:
        formId - alternate identifier of the form
        locale - language of the client
        Returns:
        the general informations
        Throws:
        com.logicaldoc.gui.common.client.ServerException - Error in the server
      • getInfoByDocId

        public com.logicaldoc.gui.common.client.beans.GUIInfo getInfoByDocId​(long docId,
                                                                             String locale)
                                                                      throws com.logicaldoc.gui.common.client.ServerException
        Description copied from interface: WebformService
        Retrieves the general informations
        Specified by:
        getInfoByDocId in interface WebformService
        Parameters:
        docId - identifier of the form
        locale - language of the client
        Returns:
        the general informations
        Throws:
        com.logicaldoc.gui.common.client.ServerException - Error in the server
      • getForm

        public com.logicaldoc.gui.common.client.beans.GUIForm getForm​(String formId,
                                                                      String locale)
                                                               throws com.logicaldoc.gui.common.client.ServerException
        Description copied from interface: WebformService
        Retrieved the form specification
        Specified by:
        getForm in interface WebformService
        Parameters:
        formId - alternate identifier of the form
        locale - language of the client
        Returns:
        the form instance
        Throws:
        com.logicaldoc.gui.common.client.ServerException - Error in the server
      • getFormByDocId

        public com.logicaldoc.gui.common.client.beans.GUIForm getFormByDocId​(long docId,
                                                                             String locale)
                                                                      throws com.logicaldoc.gui.common.client.ServerException
        Description copied from interface: WebformService
        Retrieved the form specification
        Specified by:
        getFormByDocId in interface WebformService
        Parameters:
        docId - identifier of the form
        locale - language of the client
        Returns:
        the form instance
        Throws:
        com.logicaldoc.gui.common.client.ServerException - Error in the server
      • submit

        public com.logicaldoc.gui.common.client.beans.GUIDocument submit​(com.logicaldoc.gui.common.client.beans.GUIForm guiForm)
                                                                  throws com.logicaldoc.gui.common.client.ServerException
        Description copied from interface: WebformService
        Retrieves the filled form and generates the corresponding document in the DMS
        Specified by:
        submit in interface WebformService
        Parameters:
        guiForm - The form filled by the user
        Returns:
        the generated document
        Throws:
        com.logicaldoc.gui.common.client.ServerException - Error in the server