|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SchemeManager
Field Summary | |
---|---|
static String |
PROJECT_ASSOCIATION
|
Method Summary | |
---|---|
void |
addDefaultSchemeToProject(org.ofbiz.core.entity.GenericValue project)
|
void |
addSchemeToProject(org.ofbiz.core.entity.GenericValue project,
org.ofbiz.core.entity.GenericValue scheme)
|
void |
addSchemeToProject(Project project,
Scheme 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)
|
Scheme |
createSchemeAndEntities(Scheme scheme)
|
org.ofbiz.core.entity.GenericValue |
createSchemeEntity(org.ofbiz.core.entity.GenericValue scheme,
SchemeEntity entity)
|
void |
deleteEntity(Long id)
|
void |
deleteScheme(Long id)
|
List |
getAssociatedSchemes(boolean withEntitiesComparable)
|
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 type,
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)
|
List |
getProjects(Scheme 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)
|
List |
getUnassociatedSchemes()
Will return all @link Scheme objects that are not currently associated with any projects. |
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 type,
String parameter)
Removes all scheme entities with this parameter and type |
void |
removeSchemesFromProject(org.ofbiz.core.entity.GenericValue project)
|
void |
removeSchemesFromProject(Project project)
|
boolean |
schemeExists(String name)
|
void |
updateScheme(org.ofbiz.core.entity.GenericValue entity)
|
void |
updateScheme(Scheme scheme)
|
Field Detail |
---|
static final String PROJECT_ASSOCIATION
Method Detail |
---|
org.ofbiz.core.entity.GenericValue getScheme(Long id) throws org.ofbiz.core.entity.GenericEntityException
org.ofbiz.core.entity.GenericEntityException
List getSchemes() throws org.ofbiz.core.entity.GenericEntityException
org.ofbiz.core.entity.GenericEntityException
List getAssociatedSchemes(boolean withEntitiesComparable) throws DataAccessException
DataAccessException
org.ofbiz.core.entity.GenericValue getScheme(String name) throws org.ofbiz.core.entity.GenericEntityException
org.ofbiz.core.entity.GenericEntityException
List getSchemes(org.ofbiz.core.entity.GenericValue project) throws org.ofbiz.core.entity.GenericEntityException
org.ofbiz.core.entity.GenericEntityException
boolean schemeExists(String name) throws org.ofbiz.core.entity.GenericEntityException
org.ofbiz.core.entity.GenericEntityException
org.ofbiz.core.entity.GenericValue createScheme(String name, String description) throws org.ofbiz.core.entity.GenericEntityException
org.ofbiz.core.entity.GenericEntityException
Scheme createSchemeAndEntities(Scheme scheme) throws DataAccessException
DataAccessException
org.ofbiz.core.entity.GenericValue getEntity(Long id) throws org.ofbiz.core.entity.GenericEntityException
org.ofbiz.core.entity.GenericEntityException
List getEntities(org.ofbiz.core.entity.GenericValue scheme) throws org.ofbiz.core.entity.GenericEntityException
org.ofbiz.core.entity.GenericEntityException
List getEntities(org.ofbiz.core.entity.GenericValue scheme, Long entityTypeId) throws org.ofbiz.core.entity.GenericEntityException
org.ofbiz.core.entity.GenericEntityException
List getEntities(org.ofbiz.core.entity.GenericValue scheme, Long entityTypeId, String parameter) throws org.ofbiz.core.entity.GenericEntityException
org.ofbiz.core.entity.GenericEntityException
List getEntities(org.ofbiz.core.entity.GenericValue scheme, String type, Long entityTypeId) throws org.ofbiz.core.entity.GenericEntityException
org.ofbiz.core.entity.GenericEntityException
List getEntities(org.ofbiz.core.entity.GenericValue scheme, String entityTypeId) throws org.ofbiz.core.entity.GenericEntityException
org.ofbiz.core.entity.GenericEntityException
void updateScheme(org.ofbiz.core.entity.GenericValue entity) throws org.ofbiz.core.entity.GenericEntityException
org.ofbiz.core.entity.GenericEntityException
void updateScheme(Scheme scheme) throws DataAccessException
DataAccessException
void deleteScheme(Long id) throws org.ofbiz.core.entity.GenericEntityException
org.ofbiz.core.entity.GenericEntityException
void addSchemeToProject(org.ofbiz.core.entity.GenericValue project, org.ofbiz.core.entity.GenericValue scheme) throws org.ofbiz.core.entity.GenericEntityException
org.ofbiz.core.entity.GenericEntityException
void addSchemeToProject(Project project, Scheme scheme) throws DataAccessException
DataAccessException
void removeSchemesFromProject(org.ofbiz.core.entity.GenericValue project) throws org.ofbiz.core.entity.GenericEntityException
org.ofbiz.core.entity.GenericEntityException
void removeSchemesFromProject(Project project) throws DataAccessException
DataAccessException
org.ofbiz.core.entity.GenericValue createSchemeEntity(org.ofbiz.core.entity.GenericValue scheme, SchemeEntity entity) throws org.ofbiz.core.entity.GenericEntityException
org.ofbiz.core.entity.GenericEntityException
void deleteEntity(Long id) throws org.ofbiz.core.entity.GenericEntityException
org.ofbiz.core.entity.GenericEntityException
List getProjects(org.ofbiz.core.entity.GenericValue scheme) throws org.ofbiz.core.entity.GenericEntityException
org.ofbiz.core.entity.GenericEntityException
List getProjects(Scheme scheme) throws DataAccessException
DataAccessException
org.ofbiz.core.entity.GenericValue createDefaultScheme() throws org.ofbiz.core.entity.GenericEntityException
org.ofbiz.core.entity.GenericEntityException
org.ofbiz.core.entity.GenericValue getDefaultScheme() throws org.ofbiz.core.entity.GenericEntityException
org.ofbiz.core.entity.GenericEntityException
void addDefaultSchemeToProject(org.ofbiz.core.entity.GenericValue project) throws org.ofbiz.core.entity.GenericEntityException
org.ofbiz.core.entity.GenericEntityException
org.ofbiz.core.entity.GenericValue copyScheme(org.ofbiz.core.entity.GenericValue scheme) throws org.ofbiz.core.entity.GenericEntityException
org.ofbiz.core.entity.GenericEntityException
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) throws RemoveException
RemoveException
List getEntities(String type, String parameter) throws org.ofbiz.core.entity.GenericEntityException
type
- The type of entity you wish to retrieve, eg 'user', 'group', 'projectrole'parameter
- The parameter in the entity
org.ofbiz.core.entity.GenericEntityException
boolean removeEntities(String type, String parameter) throws RemoveException
type
- the 'type' of entity you are deleting, eg 'group', 'user', 'projectrole'parameter
- must NOT be null
RemoveException
Collection getGroups(Long permissionId, org.ofbiz.core.entity.GenericValue project)
Collection getUsers(Long permissionId, org.ofbiz.core.entity.GenericValue issueOrProject)
getUsers(Long, com.atlassian.jira.permission.PermissionContext)
instead.
Collection getUsers(Long permissionId, PermissionContext ctx)
List getUnassociatedSchemes() throws DataAccessException
DataAccessException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |