|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
@PublicApi public interface IssueSecuritySchemeManager
| Field Summary |
|---|
| Fields inherited from interface com.atlassian.jira.scheme.SchemeManager |
|---|
PROJECT_ASSOCIATION |
| Method Summary | |
|---|---|
List<org.ofbiz.core.entity.GenericValue> |
getEntities(org.ofbiz.core.entity.GenericValue scheme,
Long securityLevelId)
Deprecated. Use getPermissionsBySecurityLevel(Long) instead. Since v5.2. |
List |
getEntitiesBySecurityLevel(Long securityLevelId)
Deprecated. Use getPermissionsBySecurityLevel(Long) instead. Since v5.2. |
IssueSecurityLevelScheme |
getIssueSecurityLevelScheme(Long schemeId)
Returns the IssueSecurityLevelScheme for the given ID. |
List<IssueSecurityLevelPermission> |
getPermissionsBySecurityLevel(Long securityLevelId)
Returns the configured permissions for the given Security Level. |
List<Project> |
getProjectsUsingScheme(long schemeId)
Returns all projects that use the given Issue Security Level Scheme. |
Scheme |
getSchemeObject(Long id)
Deprecated. Use getIssueSecurityLevelScheme(Long) instead. Since v5.2. |
Collection<org.ofbiz.core.entity.GenericValue> |
getSchemesContainingEntity(String type,
String parameter)
This is a method that is meant to quickly get you all the schemes that contain an entity of the specified type and parameter. |
void |
setSchemeForProject(Project project,
Long issueSecuritySchemeId)
Set the issue security level scheme to be used by the given Project. |
| Method Detail |
|---|
Scheme getSchemeObject(Long id)
throws DataAccessException
getIssueSecurityLevelScheme(Long) instead. Since v5.2.
getSchemeObject in interface SchemeManagerid - the id of the scheme to get.
DataAccessException - if there is trouble retrieving from the database.IssueSecurityLevelScheme getIssueSecurityLevelScheme(Long schemeId)
schemeId - Scheme ID
List getEntitiesBySecurityLevel(Long securityLevelId)
throws org.ofbiz.core.entity.GenericEntityException
getPermissionsBySecurityLevel(Long) instead. Since v5.2.
securityLevelId - the Security Level
org.ofbiz.core.entity.GenericEntityExceptionList<IssueSecurityLevelPermission> getPermissionsBySecurityLevel(Long securityLevelId)
securityLevelId - the Security Level
List<org.ofbiz.core.entity.GenericValue> getEntities(org.ofbiz.core.entity.GenericValue scheme,
Long securityLevelId)
throws org.ofbiz.core.entity.GenericEntityException
getPermissionsBySecurityLevel(Long) instead. Since v5.2.
getEntities in interface SchemeManagerorg.ofbiz.core.entity.GenericEntityException
Collection<org.ofbiz.core.entity.GenericValue> getSchemesContainingEntity(String type,
String parameter)
type - is the entity typeparameter - is the scheme entries parameter value
List<Project> getProjectsUsingScheme(long schemeId)
schemeId - ID of the Issue Security Level Scheme
void setSchemeForProject(Project project,
Long issueSecuritySchemeId)
project - The ProjectissueSecuritySchemeId - The desired new security level scheme to use - null indicates "no issue security levels".
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||