Package com.atlassian.jira.sharing
Class DefaultShareManager
java.lang.Object
com.atlassian.jira.sharing.DefaultShareManager
- All Implemented Interfaces:
ShareManager
Default implementation of the
ShareManager.- Since:
- v3.13
-
Constructor Summary
ConstructorsConstructorDescriptionDefaultShareManager(SharePermissionStore store, ShareTypeFactory shareTypeFactory, SharePermissionReindexer reindexer, FeatureManager featureManager, GlobalPermissionManager globalPermissionManager) -
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.
-
Constructor Details
-
Method Details