com.atlassian.jira.permission
Interface PermissionSchemeManager

All Superinterfaces:
SchemeManager
All Known Implementing Classes:
DefaultPermissionSchemeManager

public interface PermissionSchemeManager
extends SchemeManager

This class is used to handle Permission Schemes. Permission Schemes are created, removed and edited through this class


Method Summary
 java.lang.String getAssociationType()
           
 java.util.List getEntities(GenericValue scheme, java.lang.Long permissionId, java.lang.String type, java.lang.String parameter)
          Get all Generic Value permission records for a particular scheme and permission Id
 java.lang.String getEntityName()
           
 java.lang.String getSchemeDesc()
           
 java.lang.String getSchemeEntityName()
           
 
Methods inherited from interface com.atlassian.jira.scheme.SchemeManager
addDefaultSchemeToProject, addSchemeToProject, copyScheme, createDefaultScheme, createScheme, createSchemeEntity, deleteEntity, deleteScheme, getDefaultScheme, getEntities, getEntities, getEntities, getEntities, getEntities, getEntity, getGroups, getProjects, getScheme, getScheme, getSchemes, getSchemes, getUsers, hasSchemeAuthority, hasSchemeAuthority, removeEntities, removeEntities, removeSchemesFromProject, schemeExists, updateScheme
 

Method Detail

getSchemeEntityName

public java.lang.String getSchemeEntityName()

getEntityName

public java.lang.String getEntityName()

getAssociationType

public java.lang.String getAssociationType()

getSchemeDesc

public java.lang.String getSchemeDesc()

getEntities

public java.util.List getEntities(GenericValue scheme,
                                  java.lang.Long permissionId,
                                  java.lang.String type,
                                  java.lang.String parameter)
                           throws GenericEntityException
Get all Generic Value permission records for a particular scheme and permission Id

Parameters:
scheme - The scheme that the permissions belong to
permissionId - The Id of the permission
parameter - The permission parameter (group name etc)
type - The type of the permission(Group, Current Reporter etc)
Returns:
List of (GenericValue) permissions
Throws:
GenericEntityException