Class AccessControllerDAO
- java.lang.Object
-
- fr.paris.lutece.plugins.accesscontrol.business.AccessControllerDAO
-
- All Implemented Interfaces:
IAccessControllerDAO
public final class AccessControllerDAO extends java.lang.Object implements IAccessControllerDAO
This class provides Data Access methods for AccessController objects
-
-
Constructor Summary
Constructors Constructor Description AccessControllerDAO()
-
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(AccessController accessController, fr.paris.lutece.portal.service.plugin.Plugin plugin)Insert a new record in the table.AccessControllerload(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)Load the data from the tablejava.util.List<AccessController>selectAccessControllersList(fr.paris.lutece.portal.service.plugin.Plugin plugin)Load the data of all the accessController objects and returns them as a listjava.util.List<AccessController>selectAccessControllersListByAccessControl(int idAccessControl, fr.paris.lutece.portal.service.plugin.Plugin plugin)Load the data of all the accessController objects of an accesscontrol and returns them as a listfr.paris.lutece.util.ReferenceListselectAccessControllersReferenceList(fr.paris.lutece.portal.service.plugin.Plugin plugin)Load the data of all the accessController objects and returns them as a referenceListjava.util.List<java.lang.Integer>selectIdAccessControllersList(fr.paris.lutece.portal.service.plugin.Plugin plugin)Load the id of all the accessController objects and returns them as a listvoidstore(AccessController accessController, fr.paris.lutece.portal.service.plugin.Plugin plugin)Update the record in the table
-
-
-
Method Detail
-
insert
public void insert(AccessController accessController, fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert a new record in the table.- Specified by:
insertin interfaceIAccessControllerDAO- Parameters:
accessController- instance of the AccessController object to insertplugin- the Plugin
-
load
public AccessController load(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data from the table- Specified by:
loadin interfaceIAccessControllerDAO- Parameters:
nKey- The identifier of the accessControllerplugin- the Plugin- Returns:
- The instance of the accessController
-
delete
public void delete(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)Delete a record from the table- Specified by:
deletein interfaceIAccessControllerDAO- Parameters:
nKey- The identifier of the AccessController to deleteplugin- the Plugin
-
store
public void store(AccessController accessController, fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update the record in the table- Specified by:
storein interfaceIAccessControllerDAO- Parameters:
accessController- the reference of the AccessControllerplugin- the Plugin
-
selectAccessControllersList
public java.util.List<AccessController> selectAccessControllersList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of all the accessController objects and returns them as a list- Specified by:
selectAccessControllersListin interfaceIAccessControllerDAO- Parameters:
plugin- the Plugin- Returns:
- The list which contains the data of all the accessController objects
-
selectIdAccessControllersList
public java.util.List<java.lang.Integer> selectIdAccessControllersList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the id of all the accessController objects and returns them as a list- Specified by:
selectIdAccessControllersListin interfaceIAccessControllerDAO- Parameters:
plugin- the Plugin- Returns:
- The list which contains the id of all the accessController objects
-
selectAccessControllersReferenceList
public fr.paris.lutece.util.ReferenceList selectAccessControllersReferenceList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of all the accessController objects and returns them as a referenceList- Specified by:
selectAccessControllersReferenceListin interfaceIAccessControllerDAO- Parameters:
plugin- the Plugin- Returns:
- The referenceList which contains the data of all the accessController objects
-
selectAccessControllersListByAccessControl
public java.util.List<AccessController> selectAccessControllersListByAccessControl(int idAccessControl, fr.paris.lutece.portal.service.plugin.Plugin plugin)
Description copied from interface:IAccessControllerDAOLoad the data of all the accessController objects of an accesscontrol and returns them as a list- Specified by:
selectAccessControllersListByAccessControlin interfaceIAccessControllerDAOplugin- the Plugin- Returns:
- The list which contains the data of all the accessController objects
-
-