Class WssoUserDAO

  • All Implemented Interfaces:
    IWssoUserDAO

    public final class WssoUserDAO
    extends java.lang.Object
    implements IWssoUserDAO
    This class provides Data Access methods for WssoUser objects
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void delete​(WssoUser wssoUser, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Delete a record from the table
      void insert​(WssoUser wssoUser, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Insert a new record in the table.
      WssoUser load​(int nWssoUserId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Load the data of WssoUser from the table
      int newPrimaryKey​(fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Generates a new primary key
      java.util.Collection<WssoUser> selectWssoUserList​(fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Load the list of wssoUsers
      java.util.Collection<WssoUser> selectWssoUserListForGuid​(java.lang.String strGuid, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Load the list of wssoUsers for a guid
      java.util.Collection<WssoUser> selectWssoUsersListForRole​(int nIdRole, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Load the list of wssoUsers for a role
      void store​(WssoUser wssoUser, 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
    • Method Detail

      • newPrimaryKey

        public int newPrimaryKey​(fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Generates a new primary key
        Specified by:
        newPrimaryKey in interface IWssoUserDAO
        Parameters:
        plugin - The Plugin using this data access service
        Returns:
        The new primary key
      • insert

        public void insert​(WssoUser wssoUser,
                           fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Insert a new record in the table.
        Specified by:
        insert in interface IWssoUserDAO
        Parameters:
        wssoUser - The wssoUser object
        plugin - The Plugin using this data access service
      • load

        public WssoUser load​(int nWssoUserId,
                             fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Load the data of WssoUser from the table
        Specified by:
        load in interface IWssoUserDAO
        Parameters:
        nWssoUserId - The identifier of WssoUser
        plugin - The Plugin using this data access service
        Returns:
        the instance of the WssoUser
      • delete

        public void delete​(WssoUser wssoUser,
                           fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Delete a record from the table
        Specified by:
        delete in interface IWssoUserDAO
        Parameters:
        wssoUser - The WssoUser object
        plugin - The Plugin using this data access service
      • store

        public void store​(WssoUser wssoUser,
                          fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Update the record in the table
        Specified by:
        store in interface IWssoUserDAO
        Parameters:
        wssoUser - The reference of wssoUser
        plugin - The Plugin using this data access service
      • selectWssoUserList

        public java.util.Collection<WssoUser> selectWssoUserList​(fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Load the list of wssoUsers
        Specified by:
        selectWssoUserList in interface IWssoUserDAO
        Parameters:
        plugin - The Plugin using this data access service
        Returns:
        The Collection of the WssoUsers
      • selectWssoUsersListForRole

        public java.util.Collection<WssoUser> selectWssoUsersListForRole​(int nIdRole,
                                                                         fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Load the list of wssoUsers for a role
        Specified by:
        selectWssoUsersListForRole in interface IWssoUserDAO
        Parameters:
        nIdRole - The role of WssoUser
        plugin - The Plugin using this data access service
        Returns:
        The Collection of the WssoUsers
      • selectWssoUserListForGuid

        public java.util.Collection<WssoUser> selectWssoUserListForGuid​(java.lang.String strGuid,
                                                                        fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Load the list of wssoUsers for a guid
        Specified by:
        selectWssoUserListForGuid in interface IWssoUserDAO
        Parameters:
        strGuid - The guid of WssoUser
        plugin - The Plugin using this data access service
        Returns:
        The Collection of the WssoUsers