com.atlassian.jira.scheme
Interface SchemeManager
- All Known Subinterfaces:
- IssueSecuritySchemeManager, NotificationSchemeManager, PermissionSchemeManager, WorkflowSchemeManager
- All Known Implementing Classes:
- AbstractSchemeManager, DefaultNotificationSchemeManager, DefaultPermissionSchemeManager, DefaultWorkflowSchemeManager, IssueSecuritySchemeManagerImpl
- public interface SchemeManager
Method Summary |
void |
addDefaultSchemeToProject(org.ofbiz.core.entity.GenericValue project)
|
void |
addSchemeToProject(org.ofbiz.core.entity.GenericValue project,
org.ofbiz.core.entity.GenericValue scheme)
|
org.ofbiz.core.entity.GenericValue |
copyScheme(org.ofbiz.core.entity.GenericValue scheme)
|
org.ofbiz.core.entity.GenericValue |
createDefaultScheme()
|
org.ofbiz.core.entity.GenericValue |
createScheme(String name,
String description)
|
org.ofbiz.core.entity.GenericValue |
createSchemeEntity(org.ofbiz.core.entity.GenericValue scheme,
SchemeEntity entity)
|
void |
deleteEntity(Long id)
|
void |
deleteScheme(Long id)
|
org.ofbiz.core.entity.GenericValue |
getDefaultScheme()
|
List |
getEntities(org.ofbiz.core.entity.GenericValue scheme)
|
List |
getEntities(org.ofbiz.core.entity.GenericValue scheme,
Long entityTypeId)
|
List |
getEntities(org.ofbiz.core.entity.GenericValue scheme,
Long entityTypeId,
String parameter)
|
List |
getEntities(org.ofbiz.core.entity.GenericValue scheme,
String entityTypeId)
|
List |
getEntities(org.ofbiz.core.entity.GenericValue scheme,
String type,
Long entityTypeId)
|
List |
getEntities(String parameter)
Get all entity records with a particular parameter |
org.ofbiz.core.entity.GenericValue |
getEntity(Long id)
|
Collection |
getGroups(Long permissionId,
org.ofbiz.core.entity.GenericValue project)
|
List |
getProjects(org.ofbiz.core.entity.GenericValue scheme)
|
org.ofbiz.core.entity.GenericValue |
getScheme(Long id)
|
org.ofbiz.core.entity.GenericValue |
getScheme(String name)
|
List |
getSchemes()
|
List |
getSchemes(org.ofbiz.core.entity.GenericValue project)
|
Collection |
getUsers(Long permissionId,
org.ofbiz.core.entity.GenericValue issueOrProject)
Deprecated. Use getUsers(Long, com.atlassian.jira.permission.PermissionContext) instead. |
Collection |
getUsers(Long permissionId,
PermissionContext ctx)
|
boolean |
hasSchemeAuthority(Long entityType,
org.ofbiz.core.entity.GenericValue entity)
|
boolean |
hasSchemeAuthority(Long entityType,
org.ofbiz.core.entity.GenericValue entity,
User user,
boolean issueCreation)
|
boolean |
removeEntities(org.ofbiz.core.entity.GenericValue scheme,
Long permissionId)
|
boolean |
removeEntities(String parameter)
Removes all scheme entities with this parameter |
void |
removeSchemesFromProject(org.ofbiz.core.entity.GenericValue project)
|
boolean |
schemeExists(String name)
|
void |
updateScheme(org.ofbiz.core.entity.GenericValue entity)
|
PROJECT_ASSOCIATION
public static final String PROJECT_ASSOCIATION
- See Also:
- Constant Field Values
getScheme
public org.ofbiz.core.entity.GenericValue getScheme(Long id)
throws org.ofbiz.core.entity.GenericEntityException
- Throws:
org.ofbiz.core.entity.GenericEntityException
getSchemes
public List getSchemes()
throws org.ofbiz.core.entity.GenericEntityException
- Throws:
org.ofbiz.core.entity.GenericEntityException
getScheme
public org.ofbiz.core.entity.GenericValue getScheme(String name)
throws org.ofbiz.core.entity.GenericEntityException
- Throws:
org.ofbiz.core.entity.GenericEntityException
getSchemes
public List getSchemes(org.ofbiz.core.entity.GenericValue project)
throws org.ofbiz.core.entity.GenericEntityException
- Throws:
org.ofbiz.core.entity.GenericEntityException
schemeExists
public boolean schemeExists(String name)
throws org.ofbiz.core.entity.GenericEntityException
- Throws:
org.ofbiz.core.entity.GenericEntityException
createScheme
public org.ofbiz.core.entity.GenericValue createScheme(String name,
String description)
throws org.ofbiz.core.entity.GenericEntityException
- Throws:
org.ofbiz.core.entity.GenericEntityException
getEntity
public org.ofbiz.core.entity.GenericValue getEntity(Long id)
throws org.ofbiz.core.entity.GenericEntityException
- Throws:
org.ofbiz.core.entity.GenericEntityException
getEntities
public List getEntities(org.ofbiz.core.entity.GenericValue scheme)
throws org.ofbiz.core.entity.GenericEntityException
- Throws:
org.ofbiz.core.entity.GenericEntityException
getEntities
public List getEntities(org.ofbiz.core.entity.GenericValue scheme,
Long entityTypeId)
throws org.ofbiz.core.entity.GenericEntityException
- Throws:
org.ofbiz.core.entity.GenericEntityException
getEntities
public List getEntities(org.ofbiz.core.entity.GenericValue scheme,
Long entityTypeId,
String parameter)
throws org.ofbiz.core.entity.GenericEntityException
- Throws:
org.ofbiz.core.entity.GenericEntityException
getEntities
public List getEntities(org.ofbiz.core.entity.GenericValue scheme,
String type,
Long entityTypeId)
throws org.ofbiz.core.entity.GenericEntityException
- Throws:
org.ofbiz.core.entity.GenericEntityException
getEntities
public List getEntities(org.ofbiz.core.entity.GenericValue scheme,
String entityTypeId)
throws org.ofbiz.core.entity.GenericEntityException
- Throws:
org.ofbiz.core.entity.GenericEntityException
updateScheme
public void updateScheme(org.ofbiz.core.entity.GenericValue entity)
throws org.ofbiz.core.entity.GenericEntityException
- Throws:
org.ofbiz.core.entity.GenericEntityException
deleteScheme
public void deleteScheme(Long id)
throws org.ofbiz.core.entity.GenericEntityException
- Throws:
org.ofbiz.core.entity.GenericEntityException
addSchemeToProject
public void addSchemeToProject(org.ofbiz.core.entity.GenericValue project,
org.ofbiz.core.entity.GenericValue scheme)
throws org.ofbiz.core.entity.GenericEntityException
- Throws:
org.ofbiz.core.entity.GenericEntityException
removeSchemesFromProject
public void removeSchemesFromProject(org.ofbiz.core.entity.GenericValue project)
throws org.ofbiz.core.entity.GenericEntityException
- Throws:
org.ofbiz.core.entity.GenericEntityException
createSchemeEntity
public org.ofbiz.core.entity.GenericValue createSchemeEntity(org.ofbiz.core.entity.GenericValue scheme,
SchemeEntity entity)
throws org.ofbiz.core.entity.GenericEntityException
- Throws:
org.ofbiz.core.entity.GenericEntityException
deleteEntity
public void deleteEntity(Long id)
throws org.ofbiz.core.entity.GenericEntityException
- Throws:
org.ofbiz.core.entity.GenericEntityException
getProjects
public List getProjects(org.ofbiz.core.entity.GenericValue scheme)
throws org.ofbiz.core.entity.GenericEntityException
- Throws:
org.ofbiz.core.entity.GenericEntityException
createDefaultScheme
public org.ofbiz.core.entity.GenericValue createDefaultScheme()
throws org.ofbiz.core.entity.GenericEntityException
- Throws:
org.ofbiz.core.entity.GenericEntityException
getDefaultScheme
public org.ofbiz.core.entity.GenericValue getDefaultScheme()
throws org.ofbiz.core.entity.GenericEntityException
- Throws:
org.ofbiz.core.entity.GenericEntityException
addDefaultSchemeToProject
public void addDefaultSchemeToProject(org.ofbiz.core.entity.GenericValue project)
throws org.ofbiz.core.entity.GenericEntityException
- Throws:
org.ofbiz.core.entity.GenericEntityException
copyScheme
public org.ofbiz.core.entity.GenericValue copyScheme(org.ofbiz.core.entity.GenericValue scheme)
throws org.ofbiz.core.entity.GenericEntityException
- Throws:
org.ofbiz.core.entity.GenericEntityException
hasSchemeAuthority
public boolean hasSchemeAuthority(Long entityType,
org.ofbiz.core.entity.GenericValue entity)
hasSchemeAuthority
public boolean hasSchemeAuthority(Long entityType,
org.ofbiz.core.entity.GenericValue entity,
User user,
boolean issueCreation)
removeEntities
public boolean removeEntities(org.ofbiz.core.entity.GenericValue scheme,
Long permissionId)
throws RemoveException
- Throws:
RemoveException
getEntities
public List getEntities(String parameter)
throws org.ofbiz.core.entity.GenericEntityException
- Get all entity records with a particular parameter
- Parameters:
parameter
- The parameter in the entity
- Returns:
- List of (GenericValue) entities
- Throws:
org.ofbiz.core.entity.GenericEntityException
removeEntities
public boolean removeEntities(String parameter)
throws RemoveException
- Removes all scheme entities with this parameter
- Parameters:
parameter
- must NOT be null
- Throws:
RemoveException
getGroups
public Collection getGroups(Long permissionId,
org.ofbiz.core.entity.GenericValue project)
getUsers
public Collection getUsers(Long permissionId,
org.ofbiz.core.entity.GenericValue issueOrProject)
- Deprecated. Use
getUsers(Long, com.atlassian.jira.permission.PermissionContext)
instead.
getUsers
public Collection getUsers(Long permissionId,
PermissionContext ctx)
Copyright © 2002-2006 Atlassian. All Rights Reserved.