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.form.gui.webform.server.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 theWebformService- Since:
- 8.6.1
- Author:
- Marco Meschieri - LogicalDOC
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.logicaldoc.form.gui.webform.client.WebformService
WebformService.Instance
-
-
Constructor Summary
Constructors Constructor Description WebformServiceImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.logicaldoc.gui.common.client.beans.GUIFormgetForm(String formId, String locale)Retrieved the form specificationcom.logicaldoc.gui.common.client.beans.GUIFormgetFormByDocId(long docId, String locale)Retrieved the form specificationcom.logicaldoc.gui.common.client.beans.GUIInfogetInfo(String formId, String locale)Retrieves the general informationscom.logicaldoc.gui.common.client.beans.GUIInfogetInfoByDocId(long docId, String locale)Retrieves the general informationscom.logicaldoc.gui.common.client.beans.GUIDocumentsubmit(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
-
-
-
-
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:WebformServiceRetrieves the general informations- Specified by:
getInfoin 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.ServerExceptionDescription copied from interface:WebformServiceRetrieves the general informations- Specified by:
getInfoByDocIdin 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:WebformServiceRetrieved the form specification- Specified by:
getFormin 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.ServerExceptionDescription copied from interface:WebformServiceRetrieved the form specification- Specified by:
getFormByDocIdin 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.ServerExceptionDescription copied from interface:WebformServiceRetrieves the filled form and generates the corresponding document in the DMS- Specified by:
submitin interfaceWebformService- Parameters:
guiForm- The form filled by the user- Returns:
- the generated document
- Throws:
com.logicaldoc.gui.common.client.ServerException- Error in the server
-
-