public interface RoleResource
Modifier and Type | Method and Description |
---|---|
void |
addComposites(List<RoleRepresentation> rolesToAdd) |
void |
deleteComposites(List<RoleRepresentation> rolesToRemove) |
Set<RoleRepresentation> |
getClientRoleComposites(String appName) |
ManagementPermissionReference |
getPermissions()
Returns indicator if the fine grain permissions are enabled or not.
|
Set<RoleRepresentation> |
getRealmRoleComposites() |
Set<RoleRepresentation> |
getRoleComposites() |
Set<GroupRepresentation> |
getRoleGroupMembers()
Get role groups
Returns groups that have the given role
|
Set<GroupRepresentation> |
getRoleGroupMembers(Integer firstResult,
Integer maxResults)
Get role groups
Returns groups that have the given role, paginated according to the query parameters
|
Set<UserRepresentation> |
getRoleUserMembers()
Get role members
Returns users that have the given role
|
Set<UserRepresentation> |
getRoleUserMembers(Integer firstResult,
Integer maxResults)
Get role members
Returns users that have the given role, paginated according to the query parameters
|
void |
remove() |
ManagementPermissionReference |
setPermissions(ManagementPermissionRepresentation status)
Enables or disables the fine grain permissions feature.
|
RoleRepresentation |
toRepresentation() |
void |
update(RoleRepresentation roleRepresentation) |
ManagementPermissionReference setPermissions(ManagementPermissionRepresentation status)
ManagementPermissionReference
.status
- status request to applyManagementPermissionReference getPermissions()
RoleRepresentation toRepresentation()
void update(RoleRepresentation roleRepresentation)
void remove()
Set<RoleRepresentation> getRoleComposites()
Set<RoleRepresentation> getRealmRoleComposites()
Set<RoleRepresentation> getClientRoleComposites(String appName)
void addComposites(List<RoleRepresentation> rolesToAdd)
void deleteComposites(List<RoleRepresentation> rolesToRemove)
Set<UserRepresentation> getRoleUserMembers()
Set<UserRepresentation> getRoleUserMembers(Integer firstResult, Integer maxResults)
firstResult
- Pagination offsetmaxResults
- Pagination sizeSet<GroupRepresentation> getRoleGroupMembers()
Set<GroupRepresentation> getRoleGroupMembers(Integer firstResult, Integer maxResults)
firstResult
- Pagination offsetmaxResults
- Pagination sizeCopyright © 2019 JBoss by Red Hat. All rights reserved.