fr.paris.lutece.plugins.mylutece.modules.wssodatabase.authentication.business
Interface IWssoUserDAO

All Known Implementing Classes:
WssoUserDAO

public interface IWssoUserDAO

Author:
Etienne

Method Summary
 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
 Collection selectWssoUserList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Load the list of wssoUsers
 Collection selectWssoUserListForGuid(String strGuid, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Load the list of wssoUsers for a guid
 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

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

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

Collection selectWssoUserListForGuid(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


Copyright © 2013 Mairie de Paris. All Rights Reserved.