fr.paris.lutece.plugins.mylutece.modules.wssodatabase.authentication.business
Class WssoUserDAO

java.lang.Object
  extended by fr.paris.lutece.plugins.mylutece.modules.wssodatabase.authentication.business.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
 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, 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 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 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 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


Copyright © 2007 Mairie de Paris. All Rights Reserved.