public class PersistHeliumFormTemplateService
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
static PersistHeliumFormTemplateService |
getInstance() |
java.util.List<java.lang.String> |
getTemplateNames()
Returns the template keys
|
java.lang.String |
loadTemplate(java.lang.String id)
Returns the template data of specified id.
|
boolean |
remove(java.lang.String id)
Removes the template from data object
|
boolean |
saveTemplate(java.lang.String id,
java.lang.String templateData)
Saves the templates to data object.
|
public static PersistHeliumFormTemplateService getInstance() throws com.technia.tvc.core.TVCException
com.technia.tvc.core.TVCExceptionpublic java.util.List<java.lang.String> getTemplateNames()
public boolean remove(java.lang.String id)
throws com.technia.tvc.core.TVCException
id - of template to remove.com.technia.tvc.core.TVCExceptionpublic boolean saveTemplate(java.lang.String id,
java.lang.String templateData)
throws com.technia.tvc.core.TVCException
com.technia.tvc.core.TVCExceptionpublic java.lang.String loadTemplate(java.lang.String id)