Class MyLuteceUserRoleDAO

java.lang.Object
fr.paris.lutece.plugins.mylutece.modules.users.business.MyLuteceUserRoleDAO
All Implemented Interfaces:
IMyLuteceUserRoleDAO

public final class MyLuteceUserRoleDAO extends Object implements IMyLuteceUserRoleDAO
This class provides Data Access methods for MyLuteceUserRole objects
  • 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:
      insert in interface IMyLuteceUserRoleDAO
      Parameters:
      myLuteceUserRole - instance of the MyLuteceUserRole object to insert
      plugin - the Plugin
    • load

      public MyLuteceUserRole load(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Load the data from the table
      Specified by:
      load in interface IMyLuteceUserRoleDAO
      Parameters:
      nKey - The identifier of the myLuteceUserRole
      plugin - 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:
      delete in interface IMyLuteceUserRoleDAO
      Parameters:
      nKey - The identifier of the MyLuteceUserRole to delete
      plugin - the Plugin
    • store

      public void store(MyLuteceUserRole myLuteceUserRole, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Update the record in the table
      Specified by:
      store in interface IMyLuteceUserRoleDAO
      Parameters:
      myLuteceUserRole - the reference of the MyLuteceUserRole
      plugin - 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:
      selectMyLuteceUserRolesList in interface IMyLuteceUserRoleDAO
      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:
      selectIdMyLuteceUserRolesList in interface IMyLuteceUserRoleDAO
      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:
      selectMyLuteceUserRolesReferenceList in interface IMyLuteceUserRoleDAO
      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:
      selectMyLuteceUserRolesListByUserId in interface IMyLuteceUserRoleDAO
      Parameters:
      nIdSearchUser - the SearchUserId
      plugin - the Plugin
      Returns:
      The list which contains the id of all the myLuteceUserRole objects