Class FormServiceImpl

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.form.gui.FormServiceImpl
All Implemented Interfaces:
com.google.gwt.user.client.rpc.RemoteService, com.google.gwt.user.server.rpc.SerializationPolicyProvider, com.logicaldoc.gui.frontend.client.services.FormService, Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig

public class FormServiceImpl extends com.logicaldoc.web.service.AbstractRemoteService implements com.logicaldoc.gui.frontend.client.services.FormService
Implementation of the service for handling forms
Since:
7.3
Author:
Marco Meschieri - LogicalDOC
See Also:
  • Nested Class Summary

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

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

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    delete(long id)
     
    com.logicaldoc.gui.common.client.beans.GUIForm
    fromForm(Form form)
     
    com.logicaldoc.gui.common.client.beans.GUIForm
    getById(long id)
     
    getPreFilledLink(com.logicaldoc.gui.common.client.beans.GUIForm form, String responderEmail)
     
    void
    invite(com.logicaldoc.gui.common.client.beans.GUIForm prefilledForm, com.logicaldoc.gui.common.client.beans.GUIEmail email, String locale)
     
     
    com.logicaldoc.gui.common.client.beans.GUIForm
    save(com.logicaldoc.gui.common.client.beans.GUIForm guiForm)
     

    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

    • FormServiceImpl

      public FormServiceImpl()
  • Method Details

    • save

      public com.logicaldoc.gui.common.client.beans.GUIForm save(com.logicaldoc.gui.common.client.beans.GUIForm guiForm) throws com.logicaldoc.gui.common.client.ServerException
      Specified by:
      save in interface com.logicaldoc.gui.frontend.client.services.FormService
      Throws:
      com.logicaldoc.gui.common.client.ServerException
    • delete

      public void delete(long id) throws com.logicaldoc.gui.common.client.ServerException
      Specified by:
      delete in interface com.logicaldoc.gui.frontend.client.services.FormService
      Throws:
      com.logicaldoc.gui.common.client.ServerException
    • getById

      public com.logicaldoc.gui.common.client.beans.GUIForm getById(long id) throws com.logicaldoc.gui.common.client.ServerException
      Specified by:
      getById in interface com.logicaldoc.gui.frontend.client.services.FormService
      Throws:
      com.logicaldoc.gui.common.client.ServerException
    • getPreFilledLink

      public String getPreFilledLink(com.logicaldoc.gui.common.client.beans.GUIForm form, String responderEmail) throws com.logicaldoc.gui.common.client.ServerException
      Specified by:
      getPreFilledLink in interface com.logicaldoc.gui.frontend.client.services.FormService
      Throws:
      com.logicaldoc.gui.common.client.ServerException
    • invite

      public void invite(com.logicaldoc.gui.common.client.beans.GUIForm prefilledForm, com.logicaldoc.gui.common.client.beans.GUIEmail email, String locale) throws com.logicaldoc.gui.common.client.ServerException
      Specified by:
      invite in interface com.logicaldoc.gui.frontend.client.services.FormService
      Throws:
      com.logicaldoc.gui.common.client.ServerException
    • fromForm

      public com.logicaldoc.gui.common.client.beans.GUIForm fromForm(Form form) throws com.logicaldoc.core.PersistenceException
      Throws:
      com.logicaldoc.core.PersistenceException
    • processImage

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