|
||||||||||
| 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.WssoUserRoleHome
public final class WssoUserRoleHome
This class provides instances management methods (create, find, ...) for WssoUserRole objects
| Method Summary | |
|---|---|
static void |
createRoleForUser(int nIdUser,
String strRoleId,
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 Collection<String> |
findRolesListForUser(int nIdUser,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Returns a collection of Roles objects |
static Collection<Integer> |
findUserListForRole(String strRoleKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Returns a collection of User id |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static Collection<String> findRolesListForUser(int nIdUser,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdUser - The id of the userplugin - The current plugin using this method
public static Collection<Integer> findUserListForRole(String strRoleKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
strRoleKey - The key of the roleplugin - 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,
String strRoleId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdUser - The id of the userstrRoleId - The id of the roleplugin - The Plugin using this data access service
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||