@PublicApi public interface IssueSecuritySchemeManager extends SchemeManager
PROJECT_ASSOCIATION
Modifier and Type | Method and Description |
---|---|
List<org.ofbiz.core.entity.GenericValue> |
getEntities(org.ofbiz.core.entity.GenericValue scheme)
Get all Scheme entity records for a particular scheme.
|
List<org.ofbiz.core.entity.GenericValue> |
getEntities(org.ofbiz.core.entity.GenericValue scheme,
Long securityLevelId)
Deprecated.
Use
getPermissionsBySecurityLevel(Long) instead. Since v5.2. |
List<org.ofbiz.core.entity.GenericValue> |
getEntities(org.ofbiz.core.entity.GenericValue scheme,
Long entityTypeId,
String parameter)
Deprecated.
Not used - presumably this was invented in SchemeManager for Permission Schemes.
|
List<org.ofbiz.core.entity.GenericValue> |
getEntities(org.ofbiz.core.entity.GenericValue scheme,
String entityTypeId)
Deprecated.
Never worked for String anyway. Since v6.4.
|
List<org.ofbiz.core.entity.GenericValue> |
getEntities(org.ofbiz.core.entity.GenericValue scheme,
String type,
Long entityTypeId)
Deprecated.
Not used - presumably this was invented in SchemeManager for Permission Schemes.
|
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.
|
addDefaultSchemeToProject, addDefaultSchemeToProject, addSchemeToProject, addSchemeToProject, copyScheme, copyScheme, createDefaultScheme, createScheme, createSchemeAndEntities, createSchemeEntity, createSchemeObject, deleteEntity, deleteScheme, getAssociatedSchemes, getDefaultScheme, getDefaultSchemeObject, getEntities, getEntity, getGroups, getGroups, getProjects, getProjects, getScheme, getScheme, getSchemeFor, getSchemeIdFor, getSchemeObject, getSchemeObjects, getSchemes, getSchemes, getUnassociatedSchemes, getUsers, getUsers, getUsers, getUsers, hasSchemeAuthority, hasSchemeAuthority, removeEntities, removeEntities, removeSchemesFromProject, removeSchemesFromProject, schemeExists, updateScheme, updateScheme
Scheme getSchemeObject(Long id) throws DataAccessException
getIssueSecurityLevelScheme(Long)
instead. Since v5.2.getSchemeObject
in interface SchemeManager
id
- the id of the scheme to get.DataAccessException
- if there is trouble retrieving from the database.IssueSecurityLevelScheme getIssueSecurityLevelScheme(Long schemeId)
schemeId
- Scheme IDList getEntitiesBySecurityLevel(Long securityLevelId) throws org.ofbiz.core.entity.GenericEntityException
getPermissionsBySecurityLevel(Long)
instead. Since v5.2.securityLevelId
- the Security Levelorg.ofbiz.core.entity.GenericEntityException
List<IssueSecurityLevelPermission> getPermissionsBySecurityLevel(Long securityLevelId)
securityLevelId
- the Security LevelList<org.ofbiz.core.entity.GenericValue> getEntities(org.ofbiz.core.entity.GenericValue scheme) throws org.ofbiz.core.entity.GenericEntityException
getEntities
in interface SchemeManager
scheme
- The scheme that the entities belong toorg.ofbiz.core.entity.GenericEntityException
- If a DB error occursList<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 SchemeManager
org.ofbiz.core.entity.GenericEntityException
List<org.ofbiz.core.entity.GenericValue> getEntities(org.ofbiz.core.entity.GenericValue scheme, String entityTypeId) throws org.ofbiz.core.entity.GenericEntityException
getEntities
in interface SchemeManager
org.ofbiz.core.entity.GenericEntityException
List<org.ofbiz.core.entity.GenericValue> getEntities(org.ofbiz.core.entity.GenericValue scheme, Long entityTypeId, String parameter) throws org.ofbiz.core.entity.GenericEntityException
getEntities
in interface SchemeManager
org.ofbiz.core.entity.GenericEntityException
List<org.ofbiz.core.entity.GenericValue> getEntities(org.ofbiz.core.entity.GenericValue scheme, String type, Long entityTypeId) throws org.ofbiz.core.entity.GenericEntityException
getEntities
in interface SchemeManager
org.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 valueList<Project> getProjectsUsingScheme(long schemeId)
schemeId
- ID of the Issue Security Level Schemevoid setSchemeForProject(Project project, Long issueSecuritySchemeId)
project
- The ProjectissueSecuritySchemeId
- The desired new security level scheme to use - null indicates "no issue security levels".Copyright © 2002-2015 Atlassian. All Rights Reserved.