java.lang.Object | ||
↳ | com.atlassian.jira.scheme.AbstractSchemeManager | |
↳ | com.atlassian.jira.issue.security.IssueSecuritySchemeManagerImpl |
[Expand]
Inherited Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From interface
com.atlassian.jira.scheme.SchemeManager
|
[Expand]
Inherited Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.atlassian.jira.scheme.AbstractSchemeManager
|
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
This method overrides the AbstractSchemeManager because within Issue Security schemes there is an extra level, which
is the table that holds the Security Levels for that Scheme.
| |||||||||||
Creates a new scheme
| |||||||||||
Deletes an entity with the given id from the database.
| |||||||||||
Deletes a scheme from the database
| |||||||||||
Get all Scheme entity records for a particular scheme
| |||||||||||
Get all Generic Value permission records for a particular scheme and permission Id
| |||||||||||
Get all Generic Value issue security records for a particular scheme, type and Id
| |||||||||||
Returns the configured permissions for the given Security Level.
| |||||||||||
Returns the IssueSecurityLevelScheme for the given ID.
| |||||||||||
Returns the configured permissions for the given Security Level.
| |||||||||||
Returns all projects that use the given Issue Security Level Scheme.
| |||||||||||
This is a method that is meant to quickly get you all the schemes that contain an entity of the
specified type and parameter.
| |||||||||||
Checks to see if the user has access to issues of this security level.
| |||||||||||
Checks anonymous permission of the given permission type for the given entity.
| |||||||||||
Retrieves all the entites for this permission and then removes them.
| |||||||||||
This method overrides the super implemntation in order to clear cache.
| |||||||||||
Set the issue security level scheme to be used by the given Project.
| |||||||||||
This method wil be called after the plugin system is fully initialised and all components added to the
dependency injection framework.
|
Protected Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.atlassian.jira.scheme.AbstractSchemeManager
| |||||||||||
From class
java.lang.Object
| |||||||||||
From interface
com.atlassian.jira.extension.Startable
| |||||||||||
From interface
com.atlassian.jira.issue.security.IssueSecuritySchemeManager
| |||||||||||
From interface
com.atlassian.jira.scheme.SchemeManager
|
This method overrides the AbstractSchemeManager because within Issue Security schemes there is an extra level, which is the table that holds the Security Levels for that Scheme. This is because with Issue Security schemes you can add and delete the different levels of security. With other schemes this is not possible
oldScheme | The permission scheme to be copied |
---|
GenericEntityException |
---|
Creates a new scheme
name | The name of the new scheme |
---|---|
description | The description of the new scheme |
GenericEntityException |
---|
GenericEntityException |
---|
Deletes an entity with the given id from the database.
id | The id of the entity to be deleted |
---|
DataAccessException |
---|
Deletes a scheme from the database
id | Id of the scheme to be deleted |
---|
GenericEntityException |
---|
Get all Scheme entity records for a particular scheme
scheme | The scheme that the entities belong to |
---|
GenericEntityException |
---|
Get all Generic Value permission records for a particular scheme and permission Id
scheme | The scheme that the permissions belong to |
---|---|
schemeTypeId | The security level Id |
parameter | The permission parameter (group name etc) |
GenericEntityException |
---|
Get all Generic Value issue security records for a particular scheme, type and Id
scheme | The scheme that the permissions belong to |
---|---|
type | The type of the permission(Group, Current Reporter etc) |
schemeTypeId | The security level Id |
GenericEntityException |
---|
GenericEntityException |
---|
Returns the configured permissions for the given Security Level.
securityLevelId | the Security Level |
---|
Returns the IssueSecurityLevelScheme for the given ID.
issueSecuritySchemeId | Scheme ID |
---|
Returns the configured permissions for the given Security Level.
securityLevelId | the Security Level |
---|
Returns all projects that use the given Issue Security Level Scheme.
schemeId | ID of the Issue Security Level Scheme |
---|
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 |
Checks to see if the user has access to issues of this security level. If the user is not passed in then the check is made on the current user
entityType | The security level to check against |
---|---|
issue | The issue |
user | The user to check for the permission. User must NOT be null |
issueCreation | true if this is an attempt to create a new issue |
Checks anonymous permission of the given permission type for the given entity.
entityType | permission type. |
---|---|
entity | the entity to which permission is being checked. |
Retrieves all the entites for this permission and then removes them.
scheme | to remove entites from must NOT be null |
---|---|
entityTypeId | to remove |
RemoveException |
---|
This method overrides the super implemntation in order to clear cache.
type | type |
---|---|
parameter | parameter |
RemoveException | if super method throws it |
---|
Set the issue security level scheme to be used by the given Project.
project | The Project |
---|---|
schemeId | The desired new security level scheme to use - null indicates "no issue security levels". |
This method wil be called after the plugin system is fully initialised and all components added to the dependency injection framework.
Exception |
---|
GenericEntityException |
---|