Package com.atlassian.jira.sharing
Interface ShareManager
- All Known Implementing Classes:
DefaultShareManager
public interface ShareManager
Interface for managing
SharePermission objects.- Since:
- v3.13
-
Method Summary
Modifier and TypeMethodDescriptionvoiddeletePermissions(SharedEntity entity) Delete all permissions associated with an entityvoiddeleteSharePermissionsLike(SharePermission permission) DeletesSharePermission's that have the same "shape" as the provided share permission.getSharePermissions(SharedEntity entity) Retrieve allSharePermissioninstances associated with a passed inSharedEntitybooleanisSharedWith(ApplicationUser user, SharedEntity sharedEntity) Whether this entity has been shared with the specified user.booleanisSharedWith(ApplicationUser user, SharedEntity sharedEntity, ShareRight shareRight) Checks if provided user has share rights for given entity.updateSharePermissions(SharedEntity entity) Updates theSharePermissionassociated with an entity.
-
Method Details