Class 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:
    Serialized Form
    • 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
      FormServiceImpl()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      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)  
      void invite​(long formId, com.logicaldoc.gui.common.client.beans.GUIEmail email, String locale)  
      String processImage()  
      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
    • Constructor Detail

      • FormServiceImpl

        public FormServiceImpl()
    • Method Detail

      • 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
      • invite

        public void invite​(long formId,
                           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