public class TemplateService extends Object implements ITemplateService
Constructor and Description |
---|
TemplateService() |
Modifier and Type | Method and Description |
---|---|
void |
deleteTemplate(int nIdTemplate)
Remove a given template and the all its formDisplays.
|
List<fr.paris.lutece.plugins.forms.web.ICompositeDisplay> |
getTemplateCompositeList(int nIdTemplate)
Get the full children composite list of the given template
|
fr.paris.lutece.plugins.forms.web.ICompositeDisplay |
templateDisplayToComposite(fr.paris.lutece.plugins.forms.business.FormDisplay templateDisplay,
int nIterationNumber)
Get the right composite from the given templateDisplay
|
public static final String BEAN_NAME
public List<fr.paris.lutece.plugins.forms.web.ICompositeDisplay> getTemplateCompositeList(int nIdTemplate)
ITemplateService
getTemplateCompositeList
in interface ITemplateService
nIdTemplate
- The template primary keypublic fr.paris.lutece.plugins.forms.web.ICompositeDisplay templateDisplayToComposite(fr.paris.lutece.plugins.forms.business.FormDisplay templateDisplay, int nIterationNumber)
ITemplateService
templateDisplayToComposite
in interface ITemplateService
templateDisplay
- The templateDisplaynIterationNumber
- the iteration numberpublic void deleteTemplate(int nIdTemplate)
ITemplateService
deleteTemplate
in interface ITemplateService
nIdTemplate
- The Template IdCopyright © 2022 City of Paris. All rights reserved.