Class MyLuteceUserRoleDAO
java.lang.Object
fr.paris.lutece.plugins.mylutece.modules.users.business.MyLuteceUserRoleDAO
- All Implemented Interfaces:
IMyLuteceUserRoleDAO
This class provides Data Access methods for MyLuteceUserRole 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(MyLuteceUserRole myLuteceUserRole, 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 tableselectIdMyLuteceUserRolesList(fr.paris.lutece.portal.service.plugin.Plugin plugin) Load the id of all the myLuteceUserRole objects and returns them as a listselectMyLuteceUserRolesList(fr.paris.lutece.portal.service.plugin.Plugin plugin) Load the data of all the myLuteceUserRole objects and returns them as a listselectMyLuteceUserRolesListByUserId(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
-
Constructor Details
-
MyLuteceUserRoleDAO
public MyLuteceUserRoleDAO()
-
-
Method Details
-
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
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 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 List<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 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
-