com.atlassian.jira.permission
Interface PermissionSchemeManager
- All Superinterfaces:
- SchemeManager
- All Known Implementing Classes:
- DefaultPermissionSchemeManager, WorkflowBasedPermissionSchemeManager
public interface PermissionSchemeManager
- extends SchemeManager
This class is used to handle Permission Schemes. Permission Schemes are created, removed and edited through this class
Methods inherited from interface com.atlassian.jira.scheme.SchemeManager |
addDefaultSchemeToProject, addDefaultSchemeToProject, addSchemeToProject, addSchemeToProject, copyScheme, copyScheme, createDefaultScheme, createScheme, createSchemeAndEntities, createSchemeEntity, createSchemeObject, deleteEntity, deleteScheme, getAssociatedSchemes, getDefaultScheme, getDefaultSchemeObject, getEntities, getEntities, getEntities, getEntities, getEntities, getEntities, getEntity, getGroups, getGroups, getProjects, getProjects, getScheme, getScheme, getSchemeFor, getSchemeObject, getSchemeObject, getSchemeObjects, getSchemes, getSchemes, getUnassociatedSchemes, getUsers, getUsers, getUsers, getUsers, hasSchemeAuthority, hasSchemeAuthority, removeEntities, removeEntities, removeSchemesFromProject, removeSchemesFromProject, schemeExists, updateScheme, updateScheme |
getSchemeEntityName
String getSchemeEntityName()
getEntityName
String getEntityName()
getAssociationType
String getAssociationType()
getSchemeDesc
String getSchemeDesc()
getEntities
List<org.ofbiz.core.entity.GenericValue> getEntities(org.ofbiz.core.entity.GenericValue scheme,
Long permissionId,
String type,
String parameter)
throws org.ofbiz.core.entity.GenericEntityException
- Get all Generic Value permission records for a particular scheme and permission Id
- Parameters:
scheme
- The scheme that the permissions belong topermissionId
- The Id of the permissionparameter
- The permission parameter (group name etc)type
- The type of the permission(Group, Current Reporter etc)
- Returns:
- List of (GenericValue) permissions
- Throws:
org.ofbiz.core.entity.GenericEntityException
flushSchemeEntities
void flushSchemeEntities()
getSchemesContainingEntity
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.
- Parameters:
type
- is the entity typeparameter
- is the scheme entries parameter value
- Returns:
- Collection of GenericValues that represents a scheme
Copyright © 2002-2014 Atlassian. All Rights Reserved.