|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IUsersAndRolesManager
Users/Roles manager interface.
Developers using the Users/Roles profile repo should implement this interface
and inject their object into the UsersAndRolesProfileRepository.
| Method Summary | |
|---|---|
IRoleProfile[] |
getParentRoles(IRoleProfile role)
Return an array of Role profiles with all parent Roles of the passed Role profile (return a 0-length array if passed role has no parent roles). |
IRoleProfile |
getRoleProfile(java.lang.String profileId)
Return a Role profile by ID (should be the role name) if found, null if not found. |
IRoleProfile[] |
getRolesForUser(IUserProfile user)
Return an array of Role profiles with all Roles for passed User profile (return a 0-length array if passed user has no roles). |
IUserProfile |
getUserProfile(java.lang.String profileId)
Return a User profile by ID (should be the user's login name) if found, null if not found. |
| Method Detail |
|---|
IUserProfile getUserProfile(java.lang.String profileId)
IRoleProfile getRoleProfile(java.lang.String profileId)
IRoleProfile[] getParentRoles(IRoleProfile role)
IRoleProfile[] getRolesForUser(IUserProfile user)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||