Interface IFormDisplayDAO
- All Known Implementing Classes:
FormDisplayDAO
public interface IFormDisplayDAO
IFormDisplayDAO Interface
-
Method Summary
Modifier and TypeMethodDescriptionvoiddelete(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin) Delete a record from the tablevoidinsert(FormDisplay formDisplay, fr.paris.lutece.portal.service.plugin.Plugin plugin) Insert a new record in the table.load(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin) Load the data from the tableselectFormdisplayByFormStepAndComposite(int nIdForm, int nIdStep, int nIdComposite, fr.paris.lutece.portal.service.plugin.Plugin plugin) Select the FormDisplay associated to the given parameterselectFormDisplayList(fr.paris.lutece.portal.service.plugin.Plugin plugin) Load the data of all the FormDisplay objects and returns them as a listselectFormDisplayListByForm(int nIdForm, fr.paris.lutece.portal.service.plugin.Plugin plugin) Load the data of all the FormDisplay for a form and returns them as a listselectFormDisplayListByParent(int nIdStep, int nIdParent, fr.paris.lutece.portal.service.plugin.Plugin plugin) Load the data of all the FormDisplay objects by parent for a form step and returns them as a listselectFormDisplayListByParentOrderByQuestionExportDisplayOrder(int nIdStep, int nIdParent, fr.paris.lutece.portal.service.plugin.Plugin plugin) fr.paris.lutece.util.ReferenceListselectGroupDisplayReferenceListByStep(int nIdStep, fr.paris.lutece.portal.service.plugin.Plugin plugin) Load the data of all the FormDisplay objects of type "Group" linked to a given FormStep and returns them as a referenceListvoidstore(FormDisplay formDisplay, fr.paris.lutece.portal.service.plugin.Plugin plugin) Update the record in the table
-
Method Details
-
insert
Insert a new record in the table.- Parameters:
formDisplay- instance of the FormDisplay object to insertplugin- the Plugin
-
store
Update the record in the table- Parameters:
formDisplay- the reference of the FormDisplayplugin- the Plugin
-
delete
void delete(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin) Delete a record from the table- Parameters:
nKey- The identifier of the FormDisplay to deleteplugin- the Plugin
-
load
Load the data from the table- Parameters:
nKey- The identifier of the FormDisplayplugin- the Plugin- Returns:
- The instance of the FormDisplay
-
selectFormDisplayList
Load the data of all the FormDisplay objects and returns them as a list- Parameters:
plugin- the Plugin- Returns:
- The list which contains the data of all the FormDisplay objects
-
selectFormDisplayListByParent
List<FormDisplay> selectFormDisplayListByParent(int nIdStep, int nIdParent, fr.paris.lutece.portal.service.plugin.Plugin plugin) Load the data of all the FormDisplay objects by parent for a form step and returns them as a list- Parameters:
nIdStep- the step idnIdParent- the parent idplugin- the plugin to use- Returns:
- The list which contains the data of all the FormDisplay objects
-
selectGroupDisplayReferenceListByStep
fr.paris.lutece.util.ReferenceList selectGroupDisplayReferenceListByStep(int nIdStep, fr.paris.lutece.portal.service.plugin.Plugin plugin) Load the data of all the FormDisplay objects of type "Group" linked to a given FormStep and returns them as a referenceList- Parameters:
nIdStep- the step identifierplugin- the plugin to use- Returns:
- the referenceList which contains the data of all the Display objects of group type
-
selectFormdisplayByFormStepAndComposite
FormDisplay selectFormdisplayByFormStepAndComposite(int nIdForm, int nIdStep, int nIdComposite, fr.paris.lutece.portal.service.plugin.Plugin plugin) Select the FormDisplay associated to the given parameter- Parameters:
nIdForm- The identifier of the Form to matchnIdStep- The identifier of the Step to matchnIdComposite- The identifier of the Composite to matchplugin- The plugin to use to execute the query- Returns:
- the FormDisplay associated to the given parameter
-
selectFormDisplayListByForm
List<FormDisplay> selectFormDisplayListByForm(int nIdForm, fr.paris.lutece.portal.service.plugin.Plugin plugin) Load the data of all the FormDisplay for a form and returns them as a list- Parameters:
nIdForm- the form idplugin- the plugin to use- Returns:
- The list which contains the data of all the FormDisplay objects
-
selectFormDisplayListByParentOrderByQuestionExportDisplayOrder
List<FormDisplay> selectFormDisplayListByParentOrderByQuestionExportDisplayOrder(int nIdStep, int nIdParent, fr.paris.lutece.portal.service.plugin.Plugin plugin) - Parameters:
nIdStep-nIdParent- TODOplugin-- Returns:
- The list which contains the data of all the FormDisplay objects ordered by export_display_order column from forms_question
-