public final class TemplateDisplayHome extends Object
Modifier and Type | Method and Description |
---|---|
static void |
create(fr.paris.lutece.plugins.forms.business.FormDisplay formDisplay)
Create an instance of the formDisplay class
|
static fr.paris.lutece.plugins.forms.business.FormDisplay |
findByPrimaryKey(int nKey)
Returns an instance of a formDisplay whose identifier is specified in parameter
|
static fr.paris.lutece.plugins.forms.business.FormDisplay |
getFormDisplayByStepAndComposite(int nIdStep,
int nIdComposite)
Return the FormDisplay associated to the given parameters
|
static List<fr.paris.lutece.plugins.forms.business.FormDisplay> |
getFormDisplayByTemplate(int nIdTemplate)
Return the FormDisplay associated to the given parameters
|
static List<fr.paris.lutece.plugins.forms.business.FormDisplay> |
getFormDisplayListByParent(int nIdTemplate,
int nIdParent)
Load the data of all the formDisplay that are direct children of a given parent and returns them as a list
|
static fr.paris.lutece.util.ReferenceList |
getGroupDisplayReferenceListByStep(int nIdTemplate)
Load the data of all the FormDisplay objects of type "Group" linked to a given FormStep and returns them as a referenceList
|
static void |
initConditionalDisplayForFormDisplay(fr.paris.lutece.plugins.forms.business.FormDisplay formDisplay)
Inits the Conditional display for a given form display
|
static void |
remove(int nKey)
Remove the formDisplay whose identifier is specified in parameter
|
static void |
update(fr.paris.lutece.plugins.forms.business.FormDisplay formDisplay)
Update of the formDisplay which is specified in parameter
|
public static void create(fr.paris.lutece.plugins.forms.business.FormDisplay formDisplay)
formDisplay
- The instance of the FormDisplay which contains the informations to storepublic static void update(fr.paris.lutece.plugins.forms.business.FormDisplay formDisplay)
formDisplay
- The instance of the FormDisplay which contains the data to storepublic static void remove(int nKey)
nKey
- The formDisplay Idpublic static fr.paris.lutece.plugins.forms.business.FormDisplay findByPrimaryKey(int nKey)
nKey
- The formDisplay primary keypublic static List<fr.paris.lutece.plugins.forms.business.FormDisplay> getFormDisplayListByParent(int nIdTemplate, int nIdParent)
nIdTemplate
- The step primary keynIdParent
- The parent primary keypublic static fr.paris.lutece.util.ReferenceList getGroupDisplayReferenceListByStep(int nIdTemplate)
nIdTemplate
- the step identifierpublic static void initConditionalDisplayForFormDisplay(fr.paris.lutece.plugins.forms.business.FormDisplay formDisplay)
formDisplay
- the form display to initpublic static fr.paris.lutece.plugins.forms.business.FormDisplay getFormDisplayByStepAndComposite(int nIdStep, int nIdComposite)
nIdStep
- The identifier of the Step to matchnIdComposite
- The identifier of the Composite to matchpublic static List<fr.paris.lutece.plugins.forms.business.FormDisplay> getFormDisplayByTemplate(int nIdTemplate)
nIdTemplate
- The identifier of the template to matchCopyright © 2022 City of Paris. All rights reserved.