Class GroupDAO
java.lang.Object
fr.paris.lutece.plugins.forms.business.GroupDAO
- All Implemented Interfaces:
IGroupDAO
This class provides Data Access methods for Group 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 a new record in the table.load(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin) Load the data from the tableselectGroupsList(fr.paris.lutece.portal.service.plugin.Plugin plugin) Load the data of all the group objects and returns them as a listselectGroupsListByListIdStep(List<Integer> idSteplist, fr.paris.lutece.portal.service.plugin.Plugin plugin) Load the data of all the group objects and returns them as a listfr.paris.lutece.util.ReferenceListselectGroupsReferenceList(fr.paris.lutece.portal.service.plugin.Plugin plugin) Load the data of all the group objects and returns them as a referenceListselectIdGroupsList(fr.paris.lutece.portal.service.plugin.Plugin plugin) Load the id of all the group objects and returns them as a listvoidUpdate the record in the table
-
Constructor Details
-
GroupDAO
public GroupDAO()
-
-
Method Details
-
insert
Insert a new record in the table. -
load
Load the data from the table -
delete
public void delete(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin) Delete a record from the table -
store
Update the record in the table -
selectGroupsList
Load the data of all the group objects and returns them as a list- Specified by:
selectGroupsListin interfaceIGroupDAO- Parameters:
plugin- the Plugin- Returns:
- The list which contains the data of all the group objects
-
selectIdGroupsList
Load the id of all the group objects and returns them as a list- Specified by:
selectIdGroupsListin interfaceIGroupDAO- Parameters:
plugin- the Plugin- Returns:
- The list which contains the id of all the group objects
-
selectGroupsReferenceList
public fr.paris.lutece.util.ReferenceList selectGroupsReferenceList(fr.paris.lutece.portal.service.plugin.Plugin plugin) Load the data of all the group objects and returns them as a referenceList- Specified by:
selectGroupsReferenceListin interfaceIGroupDAO- Parameters:
plugin- the Plugin- Returns:
- The referenceList which contains the data of all the group objects
-
selectGroupsListByListIdStep
public List<Group> selectGroupsListByListIdStep(List<Integer> idSteplist, fr.paris.lutece.portal.service.plugin.Plugin plugin) Description copied from interface:IGroupDAOLoad the data of all the group objects and returns them as a list- Specified by:
selectGroupsListByListIdStepin interfaceIGroupDAOplugin- the Plugin- Returns:
- The list which contains the data of all the group objects
-