public interface ProjectPermissionTypesManager
Modifier and Type | Method and Description |
---|---|
Collection<ProjectPermission> |
all() |
boolean |
exists(ProjectPermissionKey permissionKey)
Returns a boolean value indicating whether a project permission
with the given key exists.
|
Collection<ProjectPermission> |
withCategory(ProjectPermissionCategory category) |
com.atlassian.fugue.Option<ProjectPermission> |
withKey(ProjectPermissionKey permissionKey)
Returns a project permission matching the specified key.
|
Collection<ProjectPermission> all()
Collection<ProjectPermission> withCategory(ProjectPermissionCategory category)
category
- project permission category.com.atlassian.fugue.Option<ProjectPermission> withKey(ProjectPermissionKey permissionKey)
permissionKey
- A project permission key.Option.none()
if there is no permission with this key.boolean exists(ProjectPermissionKey permissionKey)
permissionKey
- A project permission key.Copyright © 2002-2016 Atlassian. All Rights Reserved.