|
||||||||||
| 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.WssoUserRoleDAO
public final class WssoUserRoleDAO
This class provides Data Access methods for WssoRole objects
| Method Summary | |
|---|---|
void |
createRoleForUser(int nIdUser,
String strRoleId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Assign a role to user |
void |
deleteRolesForUser(int nIdUser,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete roles for a user |
Collection<String> |
selectRoleListForUser(int nIdUser,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the list of Roles for a user |
Collection<Integer> |
selectUserListForRole(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 Collection<String> selectRoleListForUser(int nIdUser,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectRoleListForUser in interface IWssoUserRoleDAOnIdUser - The id of the userplugin - The Plugin using this data access service
public Collection<Integer> selectUserListForRole(String strRoleKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectUserListForRole in interface IWssoUserRoleDAOstrRoleKey - The key of the roleplugin - The current plugin using this method
public void deleteRolesForUser(int nIdUser,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
deleteRolesForUser in interface IWssoUserRoleDAOnIdUser - The id of the userplugin - The Plugin using this data access service
public void createRoleForUser(int nIdUser,
String strRoleId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
createRoleForUser in interface IWssoUserRoleDAOnIdUser - The id of the userstrRoleId - 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 | |||||||||