com.atlassian.jira.issue.security.IssueSecurityLevelManager |
![]() |
Clients of @PublicApi
can expect
that programs compiled against a given version will remain binary compatible with later versions of the
@PublicApi
as per each product's API policy as long as the client does not implement/extend
@PublicApi
interfaces or classes (refer to each product's API policy for the exact
guarantee---usually binary compatibility is guaranteed at least across minor versions).
@PublicApi
interfaces and classes are not designed to be implemented or extended by clients,
we may perform certain types of binary-incompatible changes to these classes and interfaces, but these will not
affect well-behaved clients that do not extend/implement these types (in general, only classes and interfaces
annotated with @PublicSpi
are safe to extend/implement).
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
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.
| |||||||||||
This method is deprecated.
Use
getAllIssueSecurityLevels() instead. Since v5.0.
| |||||||||||
Get the different levels of security that the user can see across all projects.
| |||||||||||
This method is deprecated.
Use #getAllSecurityLevelsForUser(com.atlassian.crowd.embedded.api.User) instead. Since v5.0.
| |||||||||||
Returns the default Security Level as defined in the Issue Security Level scheme for the given project.
| |||||||||||
This method is deprecated.
Use
getSecurityLevel(long) instead. Since v5.0.
| |||||||||||
This method is deprecated.
Use
getSecurityLevel(long) instead. Since v5.0.
| |||||||||||
Returns the list of Security Levels for the given Issue Security Level Scheme.
| |||||||||||
Get the different levels of security that have the specified name.
| |||||||||||
This method is deprecated.
Use
getDefaultSecurityLevel(com.atlassian.jira.project.Project) instead. Since v5.0.
| |||||||||||
This method is deprecated.
Use
getIssueSecurityLevels(long) instead. Since v5.0.
| |||||||||||
Returns the IssueSecurityLevel with the given ID.
| |||||||||||
This method is deprecated.
Use
getIssueSecurityLevelsByName(String) instead. Since v5.0.
| |||||||||||
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.
| |||||||||||
This method is deprecated.
Use #getUsersSecurityLevels(Issue, User)
or#getUsersSecurityLevels(Project, User) instead. Since v5.0.
| |||||||||||
Get the different levels of security that can be set for an issue created in this project.
| |||||||||||
This method is deprecated.
Use #getSecurityLevelsForUserByName(com.atlassian.crowd.embedded.api.User, String) instead. Since v5.0.
| |||||||||||
This method is deprecated.
Use
getSecurityLevel(long) != null instead. Since v5.0.
|
@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).
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.
This method is deprecated.
Use getAllIssueSecurityLevels()
instead. Since v5.0.
Get all the different levels of security across all schemes.
GenericEntityException | Exception in the OFBiz persistence layer. |
---|
Get the different levels of security that the user can see across all projects.
user | The user used for the security check |
---|
This method is deprecated.
Use #getAllSecurityLevelsForUser(com.atlassian.crowd.embedded.api.User) instead. Since v5.0.
Get the different levels of security that the user can see across all projects.
user | The user used for the security check |
---|
GenericEntityException | Exception in the OFBiz persistence layer. |
---|
Returns the default Security Level as defined in the Issue Security Level scheme for the given project.
project | the Project |
---|
This method is deprecated.
Use getSecurityLevel(long)
instead. Since v5.0.
Returns the IssueSecurityLevel with the given ID.
id | the ID |
---|
This method is deprecated.
Use getSecurityLevel(long)
instead. Since v5.0.
Returns the IssueSecurityLevel with the given ID.
id | the ID |
---|
GenericEntityException | Exception in the OFBiz persistence layer. |
---|
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. |
---|
This method is deprecated.
Use getDefaultSecurityLevel(com.atlassian.jira.project.Project)
instead. Since v5.0.
Returns the default Security Level as defined in the Issue Security Level scheme for the given project.
project | the Project |
---|
GenericEntityException | Exception in the OFBiz persistence layer. |
---|
This method is deprecated.
Use getIssueSecurityLevels(long)
instead. Since v5.0.
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 |
---|
This method is deprecated.
Use getIssueSecurityLevelsByName(String)
instead. Since v5.0.
Get the different levels of security that have the specified name.
securityLevelName | the name of the security level. |
---|
GenericEntityException | Exception in the OFBiz persistence layer. |
---|
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 |
This method is deprecated.
Use #getUsersSecurityLevels(Issue, User)
or#getUsersSecurityLevels(Project, User) instead. Since v5.0.
Get the different levels of security that can be set for this issue.
entity | This is the issue or the project that the security is being checked for |
---|---|
user | The user used for the security check |
GenericEntityException | Exception in the OFBiz persistence layer. |
---|
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 |
This method is deprecated.
Use #getSecurityLevelsForUserByName(com.atlassian.crowd.embedded.api.User, String) instead. Since v5.0.
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 | Exception in the OFBiz persistence layer. |
---|
This method is deprecated.
Use getSecurityLevel(long)
!= null instead. Since v5.0.
id | IssueSecurityLevel ID |
---|