Uses of Enum Class
pro.taskana.workbasket.api.WorkbasketPermission
Packages that use WorkbasketPermission
Package
Description
-
Uses of WorkbasketPermission in pro.taskana
Methods in pro.taskana that return types with arguments of type WorkbasketPermissionMethod parameters in pro.taskana with type arguments of type WorkbasketPermissionModifier and TypeMethodDescriptionTaskanaConfiguration.Builder.minimalPermissionsToAssignDomains(Set<WorkbasketPermission> minimalPermissionsToAssignDomains) -
Uses of WorkbasketPermission in pro.taskana.workbasket.api
Methods in pro.taskana.workbasket.api that return WorkbasketPermissionModifier and TypeMethodDescriptionstatic WorkbasketPermissionReturns the enum constant of this class with the specified name.static WorkbasketPermission[]WorkbasketPermission.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods in pro.taskana.workbasket.api that return types with arguments of type WorkbasketPermissionModifier and TypeMethodDescriptionWorkbasketService.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 WorkbasketPermissions 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 WorkbasketPermissionModifier and TypeMethodDescriptionWorkbasketQuery.callerHasPermissions(WorkbasketPermission... permissions) Add condition to query if the caller (one of the accessIds of the caller) has the given permissions 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.Method parameters in pro.taskana.workbasket.api with type arguments of type WorkbasketPermissionModifier and TypeMethodDescriptionWorkbasketQuery.accessIdsHavePermissions(List<WorkbasketPermission> permissions, String... accessIds) Setting up the permissions which should be granted on the result workbaskets and the users which should be checked. -
Uses of WorkbasketPermission in pro.taskana.workbasket.api.exceptions
Methods in pro.taskana.workbasket.api.exceptions that return WorkbasketPermissionConstructors in pro.taskana.workbasket.api.exceptions with parameters of type WorkbasketPermissionModifierConstructorDescriptionNotAuthorizedOnWorkbasketException(String currentUserId, String workbasketKey, String domain, WorkbasketPermission... requiredPermissions) NotAuthorizedOnWorkbasketException(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 WorkbasketPermissionModifier and TypeMethodDescriptionbooleanWorkbasketAccessItem.getPermission(WorkbasketPermission permission) Returns whether the given permissions is permitted or not.voidWorkbasketAccessItem.setPermission(WorkbasketPermission permission, boolean value) Sets a given permissions for the referencedWorkbasket. -
Uses of WorkbasketPermission in pro.taskana.workbasket.internal
Methods in pro.taskana.workbasket.internal that return WorkbasketPermissionMethods in pro.taskana.workbasket.internal that return types with arguments of type WorkbasketPermissionModifier and TypeMethodDescriptionWorkbasketServiceImpl.getPermissionsForWorkbasket(String workbasketId) Methods in pro.taskana.workbasket.internal with parameters of type WorkbasketPermissionModifier and TypeMethodDescriptionWorkbasketQueryImpl.callerHasPermissions(WorkbasketPermission... permissions) voidWorkbasketServiceImpl.checkAuthorization(String workbasketKey, String domain, WorkbasketPermission... requestedPermissions) voidWorkbasketServiceImpl.checkAuthorization(String workbasketId, WorkbasketPermission... requestedPermissions) Method parameters in pro.taskana.workbasket.internal with type arguments of type WorkbasketPermissionModifier and TypeMethodDescriptionWorkbasketQueryImpl.accessIdsHavePermissions(List<WorkbasketPermission> permissions, String... accessIds) -
Uses of WorkbasketPermission in pro.taskana.workbasket.internal.models
Methods in pro.taskana.workbasket.internal.models with parameters of type WorkbasketPermissionModifier and TypeMethodDescriptionbooleanWorkbasketAccessItemImpl.getPermission(WorkbasketPermission permission) voidWorkbasketAccessItemImpl.setPermission(WorkbasketPermission permission, boolean value)