Package com.atlassian.jira.permission
Interface PermissionScheme
- All Superinterfaces:
Named,NamedWithDescription,WithId
- All Known Implementing Classes:
PermissionSchemeImpl
Permission scheme is a set of rules that govern permissions for
different activities within a project.
Permission scheme consists of a list of PermissionGrants.
Each scheme has a unique name and an optional description.
Implementations of this interface are required to be immutable.
-
Field Summary
Fields inherited from interface com.atlassian.jira.util.Named
NAME_COMPARATORFields inherited from interface com.atlassian.jira.entity.WithId
ID_COMPARATOR -
Method Summary
-
Method Details
-
getId
Returns an id of the permission grant as stored in DB. -
getName
Returns the permission scheme name. -
getDescription
Returns an optional description of this scheme. If description is not defined then an empty String will be returned.- Specified by:
getDescriptionin interfaceNamedWithDescription- Returns:
- non-null String, may be empty.
-
getPermissions
Returns a collection of permission grants defined in this scheme.
-