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

java.lang.Object
  extended by fr.paris.lutece.plugins.mylutece.modules.wssodatabase.authentication.business.WssoUserHome

public final class WssoUserHome
extends java.lang.Object

This class provides instances management methods (create, find, ...) for WssoUser objects


Method Summary
static WssoUser create(WssoUser wssoUser, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Creation of an instance of wssoUser
static WssoUser findByPrimaryKey(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Returns an instance of a wssoUser whose identifier is specified in parameter
static java.util.Collection findWssoUsersList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Returns a collection of wssoUsers objects
static java.util.Collection findWssoUsersListForGuid(java.lang.String strGuid, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Returns a collection of wssoUsers objects for a guid
static java.util.Collection findWssoUsersListForRole(int nIdRole, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Returns a collection of wssoUsers objects for a role
static void remove(WssoUser wssoUser, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Remove the WssoUser whose identifier is specified in parameter
static WssoUser update(WssoUser wssoUser, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Update of the wssoUser which is specified in parameter
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

create

public static WssoUser create(WssoUser wssoUser,
                              fr.paris.lutece.portal.service.plugin.Plugin plugin)
Creation of an instance of wssoUser

Parameters:
wssoUser - The instance of the wssoUser which contains the informations to store
plugin - The current plugin using this method
Returns:
The instance of wssoUser which has been created with its primary key.

update

public static WssoUser update(WssoUser wssoUser,
                              fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update of the wssoUser which is specified in parameter

Parameters:
wssoUser - The instance of the wssoUser which contains the data to store
plugin - The current plugin using this method
Returns:
The instance of the wssoUser which has been updated

remove

public static void remove(WssoUser wssoUser,
                          fr.paris.lutece.portal.service.plugin.Plugin plugin)
Remove the WssoUser whose identifier is specified in parameter

Parameters:
wssoUser - The WssoUser object to remove
plugin - The current plugin using this method

findByPrimaryKey

public static WssoUser findByPrimaryKey(int nKey,
                                        fr.paris.lutece.portal.service.plugin.Plugin plugin)
Returns an instance of a wssoUser whose identifier is specified in parameter

Parameters:
nKey - The Primary key of the wssoUser
plugin - The current plugin using this method
Returns:
An instance of wssoUser

findWssoUsersList

public static java.util.Collection findWssoUsersList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Returns a collection of wssoUsers objects

Parameters:
plugin - The current plugin using this method
Returns:
A collection of wssoUsers

findWssoUsersListForRole

public static java.util.Collection findWssoUsersListForRole(int nIdRole,
                                                            fr.paris.lutece.portal.service.plugin.Plugin plugin)
Returns a collection of wssoUsers objects for a role

Parameters:
nIdRole - The role id of the wssoUser
plugin - The current plugin using this method
Returns:
A collection of wssoUsers

findWssoUsersListForGuid

public static java.util.Collection findWssoUsersListForGuid(java.lang.String strGuid,
                                                            fr.paris.lutece.portal.service.plugin.Plugin plugin)
Returns a collection of wssoUsers objects for a guid

Parameters:
strGuid - The guid of the wssoUser
plugin - The current plugin using this method
Returns:
A collection of wssoUsers


Copyright © 2010 Mairie de Paris. All Rights Reserved.