Class ControlGroupDAO
java.lang.Object
fr.paris.lutece.plugins.forms.business.ControlGroupDAO
- All Implemented Interfaces:
IControlGroupDAO
This class provides Data Access methods for ControlGroup objects
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddelete(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin) Delete a record from the tablevoidinsert(ControlGroup controlGroup, 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 tableselectControlGroupsList(fr.paris.lutece.portal.service.plugin.Plugin plugin) Load the data of all the controlGroup objects and returns them as a listselectControlGroupsListByIds(fr.paris.lutece.portal.service.plugin.Plugin plugin, List<Integer> listIds) Load the data of all the avant objects and returns them as a listfr.paris.lutece.util.ReferenceListselectControlGroupsReferenceList(fr.paris.lutece.portal.service.plugin.Plugin plugin) Load the data of all the controlGroup objects and returns them as a referenceListselectIdControlGroupsList(fr.paris.lutece.portal.service.plugin.Plugin plugin) Load the id of all the controlGroup objects and returns them as a listfr.paris.lutece.util.ReferenceListLoad all logical operators from enumvoidstore(ControlGroup controlGroup, fr.paris.lutece.portal.service.plugin.Plugin plugin) Update the record in the table
-
Constructor Details
-
ControlGroupDAO
public ControlGroupDAO()
-
-
Method Details
-
insert
Insert a new record in the table.- Specified by:
insertin interfaceIControlGroupDAO- Parameters:
controlGroup- instance of the ControlGroup object to insertplugin- the Plugin
-
load
Load the data from the table- Specified by:
loadin interfaceIControlGroupDAO- Parameters:
nKey- The identifier of the controlGroupplugin- the Plugin- Returns:
- The instance of the controlGroup
-
delete
public void delete(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin) Delete a record from the table- Specified by:
deletein interfaceIControlGroupDAO- Parameters:
nKey- The identifier of the ControlGroup to deleteplugin- the Plugin
-
store
Update the record in the table- Specified by:
storein interfaceIControlGroupDAO- Parameters:
controlGroup- the reference of the ControlGroupplugin- the Plugin
-
selectControlGroupsList
public List<ControlGroup> selectControlGroupsList(fr.paris.lutece.portal.service.plugin.Plugin plugin) Load the data of all the controlGroup objects and returns them as a list- Specified by:
selectControlGroupsListin interfaceIControlGroupDAO- Parameters:
plugin- the Plugin- Returns:
- The list which contains the data of all the controlGroup objects
-
selectIdControlGroupsList
Load the id of all the controlGroup objects and returns them as a list- Specified by:
selectIdControlGroupsListin interfaceIControlGroupDAO- Parameters:
plugin- the Plugin- Returns:
- The list which contains the id of all the controlGroup objects
-
selectControlGroupsReferenceList
public fr.paris.lutece.util.ReferenceList selectControlGroupsReferenceList(fr.paris.lutece.portal.service.plugin.Plugin plugin) Load the data of all the controlGroup objects and returns them as a referenceList- Specified by:
selectControlGroupsReferenceListin interfaceIControlGroupDAO- Parameters:
plugin- the Plugin- Returns:
- The referenceList which contains the data of all the controlGroup objects
-
selectLogicalOperatorsReferenceList
Description copied from interface:IControlGroupDAOLoad all logical operators from enum- Specified by:
selectLogicalOperatorsReferenceListin interfaceIControlGroupDAO- Parameters:
locale- TODO- Returns:
- The referenceList which contains the logical operators
-
selectControlGroupsListByIds
public List<ControlGroup> selectControlGroupsListByIds(fr.paris.lutece.portal.service.plugin.Plugin plugin, List<Integer> listIds) Load the data of all the avant objects and returns them as a list- Specified by:
selectControlGroupsListByIdsin interfaceIControlGroupDAOlistIds- liste of ids- Returns:
- The list which contains the data of all the avant objects
-