Class MyLuteceUserRoleDAO

  • All Implemented Interfaces:
    IMyLuteceUserRoleDAO

    public final class MyLuteceUserRoleDAO
    extends java.lang.Object
    implements IMyLuteceUserRoleDAO
    This class provides Data Access methods for MyLuteceUserRole objects
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void delete​(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Delete a record from the table
      void insert​(MyLuteceUserRole myLuteceUserRole, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Insert a new record in the table.
      MyLuteceUserRole load​(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Load the data from the table
      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
      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
      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
      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
      void store​(MyLuteceUserRole myLuteceUserRole, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Update the record in the table
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • MyLuteceUserRoleDAO

        public MyLuteceUserRoleDAO()
    • 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:
        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 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:
        selectMyLuteceUserRolesList in interface IMyLuteceUserRoleDAO
        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:
        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 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:
        selectMyLuteceUserRolesListByUserId in interface IMyLuteceUserRoleDAO
        Parameters:
        nIdSearchUser - the SearchUserId
        plugin - the Plugin
        Returns:
        The list which contains the id of all the myLuteceUserRole objects