Class AccessControlDAO
- java.lang.Object
-
- fr.paris.lutece.plugins.accesscontrol.business.AccessControlDAO
-
- All Implemented Interfaces:
IAccessControlDAO
public final class AccessControlDAO extends java.lang.Object implements IAccessControlDAO
This class provides Data Access methods for AccessControl objects
-
-
Constructor Summary
Constructors Constructor Description AccessControlDAO()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddelete(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)Delete a record from the tablevoidinsert(AccessControl accessControl, fr.paris.lutece.portal.service.plugin.Plugin plugin)Insert a new record in the table.AccessControlload(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)Load the data from the tablejava.util.List<AccessControl>selectAccessControlByFilter(AccessControlFilter filter)select AccessControl by Filterjava.util.List<AccessControl>selectAccessControlsList(fr.paris.lutece.portal.service.plugin.Plugin plugin)Load the data of all the accessControl objects and returns them as a listfr.paris.lutece.util.ReferenceListselectAccessControlsReferenceList(fr.paris.lutece.portal.service.plugin.Plugin plugin)Load the data of all the accessControl objects and returns them as a referenceListjava.util.List<java.lang.Integer>selectIdAccessControlsList(fr.paris.lutece.portal.service.plugin.Plugin plugin)Load the id of all the accessControl objects and returns them as a listvoidstore(AccessControl accessControl, fr.paris.lutece.portal.service.plugin.Plugin plugin)Update the record in the table
-
-
-
Method Detail
-
insert
public void insert(AccessControl accessControl, fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert a new record in the table.- Specified by:
insertin interfaceIAccessControlDAO- Parameters:
accessControl- instance of the AccessControl object to insertplugin- the Plugin
-
load
public AccessControl load(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data from the table- Specified by:
loadin interfaceIAccessControlDAO- Parameters:
nKey- The identifier of the accessControlplugin- the Plugin- Returns:
- The instance of the accessControl
-
delete
public void delete(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)Delete a record from the table- Specified by:
deletein interfaceIAccessControlDAO- Parameters:
nKey- The identifier of the AccessControl to deleteplugin- the Plugin
-
store
public void store(AccessControl accessControl, fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update the record in the table- Specified by:
storein interfaceIAccessControlDAO- Parameters:
accessControl- the reference of the AccessControlplugin- the Plugin
-
selectAccessControlsList
public java.util.List<AccessControl> selectAccessControlsList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of all the accessControl objects and returns them as a list- Specified by:
selectAccessControlsListin interfaceIAccessControlDAO- Parameters:
plugin- the Plugin- Returns:
- The list which contains the data of all the accessControl objects
-
selectIdAccessControlsList
public java.util.List<java.lang.Integer> selectIdAccessControlsList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the id of all the accessControl objects and returns them as a list- Specified by:
selectIdAccessControlsListin interfaceIAccessControlDAO- Parameters:
plugin- the Plugin- Returns:
- The list which contains the id of all the accessControl objects
-
selectAccessControlsReferenceList
public fr.paris.lutece.util.ReferenceList selectAccessControlsReferenceList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of all the accessControl objects and returns them as a referenceList- Specified by:
selectAccessControlsReferenceListin interfaceIAccessControlDAO- Parameters:
plugin- the Plugin- Returns:
- The referenceList which contains the data of all the accessControl objects
-
selectAccessControlByFilter
public java.util.List<AccessControl> selectAccessControlByFilter(AccessControlFilter filter)
Description copied from interface:IAccessControlDAOselect AccessControl by Filter- Specified by:
selectAccessControlByFilterin interfaceIAccessControlDAO- Parameters:
filter- the filter- Returns:
- a list of AccessControl
-
-