Uses of Class
pro.taskana.workbasket.api.WorkbasketPermission
-
-
Uses of WorkbasketPermission in pro.taskana
Methods in pro.taskana that return types with arguments of type WorkbasketPermission Modifier and Type Method Description List<WorkbasketPermission>TaskanaEngineConfiguration. getMinimalPermissionsToAssignDomains()Method parameters in pro.taskana with type arguments of type WorkbasketPermission Modifier and Type Method Description voidTaskanaEngineConfiguration. setMinimalPermissionsToAssignDomains(List<WorkbasketPermission> minimalPermissionsToAssignDomains) -
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 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 WorkbasketPermission Modifier and Type Method Description default WorkbasketQueryWorkbasketQuery. accessIdsHavePermission(WorkbasketPermission permission, String... accessIds)Deprecated, for removal: This API element is subject to removal in a future version.default WorkbasketQueryWorkbasketQuery. callerHasPermission(WorkbasketPermission permission)Deprecated, for removal: This API element is subject to removal in a future version.WorkbasketQueryWorkbasketQuery. 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 WorkbasketPermission Modifier and Type Method Description WorkbasketQueryWorkbasketQuery. 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 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 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 WorkbasketPermission Modifier and Type Method Description WorkbasketPermission[]WorkbasketQueryImpl. getPermissions()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. 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 WorkbasketPermission Modifier and Type Method Description WorkbasketQueryWorkbasketQueryImpl. 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 WorkbasketPermission Modifier and Type Method Description booleanWorkbasketAccessItemImpl. getPermission(WorkbasketPermission permission)voidWorkbasketAccessItemImpl. setPermission(WorkbasketPermission permission, boolean value)
-