Class AccessControllerDAO
java.lang.Object
fr.paris.lutece.plugins.accesscontrol.business.AccessControllerDAO
- All Implemented Interfaces:
IAccessControllerDAO
@ApplicationScoped
public final class AccessControllerDAO
extends Object
implements IAccessControllerDAO
This class provides Data Access methods for AccessController 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(AccessController accessController, 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 tableselectAccessControllersList(fr.paris.lutece.portal.service.plugin.Plugin plugin) Load the data of all the accessController objects and returns them as a listselectAccessControllersListByAccessControl(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 referenceListselectIdAccessControllersList(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
-
Constructor Details
-
AccessControllerDAO
public AccessControllerDAO()
-
-
Method Details
-
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
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 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 List<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 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
-