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.GUIForm
getForm(String formId, String locale)
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
getInfo(String formId, String locale)
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 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: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
-
-