Package com.logicaldoc.form.gui
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.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.google.gwt.user.server.rpc.RemoteServiceServlet 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
-
-
Constructor Summary
Constructors Constructor Description FormServiceImpl()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
delete(long id)
static 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
-
-
-
-
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 interfacecom.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 interfacecom.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 interfacecom.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 interfacecom.logicaldoc.gui.frontend.client.services.FormService
- Throws:
com.logicaldoc.gui.common.client.ServerException
-
fromForm
public static 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 interfacecom.logicaldoc.gui.frontend.client.services.FormService
- Throws:
com.logicaldoc.gui.common.client.ServerException
-
-