java.lang.Object | |
↳ | com.atlassian.jira.issue.security.IssueSecurityLevelManagerImpl |
This class gets a list of all the security that can be part of a issue security scheme
Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
log |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Clears the User security Level Map.
| |||||||||||
Clears the User security Level Map.
| |||||||||||
Creates an Issue Security Level with the given properties.
| |||||||||||
Deletes the given Issue Security Level and any child permissions.
| |||||||||||
Get all the different levels of security across all schemes.
| |||||||||||
Get all the different levels of security across all schemes.
| |||||||||||
Get the different levels of security that the user can see across all projects.
| |||||||||||
Get the different levels of security that the user can see across all projects.
| |||||||||||
Returns the default Security Level as defined in the Issue Security Level scheme for the given project.
| |||||||||||
Returns the IssueSecurityLevel with the given ID.
| |||||||||||
Returns the IssueSecurityLevel with the given ID.
| |||||||||||
Returns the list of Security Levels for the given Issue Security Level Scheme.
| |||||||||||
Get the different levels of security that have the specified name.
| |||||||||||
Get the name of the issue security
| |||||||||||
Returns the default Security Level as defined in the Issue Security Level scheme for the given project.
| |||||||||||
Returns the list of Security Levels for the given Issue Security Level Scheme.
| |||||||||||
Returns the IssueSecurityLevel with the given ID.
| |||||||||||
Get the different levels of security that have the specified name.
| |||||||||||
Get the different levels of security that a user can see that have the specified name.
| |||||||||||
Get the different levels of security that can be set for this issue.
| |||||||||||
Get the different levels of security that can be set for this issue.
| |||||||||||
Get the different levels of security that can be set for an issue created in this project.
| |||||||||||
Get the different levels of security that a user can see that have the specified name.
| |||||||||||
Checks to see if the issue security exists
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
com.atlassian.jira.issue.security.IssueSecurityLevelManager
|
Clears the User security Level Map. This is done when security records are added or deleted
Clears the User security Level Map. This is done when security records are added or deleted
Creates an Issue Security Level with the given properties.
schemeId | The Issue security scheme that this level belongs to. |
---|---|
name | The name of the new level |
description | an optional description |
Deletes the given Issue Security Level and any child permissions.
levelId | Issue Security Level ID |
---|
Get all the different levels of security across all schemes.
Get all the different levels of security across all schemes.
GenericEntityException |
---|
Get the different levels of security that the user can see across all projects.
user | The user used for the security check |
---|
Get the different levels of security that the user can see across all projects.
user | The user used for the security check |
---|
GenericEntityException |
---|
Returns the default Security Level as defined in the Issue Security Level scheme for the given project.
project | the Project |
---|
Returns the IssueSecurityLevel with the given ID.
id | the ID |
---|
Returns the IssueSecurityLevel with the given ID.
id | the ID |
---|
Returns the list of Security Levels for the given Issue Security Level Scheme. The elements are ordered by name.
schemeId | ID of the Issue Security Level Scheme. |
---|
Get the different levels of security that have the specified name.
securityLevelName | the name of the security level. |
---|
Get the name of the issue security
id | The security Id |
---|
Returns the default Security Level as defined in the Issue Security Level scheme for the given project.
project | the Project |
---|
GenericEntityException |
---|
Returns the list of Security Levels for the given Issue Security Level Scheme.
schemeId | ID of the Issue Security Level Scheme. |
---|
Returns the IssueSecurityLevel with the given ID.
id | the ID |
---|
Get the different levels of security that have the specified name.
securityLevelName | the name of the security level. |
---|
GenericEntityException |
---|
Get the different levels of security that a user can see that have the specified name.
user | the user |
---|---|
securityLevelName | the name of the security level. |
Get the different levels of security that can be set for this issue. If you are creating a new Issue, then use #getUsersSecurityLevels(com.atlassian.jira.project.Project, com.atlassian.crowd.embedded.api.User).
issue | This is the issue that the security is being checked for |
---|---|
user | The user used for the security check |
Get the different levels of security that can be set for this issue. TODO: JRA-14323 This method can return incorrect results because of a bug in caching.
When editing an Issue, then you would pass in the GenericValue for the Issue. When creating an Issue, the project is passed in.
entity | This is the issue or the project that the security is being checked for |
---|---|
user | The user used for the security check |
GenericEntityException |
---|
Get the different levels of security that can be set for an issue created in this project. If you are editing an existing Issue, then use #getUsersSecurityLevels(Issue, User).
project | the project that the security is being checked for |
---|---|
user | The user used for the security check |
Get the different levels of security that a user can see that have the specified name.
user | the user |
---|---|
securityLevelName | the name of the security level. |
GenericEntityException |
---|
Checks to see if the issue security exists
id | The security Id |
---|