Interface IMyLuteceUserRoleDAO

  • All Known Implementing Classes:
    MyLuteceUserRoleDAO

    public interface IMyLuteceUserRoleDAO
    IMyLuteceUserRoleDAO Interface
    • Method Summary

      All Methods Instance Methods Abstract 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
    • Method Detail

      • insert

        void insert​(MyLuteceUserRole myLuteceUserRole,
                    fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Insert a new record in the table.
        Parameters:
        myLuteceUserRole - instance of the MyLuteceUserRole object to insert
        plugin - the Plugin
      • store

        void store​(MyLuteceUserRole myLuteceUserRole,
                   fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Update the record in the table
        Parameters:
        myLuteceUserRole - the reference of the MyLuteceUserRole
        plugin - the Plugin
      • delete

        void delete​(int nKey,
                    fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Delete a record from the table
        Parameters:
        nKey - The identifier of the MyLuteceUserRole to delete
        plugin - the Plugin
      • load

        MyLuteceUserRole load​(int nKey,
                              fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Load the data from the table
        Parameters:
        nKey - The identifier of the myLuteceUserRole
        plugin - the Plugin
        Returns:
        The instance of the myLuteceUserRole
      • selectMyLuteceUserRolesList

        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
        Parameters:
        plugin - the Plugin
        Returns:
        The list which contains the data of all the myLuteceUserRole objects
      • selectIdMyLuteceUserRolesList

        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
        Parameters:
        plugin - the Plugin
        Returns:
        The list which contains the id of all the myLuteceUserRole objects
      • selectMyLuteceUserRolesListByUserId

        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
        Parameters:
        plugin - the Plugin
        nIdSearchUser - the SearchUserId
        Returns:
        The list which contains the id of all the myLuteceUserRole objects
      • selectMyLuteceUserRolesReferenceList

        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
        Parameters:
        plugin - the Plugin
        Returns:
        The referenceList which contains the data of all the myLuteceUserRole objects