|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Method Summary | |
Role |
createRole(java.lang.String name,
java.lang.String displayName)
Create a new role with the specified name. |
Role |
findRoleByDisplayName(java.lang.String displayName)
Retrieves a role by its displayname |
Role |
findRoleById(java.lang.Object id)
Retrieves a role by its id. |
Role |
findRoleById(java.lang.String id)
Retrieves a role by its id. |
Role |
findRoleByName(java.lang.String name)
Retrieves a role by its name |
java.util.Set |
findRoleMembers(java.lang.String roleName,
int offset,
int limit,
java.lang.String userNameFilter)
Returns role members based on rolename |
java.util.Set |
findRoles()
Get all the roles |
java.util.Set |
findRolesByNames(java.lang.String[] names)
Retrieve a collection of role from the role names. |
int |
getRolesCount()
Returns the number of roles. |
void |
removeRole(java.lang.Object id)
Remove a role. |
Method Detail |
public Role findRoleByName(java.lang.String name) throws java.lang.IllegalArgumentException, ModuleException
name
- the role name
java.lang.IllegalArgumentException
ModuleException
public java.util.Set findRolesByNames(java.lang.String[] names) throws java.lang.IllegalArgumentException, ModuleException
names
- the role names
java.lang.IllegalArgumentException
ModuleException
public Role findRoleByDisplayName(java.lang.String displayName) throws java.lang.IllegalArgumentException, ModuleException
java.lang.IllegalArgumentException
ModuleException
public Role findRoleById(java.lang.Object id) throws java.lang.IllegalArgumentException, ModuleException
id
- the role id
java.lang.IllegalArgumentException
ModuleException
public Role findRoleById(java.lang.String id) throws java.lang.IllegalArgumentException, ModuleException
id
- the role id
java.lang.IllegalArgumentException
ModuleException
public Role createRole(java.lang.String name, java.lang.String displayName) throws java.lang.IllegalArgumentException, ModuleException
name
- the role namedisplayName
- the role display name
java.lang.IllegalArgumentException
ModuleException
public void removeRole(java.lang.Object id) throws java.lang.IllegalArgumentException, ModuleException
id
- the role id
java.lang.IllegalArgumentException
ModuleException
public int getRolesCount() throws ModuleException
ModuleException
public java.util.Set findRoles() throws ModuleException
ModuleException
public java.util.Set findRoleMembers(java.lang.String roleName, int offset, int limit, java.lang.String userNameFilter) throws ModuleException
roleName
- offset
- limit
-
ModuleException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |