public class HeliumFormTemplateServiceHelper
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
static boolean |
deleteTemplate(java.lang.String id)
Delete the template identified by template id
|
static java.util.List<java.lang.String> |
getTemplateNames()
Returns the saved template names
|
static java.lang.String |
loadTemplate(java.lang.String templateId)
Reads the templates from the data object
|
static boolean |
saveTemplate(FormTemplateData templateData)
Save the template to database
|
public static java.util.List<java.lang.String> getTemplateNames()
throws com.technia.tvc.core.TVCException
com.technia.tvc.core.TVCExceptionpublic static java.lang.String loadTemplate(java.lang.String templateId)
throws com.technia.tvc.core.TVCException
template - idcom.technia.tvc.core.TVCExceptionpublic static boolean saveTemplate(FormTemplateData templateData) throws com.technia.tvc.core.TVCException
template - definitioncom.technia.tvc.core.TVCExceptionpublic static boolean deleteTemplate(java.lang.String id)
throws com.technia.tvc.core.TVCException
id - of template that needs to be deletedcom.technia.tvc.core.TVCException