| Package | Description |
|---|---|
| pro.taskana.workbasket.api | |
| pro.taskana.workbasket.internal |
| Modifier and Type | Method and Description |
|---|---|
static WorkbasketPermission |
WorkbasketPermission.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static WorkbasketPermission[] |
WorkbasketPermission.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
List<WorkbasketPermission> |
WorkbasketService.getPermissionsForWorkbasket(String workbasketId)
Returns a set with all permissions of the current user at this workbasket.
If the workbasketId is invalid, an empty list of permissions is returned since there is no distinction made between the situation that the workbasket is not found and the caller has no permissions on the workbasket. |
| Modifier and Type | Method and Description |
|---|---|
WorkbasketQuery |
WorkbasketQuery.accessIdsHavePermission(WorkbasketPermission permission,
String... accessIds)
Setting up the permission which should be granted on the result workbaskets and the users which
should be checked.
|
WorkbasketQuery |
WorkbasketQuery.callerHasPermission(WorkbasketPermission permission)
Add condition to query if the caller (one of the accessIds of the caller) has the given
permission on the workbasket.
|
void |
WorkbasketService.checkAuthorization(String workbasketKey,
String domain,
WorkbasketPermission... permission)
This method checks the authorization for the actual User.
|
void |
WorkbasketService.checkAuthorization(String workbasketId,
WorkbasketPermission... permission)
This method checks the authorization for the actual User.
|
| Modifier and Type | Method and Description |
|---|---|
WorkbasketPermission |
WorkbasketQueryImpl.getPermission() |
| Modifier and Type | Method and Description |
|---|---|
List<WorkbasketPermission> |
WorkbasketServiceImpl.getPermissionsForWorkbasket(String workbasketId) |
| Modifier and Type | Method and Description |
|---|---|
WorkbasketQuery |
WorkbasketQueryImpl.accessIdsHavePermission(WorkbasketPermission permission,
String... accessIds) |
WorkbasketQuery |
WorkbasketQueryImpl.callerHasPermission(WorkbasketPermission permission) |
void |
WorkbasketServiceImpl.checkAuthorization(String workbasketKey,
String domain,
WorkbasketPermission... requestedPermissions) |
void |
WorkbasketServiceImpl.checkAuthorization(String workbasketId,
WorkbasketPermission... requestedPermissions) |
Copyright © 2020. All rights reserved.