com.atlassian.jira.permission.PermissionSchemeManager |
Known Indirect Subclasses |
This class is used to handle Permission Schemes. Permission Schemes are created, removed and edited through this class
[Expand]
Inherited Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From interface
com.atlassian.jira.scheme.SchemeManager
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
This method is deprecated.
Use
getEntities(GenericValue, ProjectPermissionKey, String, String) . Since v6.3.
| |||||||||||
Get all Generic Value permission records for a particular scheme and permission Id
| |||||||||||
This method is deprecated.
Use
getGroups(ProjectPermissionKey, Project) . Since v6.3.
| |||||||||||
This is a method that is meant to quickly get you all the schemes that contain an entity of the
specified type and parameter.
| |||||||||||
This method is deprecated.
Use
getUsers(ProjectPermissionKey, PermissionContext) . Since v6.3.
| |||||||||||
This method is deprecated.
Use
hasSchemeAuthority(ProjectPermissionKey, GenericValue) . Since v6.3.
| |||||||||||
This method is deprecated.
Use
hasSchemeAuthority(ProjectPermissionKey, GenericValue, User, boolean) . Since v6.3.
| |||||||||||
Checks the given user's permission of the given permission type for the given entity.
| |||||||||||
Checks anonymous permission of the given permission type for the given entity.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From interface
com.atlassian.jira.scheme.SchemeManager
|
This method is deprecated.
Use getEntities(GenericValue, ProjectPermissionKey, String, String)
. Since v6.3.
Get all Generic Value permission records for a particular scheme and permission Id
scheme | The scheme that the permissions belong to |
---|---|
permissionId | The Id of the permission |
type | The type of the permission(Group, Current Reporter etc) |
parameter | The permission parameter (group name etc) |
GenericEntityException | |
GenericEntityException |
GenericEntityException |
---|
GenericEntityException |
---|
Get all Generic Value permission records for a particular scheme and permission Id
scheme | The scheme that the permissions belong to |
---|---|
permissionKey | The key of the permission |
type | The type of the permission(Group, Current Reporter etc) |
parameter | The permission parameter (group name etc) |
GenericEntityException | |
GenericEntityException |
GenericEntityException |
---|
GenericEntityException |
---|
This is a method that is meant to quickly get you all the schemes that contain an entity of the specified type and parameter.
type | is the entity type |
---|---|
parameter | is the scheme entries parameter value |
This method is deprecated.
Use hasSchemeAuthority(ProjectPermissionKey, GenericValue)
. Since v6.3.
Checks anonymous permission of the given permission type for the given entity.
entityType | permission type. |
---|---|
entity | the entity to which permission is being checked. |
This method is deprecated.
Use hasSchemeAuthority(ProjectPermissionKey, GenericValue, User, boolean)
. Since v6.3.
Checks the given user's permission of the given permission type for the given entity.
entityType | permission type. |
---|---|
entity | the entity to which permission is being checked. |
user | the user. |
issueCreation | whether the permission is for creating an issue. |
Checks the given user's permission of the given permission type for the given entity.
permissionKey | permission key. |
---|---|
entity | the entity to which permission is being checked. |
user | the user. |
issueCreation | whether the permission is for creating an issue. |
Checks anonymous permission of the given permission type for the given entity.
permissionKey | permission key. |
---|---|
entity | the entity to which permission is being checked. |