Package com.logicaldoc.webform
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
-
Method Summary
Modifier and TypeMethodDescriptioncom.logicaldoc.gui.common.client.beans.GUIForm
Retrieved the form specificationcom.logicaldoc.gui.common.client.beans.GUIForm
getFormByDocId
(long docId, String locale) Retrieved the form specificationcom.logicaldoc.gui.common.client.beans.GUIInfo
Retrieves the general informationscom.logicaldoc.gui.common.client.beans.GUIInfo
getInfoByDocId
(long docId, String locale) Retrieves the general informationscom.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 DMSMethods 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 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 interfaceWebformService
- Parameters:
formId
- alternate identifier of the formlocale
- 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 interfaceWebformService
- Parameters:
docId
- identifier of the formlocale
- 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 interfaceWebformService
- Parameters:
formId
- alternate identifier of the formlocale
- 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 interfaceWebformService
- Parameters:
docId
- identifier of the formlocale
- 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 interfaceWebformService
- Parameters:
guiForm
- The form filled by the user- Returns:
- the generated document
- Throws:
com.logicaldoc.gui.common.client.ServerException
- Error in the server
-