public class ProjectPermissionTypesManagerImpl extends Object implements ProjectPermissionTypesManager, Startable
| Constructor and Description |
|---|
ProjectPermissionTypesManagerImpl(PluginModuleTrackerFactory trackerFactory) |
| 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.
|
void |
onClearCache(ClearCacheEvent event) |
void |
start()
This method will be called after the plugin system is fully initialised and all components added to the
dependency injection framework.
|
Collection<ProjectPermission> |
withCategory(ProjectPermissionCategory category) |
com.atlassian.fugue.Option<ProjectPermission> |
withKey(ProjectPermissionKey permissionKey)
Returns a project permission matching the specified key.
|
public ProjectPermissionTypesManagerImpl(PluginModuleTrackerFactory trackerFactory)
@EventListener public void onClearCache(ClearCacheEvent event)
public void start()
Startablepublic Collection<ProjectPermission> all()
all in interface ProjectPermissionTypesManagerpublic Collection<ProjectPermission> withCategory(ProjectPermissionCategory category)
withCategory in interface ProjectPermissionTypesManagercategory - project permission category.public com.atlassian.fugue.Option<ProjectPermission> withKey(ProjectPermissionKey permissionKey)
ProjectPermissionTypesManagerwithKey in interface ProjectPermissionTypesManagerpermissionKey - A project permission key.Option.none() if there is no permission with this key.public boolean exists(ProjectPermissionKey permissionKey)
ProjectPermissionTypesManagerexists in interface ProjectPermissionTypesManagerpermissionKey - A project permission key.Copyright © 2002-2017 Atlassian. All Rights Reserved.