Class GroupDAO
java.lang.Object
fr.paris.lutece.plugins.mylutece.modules.database.authentication.business.GroupDAO
- All Implemented Interfaces:
IGroupDAO
@ApplicationScoped
@Named("mylutece-database.databaseGroupDAO")
public final class GroupDAO
extends Object
implements IGroupDAO
This class provides Data Access methods for Group objects
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidDelete a record from the tablevoidInsert a new record in the table.load the data of Group from the tableselectAll(fr.paris.lutece.portal.service.plugin.Plugin plugin) Load the list of groupsselectByFilter(GroupFilter gFilter, fr.paris.lutece.portal.service.plugin.Plugin plugin) Return the filtered groups listfr.paris.lutece.util.ReferenceListselectGroupsList(fr.paris.lutece.portal.service.plugin.Plugin plugin) Returns a list of all the right groupvoidUpdate the record in the table
-
Constructor Details
-
GroupDAO
public GroupDAO()
-
-
Method Details
-
insert
Insert a new record in the table. -
load
load the data of Group from the table -
delete
Delete a record from the table -
store
Update the record in the table -
selectGroupsList
public fr.paris.lutece.util.ReferenceList selectGroupsList(fr.paris.lutece.portal.service.plugin.Plugin plugin) Returns a list of all the right group- Specified by:
selectGroupsListin interfaceIGroupDAO- Parameters:
plugin- Plugin- Returns:
- A ReferenceList of group objects
-
selectAll
Load the list of groups -
selectByFilter
public List<Group> selectByFilter(GroupFilter gFilter, fr.paris.lutece.portal.service.plugin.Plugin plugin) Return the filtered groups list- Specified by:
selectByFilterin interfaceIGroupDAO- Parameters:
gFilter- filterplugin- Plugin- Returns:
- List of Group
-