Class WebformServiceImpl

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.webform.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.logicaldoc.web.service.AbstractRemoteService implements WebformService
Concrete implementation of the WebformService
Since:
8.6.1
Author:
Marco Meschieri - LogicalDOC
See Also:
  • Nested Class Summary

    Nested classes/interfaces inherited from interface com.logicaldoc.webform.client.WebformService

    WebformService.Instance
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    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.logicaldoc.web.service.AbstractRemoteService

    setThreadRequest

    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
  • Constructor Details

    • WebformServiceImpl

      public WebformServiceImpl()
  • Method Details

    • 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