@AjaxService(value="heliumForm")
@ConverterExtensions(value={FormInputConverterExt.class,FormContextConverterExt.class})
public class FormService
extends java.lang.Object
| Constructor and Description |
|---|
FormService() |
| Modifier and Type | Method and Description |
|---|---|
void |
finalizeFCSUpload(java.lang.String objectId,
java.lang.String receipt,
java.lang.String fileName,
boolean useCDM)
Finalize an FCS file upload
|
com.technia.tvc.core.db.fcs.FCSUrl |
getFCSUploadUrl(java.lang.String objectId,
java.lang.String fileName,
java.lang.String format)
Get FCS file upload URL
|
com.technia.helium.form.ajax.FormService.ReturnValue<Form> |
getForm(java.lang.String formDefinition,
java.lang.String objectId)
Ajax method that get the Form with data.
|
com.technia.helium.form.ajax.FormService.ReturnValue<Form> |
getMassUpdateForm(java.lang.String formDefinition,
java.lang.String bindKey,
java.lang.String columnName)
The Ajax method that get the mass update form with data.
|
com.technia.helium.form.ajax.FormService.ReturnValue<Form> |
loadForm(java.lang.String formDefinition,
FormContext inContextOf)
Ajax method that loads the Form with data.
|
com.technia.helium.form.ajax.FormService.ReturnValue<UpdateResult> |
performCreate(java.lang.String formDefinition,
FormContext inContextOf,
FormInput input)
Ajax method that is used when a form is used for creating something.
|
com.technia.helium.form.ajax.FormService.ReturnValue<UpdateResult> |
performEdit(java.lang.String formDefinition,
FormContext inContextOf,
FormInput input)
Ajax method that is used when a form is used for Editing an already existing
item.
|
@AjaxMethod(useContext=true,
txType=READ)
@JsonSerializerClass(value=DefaultJsonSerializer.class)
public com.technia.helium.form.ajax.FormService.ReturnValue<Form> loadForm(java.lang.String formDefinition,
FormContext inContextOf)
formDefinition - The name of the form definitioninContextOf - The context in which the form is being used@AjaxMethod(useContext=true,
txType=READ)
@JsonSerializerClass(value=DefaultJsonSerializer.class)
public com.technia.helium.form.ajax.FormService.ReturnValue<Form> getForm(java.lang.String formDefinition,
java.lang.String objectId)
formDefinition - The name of the form definitionobjectId - (optional), the object used as source for data@AjaxMethod(useContext=true,
txType=READ)
@JsonSerializerClass(value=DefaultJsonSerializer.class)
public com.technia.helium.form.ajax.FormService.ReturnValue<Form> getMassUpdateForm(java.lang.String formDefinition,
java.lang.String bindKey,
java.lang.String columnName)
formDefinition - The name of the form definitionbindKey - The datatable bindkeycolumnName - The column name@AjaxMethod(useContext=true,
txType=UPDATE)
@JsonSerializerClass(value=DefaultJsonSerializer.class)
public com.technia.helium.form.ajax.FormService.ReturnValue<UpdateResult> performEdit(java.lang.String formDefinition,
FormContext inContextOf,
FormInput input)
formDefinition - The name of the form definitioninContextOf - The context in which the form is being usedinput - @AjaxMethod(useContext=true,
txType=UPDATE)
@JsonSerializerClass(value=DefaultJsonSerializer.class)
public com.technia.helium.form.ajax.FormService.ReturnValue<UpdateResult> performCreate(java.lang.String formDefinition,
FormContext inContextOf,
FormInput input)
formDefinition - The name of the form definitioninContextOf - The context in which the form is being usedinput - com.technia.tvc.core.TVCException@AjaxMethod(async=true,
useContext=true)
public com.technia.tvc.core.db.fcs.FCSUrl getFCSUploadUrl(java.lang.String objectId,
java.lang.String fileName,
java.lang.String format)
throws com.technia.tvc.core.TVCException
objectId - Object to upload onfileName - File nameformat - Format to check in tocom.technia.tvc.core.TVCException@AjaxMethod(async=true,
useContext=true,
txType=UPDATE)
public void finalizeFCSUpload(java.lang.String objectId,
java.lang.String receipt,
java.lang.String fileName,
boolean useCDM)
throws com.technia.tvc.core.TVCException
objectId - Object to upload onreceipt - Receipt needed to finalizecom.technia.tvc.core.TVCException