Class MyLuteceUserRoleDAO
- java.lang.Object
-
- fr.paris.lutece.plugins.mylutece.modules.users.business.MyLuteceUserRoleDAO
-
- All Implemented Interfaces:
IMyLuteceUserRoleDAO
public final class MyLuteceUserRoleDAO extends java.lang.Object implements IMyLuteceUserRoleDAO
This class provides Data Access methods for MyLuteceUserRole objects
-
-
Constructor Summary
Constructors Constructor Description MyLuteceUserRoleDAO()
-
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(MyLuteceUserRole myLuteceUserRole, fr.paris.lutece.portal.service.plugin.Plugin plugin)Insert a new record in the table.MyLuteceUserRoleload(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)Load the data from the tablejava.util.List<java.lang.Integer>selectIdMyLuteceUserRolesList(fr.paris.lutece.portal.service.plugin.Plugin plugin)Load the id of all the myLuteceUserRole objects and returns them as a listjava.util.List<MyLuteceUserRole>selectMyLuteceUserRolesList(fr.paris.lutece.portal.service.plugin.Plugin plugin)Load the data of all the myLuteceUserRole objects and returns them as a listjava.util.List<MyLuteceUserRole>selectMyLuteceUserRolesListByUserId(int nIdSearchUser, fr.paris.lutece.portal.service.plugin.Plugin plugin)Load the id of all the myLuteceUserRole objects and returns them as a listfr.paris.lutece.util.ReferenceListselectMyLuteceUserRolesReferenceList(fr.paris.lutece.portal.service.plugin.Plugin plugin)Load the data of all the myLuteceUserRole objects and returns them as a referenceListvoidstore(MyLuteceUserRole myLuteceUserRole, fr.paris.lutece.portal.service.plugin.Plugin plugin)Update the record in the table
-
-
-
Method Detail
-
insert
public void insert(MyLuteceUserRole myLuteceUserRole, fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert a new record in the table.- Specified by:
insertin interfaceIMyLuteceUserRoleDAO- Parameters:
myLuteceUserRole- instance of the MyLuteceUserRole object to insertplugin- the Plugin
-
load
public MyLuteceUserRole load(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data from the table- Specified by:
loadin interfaceIMyLuteceUserRoleDAO- Parameters:
nKey- The identifier of the myLuteceUserRoleplugin- the Plugin- Returns:
- The instance of the myLuteceUserRole
-
delete
public void delete(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)Delete a record from the table- Specified by:
deletein interfaceIMyLuteceUserRoleDAO- Parameters:
nKey- The identifier of the MyLuteceUserRole to deleteplugin- the Plugin
-
store
public void store(MyLuteceUserRole myLuteceUserRole, fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update the record in the table- Specified by:
storein interfaceIMyLuteceUserRoleDAO- Parameters:
myLuteceUserRole- the reference of the MyLuteceUserRoleplugin- the Plugin
-
selectMyLuteceUserRolesList
public java.util.List<MyLuteceUserRole> selectMyLuteceUserRolesList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of all the myLuteceUserRole objects and returns them as a list- Specified by:
selectMyLuteceUserRolesListin interfaceIMyLuteceUserRoleDAO- Parameters:
plugin- the Plugin- Returns:
- The list which contains the data of all the myLuteceUserRole objects
-
selectIdMyLuteceUserRolesList
public java.util.List<java.lang.Integer> selectIdMyLuteceUserRolesList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the id of all the myLuteceUserRole objects and returns them as a list- Specified by:
selectIdMyLuteceUserRolesListin interfaceIMyLuteceUserRoleDAO- Parameters:
plugin- the Plugin- Returns:
- The list which contains the id of all the myLuteceUserRole objects
-
selectMyLuteceUserRolesReferenceList
public fr.paris.lutece.util.ReferenceList selectMyLuteceUserRolesReferenceList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of all the myLuteceUserRole objects and returns them as a referenceList- Specified by:
selectMyLuteceUserRolesReferenceListin interfaceIMyLuteceUserRoleDAO- Parameters:
plugin- the Plugin- Returns:
- The referenceList which contains the data of all the myLuteceUserRole objects
-
selectMyLuteceUserRolesListByUserId
public java.util.List<MyLuteceUserRole> selectMyLuteceUserRolesListByUserId(int nIdSearchUser, fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the id of all the myLuteceUserRole objects and returns them as a list- Specified by:
selectMyLuteceUserRolesListByUserIdin interfaceIMyLuteceUserRoleDAO- Parameters:
nIdSearchUser- the SearchUserIdplugin- the Plugin- Returns:
- The list which contains the id of all the myLuteceUserRole objects
-
-