Class WssoUserHome
- java.lang.Object
-
- fr.paris.lutece.plugins.mylutece.modules.wssodatabase.authentication.business.WssoUserHome
-
public final class WssoUserHome extends java.lang.ObjectThis class provides instances management methods (create, find, ...) for WssoUser objects
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static WssoUsercreate(WssoUser wssoUser, fr.paris.lutece.portal.service.plugin.Plugin plugin)Creation of an instance of wssoUserstatic WssoUserfindByPrimaryKey(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)Returns an instance of a wssoUser whose identifier is specified in parameterstatic java.util.CollectionfindWssoUsersList(fr.paris.lutece.portal.service.plugin.Plugin plugin)Returns a collection of wssoUsers objectsstatic java.util.CollectionfindWssoUsersListForGuid(java.lang.String strGuid, fr.paris.lutece.portal.service.plugin.Plugin plugin)Returns a collection of wssoUsers objects for a guidstatic java.util.CollectionfindWssoUsersListForRole(int nIdRole, fr.paris.lutece.portal.service.plugin.Plugin plugin)Returns a collection of wssoUsers objects for a rolestatic voidremove(WssoUser wssoUser, fr.paris.lutece.portal.service.plugin.Plugin plugin)Remove the WssoUser whose identifier is specified in parameterstatic WssoUserupdate(WssoUser wssoUser, fr.paris.lutece.portal.service.plugin.Plugin plugin)Update of the wssoUser which is specified in parameter
-
-
-
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 storeplugin- 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 storeplugin- 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 removeplugin- 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 wssoUserplugin- 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 wssoUserplugin- 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 wssoUserplugin- The current plugin using this method- Returns:
- A collection of wssoUsers
-
-