Interface FormService
- All Superinterfaces:
- com.google.gwt.user.client.rpc.RemoteService
@RemoteServiceRelativePath("form")
public interface FormService
extends com.google.gwt.user.client.rpc.RemoteService
The client side stub for the Form Service. This service gives all needed
 methods to handle the forms.
- 
Nested Class SummaryNested Classes
- 
Method SummaryModifier and TypeMethodDescriptionvoiddelete(long id) Deletes a formgetById(long id) Retrieves a specific form by its IDgetPreFilledLink(GUIForm form, String responderEmail) Generates the pre-filled link for the web formvoidInvites by email a set of recipients to fill out the given formProcesses an uploaded image for being used as form headerSaves / Creates a form
- 
Method Details- 
getByIdRetrieves a specific form by its ID- Parameters:
- id- identifier of the forms
- Returns:
- the form retrieved by the server application
- Throws:
- ServerException- an error happened in the server application
 
- 
saveSaves / Creates a form- Parameters:
- form- the form to store
- Returns:
- the stored form
- Throws:
- ServerException- an error happened in the server application
 
- 
processImageProcesses an uploaded image for being used as form header- Returns:
- the Bass64 representation of the uploaded image
- Throws:
- ServerException- an error happened in the server application
 
- 
deleteDeletes a form- Parameters:
- id- identifier of the form to delete
- Throws:
- ServerException- an error happened in the server application
 
- 
inviteInvites by email a set of recipients to fill out the given form- Parameters:
- form- the form to notify
- email- the email to send
- locale- the current locale
- Throws:
- ServerException- an error happened in the server application
 
- 
getPreFilledLinkGenerates the pre-filled link for the web form- Parameters:
- form- the form with the filled fields
- responderEmail- the email of the responder
- Returns:
- the pre-filled link
- Throws:
- ServerException- an error happened in the server application
 
 
-