Interface IWssoUserDAO

  • All Known Implementing Classes:
    WssoUserDAO

    public interface IWssoUserDAO
    Author:
    Etienne
    • Method Summary

      All Methods Instance Methods Abstract 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 selectWssoUserList​(fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Load the list of wssoUsers
      java.util.Collection selectWssoUserListForGuid​(java.lang.String strGuid, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Load the list of wssoUsers for a guid
      java.util.Collection 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
    • Method Detail

      • newPrimaryKey

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

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

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

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

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

        java.util.Collection selectWssoUserList​(fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Load the list of wssoUsers
        Parameters:
        plugin - The Plugin using this data access service
        Returns:
        The Collection of the WssoUsers
      • selectWssoUsersListForRole

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

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