Uses of Class
pro.taskana.workbasket.api.WorkbasketPermission
-
-
Uses of WorkbasketPermission in pro.taskana.workbasket.api
Methods in pro.taskana.workbasket.api that return WorkbasketPermission Modifier and Type Method Description static WorkbasketPermissionWorkbasketPermission. 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.Methods in pro.taskana.workbasket.api that return types with arguments of type WorkbasketPermission Modifier and Type Method 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.Methods in pro.taskana.workbasket.api with parameters of type WorkbasketPermission Modifier and Type Method Description WorkbasketQueryWorkbasketQuery. accessIdsHavePermission(WorkbasketPermission permission, String... accessIds)Setting up the permission which should be granted on the result workbaskets and the users which should be checked.WorkbasketQueryWorkbasketQuery. callerHasPermission(WorkbasketPermission permission)Add condition to query if the caller (one of the accessIds of the caller) has the given permission on the workbasket.voidWorkbasketService. checkAuthorization(String workbasketKey, String domain, WorkbasketPermission... permission)This method checks the authorization for the actual User.voidWorkbasketService. checkAuthorization(String workbasketId, WorkbasketPermission... permission)This method checks the authorization for the actual User. -
Uses of WorkbasketPermission in pro.taskana.workbasket.api.exceptions
Methods in pro.taskana.workbasket.api.exceptions that return WorkbasketPermission Modifier and Type Method Description WorkbasketPermission[]MismatchedWorkbasketPermissionException. getRequiredPermissions()Constructors in pro.taskana.workbasket.api.exceptions with parameters of type WorkbasketPermission Constructor Description MismatchedWorkbasketPermissionException(String currentUserId, String workbasketKey, String domain, WorkbasketPermission... requiredPermissions)MismatchedWorkbasketPermissionException(String currentUserId, String workbasketId, WorkbasketPermission... requiredPermissions) -
Uses of WorkbasketPermission in pro.taskana.workbasket.api.models
Methods in pro.taskana.workbasket.api.models with parameters of type WorkbasketPermission Modifier and Type Method Description booleanWorkbasketAccessItem. getPermission(WorkbasketPermission permission)Returns weather the given permission is permitted or not.voidWorkbasketAccessItem. setPermission(WorkbasketPermission permission, boolean value)Sets a given permission for the referenced workbasket. -
Uses of WorkbasketPermission in pro.taskana.workbasket.internal
Methods in pro.taskana.workbasket.internal that return WorkbasketPermission Modifier and Type Method Description WorkbasketPermissionWorkbasketQueryImpl. getPermission()Methods in pro.taskana.workbasket.internal that return types with arguments of type WorkbasketPermission Modifier and Type Method Description List<WorkbasketPermission>WorkbasketServiceImpl. getPermissionsForWorkbasket(String workbasketId)Methods in pro.taskana.workbasket.internal with parameters of type WorkbasketPermission Modifier and Type Method Description WorkbasketQueryWorkbasketQueryImpl. accessIdsHavePermission(WorkbasketPermission permission, String... accessIds)WorkbasketQueryWorkbasketQueryImpl. callerHasPermission(WorkbasketPermission permission)voidWorkbasketServiceImpl. checkAuthorization(String workbasketKey, String domain, WorkbasketPermission... requestedPermissions)voidWorkbasketServiceImpl. checkAuthorization(String workbasketId, WorkbasketPermission... requestedPermissions) -
Uses of WorkbasketPermission in pro.taskana.workbasket.internal.builder
Methods in pro.taskana.workbasket.internal.builder with parameters of type WorkbasketPermission Modifier and Type Method Description WorkbasketAccessItemBuilderWorkbasketAccessItemBuilder. permission(WorkbasketPermission permission)WorkbasketAccessItemBuilderWorkbasketAccessItemBuilder. permission(WorkbasketPermission permission, boolean value) -
Uses of WorkbasketPermission in pro.taskana.workbasket.internal.models
Methods in pro.taskana.workbasket.internal.models with parameters of type WorkbasketPermission Modifier and Type Method Description booleanWorkbasketAccessItemImpl. getPermission(WorkbasketPermission permission)voidWorkbasketAccessItemImpl. setPermission(WorkbasketPermission permission, boolean value)
-