|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.paris.lutece.plugins.mylutece.modules.wssodatabase.authentication.business.WssoRoleHome
public final class WssoRoleHome
This class provides instances management methods (create, find, ...) for WssoRole objects
| Method Summary | |
|---|---|
static WssoRole |
create(WssoRole wssoRole,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Creation of an instance of wssoRole |
static void |
createRoleForUser(int nIdUser,
int nRoleId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Assign a role to user |
static void |
deleteRolesForUser(int nIdUser,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete roles for a user |
static WssoRole |
findByPrimaryKey(int nKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Returns an instance of a wssoRole whose identifier is specified in parameter |
static java.util.Collection |
findWssoRolesList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Returns a collection of wssoRoles objects |
static java.util.Collection |
findWssoRolesListForRoleKey(java.lang.String strKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the list of wssoRoles for roleKey |
static java.util.Collection |
findWssoRolesListForUser(int nIdUser,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Returns a collection of wssoRoles objects |
static void |
remove(WssoRole wssoRole,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Remove the WssoRole whose identifier is specified in parameter |
static WssoRole |
update(WssoRole wssoRole,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update of the wssoRole 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 |
|---|
public static WssoRole create(WssoRole wssoRole,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
wssoRole - The instance of the wssoRole which contains the informations to storeplugin - The current plugin using this method
public static WssoRole update(WssoRole wssoRole,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
wssoRole - The instance of the wssoRole which contains the data to storeplugin - The current plugin using this method
public static void remove(WssoRole wssoRole,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
wssoRole - The WssoRole object to removeplugin - The current plugin using this method
public static WssoRole findByPrimaryKey(int nKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nKey - The Primary key of the wssoRoleplugin - The current plugin using this method
public static java.util.Collection findWssoRolesList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
plugin - The current plugin using this method
public static java.util.Collection findWssoRolesListForUser(int nIdUser,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
plugin - The current plugin using this method
public static void deleteRolesForUser(int nIdUser,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdUser - The id of the userplugin - The Plugin using this data access service
public static void createRoleForUser(int nIdUser,
int nRoleId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdUser - The id of the usernRoleId - The id of the roleplugin - The Plugin using this data access service
public static java.util.Collection findWssoRolesListForRoleKey(java.lang.String strKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
strKey - The Role keyplugin - The Plugin using this data access service
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||