java.lang.Object | |
↳ | com.atlassian.jira.sharing.DefaultShareManager |
Default implementation of the ShareManager
.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Delete all permissions associated with an entity
| |||||||||||
Deletes
SharePermission 's that have the same "shape" as the provided share permission. | |||||||||||
Retrieve all
SharePermission instances associated with a passed in
SharedEntity | |||||||||||
Checks to see if the user has permission to see this
SharedEntity | |||||||||||
Whether this entity has been shared with the specified user.
| |||||||||||
Updates the
SharePermission associated with an entity. |
[Expand]
Inherited Methods | |||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||||||||||||||
![]()
|
Delete all permissions associated with an entity
entity | The entity that will have all its permissions deleted |
---|
Deletes SharePermission
's that have the same "shape" as the provided share permission. It uses the type,
param1, and param2 to as the basis for deleting SharePermission's.
permission | a 'template' of the type of SharePermission you want to delete |
---|
Retrieve all SharePermission
instances associated with a passed in
SharedEntity
entity | The entity that has permissions associated with it |
---|
SharePermission
instances associated with the entity.
Checks to see if the user has permission to see this SharedEntity
user | The user to check permissions for |
---|---|
entity | The entity that has permissions associated with it |
Whether this entity has been shared with the specified user.
user | The user to check. |
---|---|
sharedEntity | The entity to check. |
Updates the SharePermission
associated with an entity. Looks after creation and updating of permissions.
entity | The entity that has permissions associated with it |
---|