Class AccessControlDAO
java.lang.Object
fr.paris.lutece.plugins.accesscontrol.business.AccessControlDAO
- All Implemented Interfaces:
IAccessControlDAO
This class provides Data Access methods for AccessControl 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(AccessControl accessControl, 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 tableselect AccessControl by FilterselectAccessControlsList(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 referenceListselectIdAccessControlsList(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
-
Constructor Details
-
AccessControlDAO
public AccessControlDAO()
-
-
Method Details
-
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
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
Update the record in the table- Specified by:
storein interfaceIAccessControlDAO- Parameters:
accessControl- the reference of the AccessControlplugin- the Plugin
-
selectAccessControlsList
public 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 List<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
Description copied from interface:IAccessControlDAOselect AccessControl by Filter- Specified by:
selectAccessControlByFilterin interfaceIAccessControlDAO- Parameters:
filter- the filter- Returns:
- a list of AccessControl
-