Method Summary
All Methods Instance Methods Abstract Methods
only selects authorizations for the given id
only selects authorizations for the given type.
only selects authorizations for the given group ids
only selects authorizations which grant the permissions represented by the parameter.
only selects authorizations for the given resource id
only selects authorizations for the given resource type
only selects authorizations for the given resource type
only selects authorizations for the given user ids
Method Details
authorizationId
only selects authorizations for the given id
userIdIn
only selects authorizations for the given user ids
groupIdIn
only selects authorizations for the given group ids
resourceType
only selects authorizations for the given resource type
resourceType
only selects authorizations for the given resource type
resourceId
only selects authorizations for the given resource id
hasPermission
only selects authorizations which grant the permissions represented by the parameter.
If this method is called multiple times, all passed-in permissions will be checked with AND semantics.
Example:
authorizationQuery.userId("user1")
.resourceType("processDefinition")
.resourceId("2313")
.hasPermission(Permissions.READ)
.hasPermission(Permissions.UPDATE)
.hasPermission(Permissions.DELETE)
.list();
Selects all Authorization objects which provide READ,UPDATE,DELETE
Permissions for the given user.