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) |
io.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()
Startable
public Collection<ProjectPermission> all()
all
in interface ProjectPermissionTypesManager
public Collection<ProjectPermission> withCategory(ProjectPermissionCategory category)
withCategory
in interface ProjectPermissionTypesManager
category
- project permission category.public io.atlassian.fugue.Option<ProjectPermission> withKey(ProjectPermissionKey permissionKey)
ProjectPermissionTypesManager
withKey
in interface ProjectPermissionTypesManager
permissionKey
- A project permission key.Option.none()
if there is no permission with this key.public boolean exists(ProjectPermissionKey permissionKey)
ProjectPermissionTypesManager
exists
in interface ProjectPermissionTypesManager
permissionKey
- A project permission key.Copyright © 2002-2024 Atlassian. All Rights Reserved.