com.atlassian.jira.permission.PermissionSchemeManager |
![]() |
This class is used to handle Permission Schemes. Permission Schemes are created, removed and edited through this class
[Expand]
Inherited Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
This method is deprecated.
Use
getPermissionSchemeEntries(long, com.atlassian.jira.security.plugin.ProjectPermissionKey, String) instead. Since v6.4.
| |||||||||||
This method is deprecated.
Use
getPermissionSchemeEntries(com.atlassian.jira.scheme.Scheme, com.atlassian.jira.security.plugin.ProjectPermissionKey) instead. Since v6.4.
| |||||||||||
This method is deprecated.
Use
getPermissionSchemeEntries(com.atlassian.jira.scheme.Scheme, com.atlassian.jira.security.plugin.ProjectPermissionKey) instead. Since v6.4.
| |||||||||||
This method is deprecated.
Use
getPermissionSchemeEntries(com.atlassian.jira.scheme.Scheme, com.atlassian.jira.security.plugin.ProjectPermissionKey) instead. Since v6.4.
| |||||||||||
This method is deprecated.
Use
getPermissionSchemeEntries(long, com.atlassian.jira.security.plugin.ProjectPermissionKey, String) instead. Since v6.4.
| |||||||||||
Get all Scheme entity records for a particular scheme.
| |||||||||||
This method is deprecated.
Use
getEntities(GenericValue, ProjectPermissionKey, String, String) . Since v6.3.
| |||||||||||
This method is deprecated.
Use
getPermissionSchemeEntries(com.atlassian.jira.scheme.Scheme, com.atlassian.jira.security.plugin.ProjectPermissionKey) instead. Since v6.4.
| |||||||||||
This method is deprecated.
Use
getPermissionSchemeEntries(com.atlassian.jira.scheme.Scheme, com.atlassian.jira.security.plugin.ProjectPermissionKey) instead. Since v6.4.
| |||||||||||
This method is deprecated.
Use
getPermissionSchemeEntries(long, com.atlassian.jira.security.plugin.ProjectPermissionKey, String) instead. Since v6.4.
| |||||||||||
This method is deprecated.
Use
getGroups(ProjectPermissionKey, Project) . Since v6.3.
| |||||||||||
Returns the PermissionSchemeEntries for the given Permission Scheme and ProjectPermissionKey.
| |||||||||||
Returns the PermissionSchemeEntries for the given Permission Scheme and ProjectPermissionKey.
| |||||||||||
Returns the PermissionSchemeEntries for the given Permission Scheme and ProjectPermissionKey.
| |||||||||||
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.
| |||||||||||
Checks anonymous permission of the given permission type for the given project.
| |||||||||||
Checks anonymous permission of the given permission type for the given issue.
| |||||||||||
Checks the given user's permission of the given permission type for the given project.
| |||||||||||
Checks the given user's permission of the given permission type for the given issue.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
This method is deprecated.
Use getPermissionSchemeEntries(long, com.atlassian.jira.security.plugin.ProjectPermissionKey, String)
instead. Since v6.4.
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 |
This method is deprecated.
Use getPermissionSchemeEntries(com.atlassian.jira.scheme.Scheme, com.atlassian.jira.security.plugin.ProjectPermissionKey)
instead. Since v6.4.
GenericEntityException |
---|
This method is deprecated.
Use getPermissionSchemeEntries(com.atlassian.jira.scheme.Scheme, com.atlassian.jira.security.plugin.ProjectPermissionKey)
instead. Since v6.4.
GenericEntityException |
---|
This method is deprecated.
Use getPermissionSchemeEntries(com.atlassian.jira.scheme.Scheme, com.atlassian.jira.security.plugin.ProjectPermissionKey)
instead. Since v6.4.
Inherited from SchemeManager.
GenericEntityException |
---|
This method is deprecated.
Use getPermissionSchemeEntries(long, com.atlassian.jira.security.plugin.ProjectPermissionKey, String)
instead. Since v6.4.
Inherited from SchemeManager.
GenericEntityException |
---|
Get all Scheme entity records for a particular scheme. Inherited from SchemeManager.
scheme | The scheme that the entities belong to |
---|
GenericEntityException | If a DB error occurs |
---|
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 |
This method is deprecated.
Use getPermissionSchemeEntries(com.atlassian.jira.scheme.Scheme, com.atlassian.jira.security.plugin.ProjectPermissionKey)
instead. Since v6.4.
Inherited from SchemeManager.
GenericEntityException |
---|
This method is deprecated.
Use getPermissionSchemeEntries(com.atlassian.jira.scheme.Scheme, com.atlassian.jira.security.plugin.ProjectPermissionKey)
instead. Since v6.4.
Inherited from SchemeManager.
GenericEntityException |
---|
This method is deprecated.
Use getPermissionSchemeEntries(long, com.atlassian.jira.security.plugin.ProjectPermissionKey, String)
instead. Since v6.4.
GenericEntityException |
---|
Returns the PermissionSchemeEntries for the given Permission Scheme and ProjectPermissionKey.
scheme | The permission scheme |
---|---|
permissionKey | The permission type |
Returns the PermissionSchemeEntries for the given Permission Scheme and ProjectPermissionKey.
schemeId | The permission scheme |
---|---|
permissionKey | The permission type |
Returns the PermissionSchemeEntries for the given Permission Scheme and ProjectPermissionKey.
schemeId | The permission scheme |
---|---|
permissionKey | The permission type |
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 |
@Internal
classes and interfaces can not expect to be compatible with any version
other than the version they were compiled against (even minor version and milestone releases may break binary
compatibility with respect to @Internal
elements).
@Internal
classes and interfaces can not expect to be compatible with any version
other than the version they were compiled against (even minor version and milestone releases may break binary
compatibility with respect to @Internal
elements).
Checks anonymous permission of the given permission type for the given project.
permissionKey | permission key. |
---|---|
project | the project to which permission is being checked. |
@Internal
classes and interfaces can not expect to be compatible with any version
other than the version they were compiled against (even minor version and milestone releases may break binary
compatibility with respect to @Internal
elements).
Checks anonymous permission of the given permission type for the given issue.
permissionKey | permission key. |
---|---|
issue | the issue to which permission is being checked. |
@Internal
classes and interfaces can not expect to be compatible with any version
other than the version they were compiled against (even minor version and milestone releases may break binary
compatibility with respect to @Internal
elements).
Checks the given user's permission of the given permission type for the given project.
permissionKey | permission key. |
---|---|
project | the project to which permission is being checked. |
user | the user. |
issueCreation | whether the permission is for creating an issue. |
@Internal
classes and interfaces can not expect to be compatible with any version
other than the version they were compiled against (even minor version and milestone releases may break binary
compatibility with respect to @Internal
elements).
Checks the given user's permission of the given permission type for the given issue.
permissionKey | permission key. |
---|---|
issue | the issue to check permission against |
user | the user. |
issueCreation | whether the permission is for creating an issue. |