public class

ProjectPermissionTypesManagerImpl

extends Object
implements Startable ProjectPermissionTypesManager
java.lang.Object
   ↳ com.atlassian.jira.security.plugin.ProjectPermissionTypesManagerImpl

Summary

Public Constructors
ProjectPermissionTypesManagerImpl(PluginModuleTrackerFactory trackerFactory)
Public Methods
Collection<ProjectPermission> all()
boolean exists(ProjectPermissionKey permissionKey)
Returns a boolean value indicating whether a project permission with the given key exists.
@EventListener void onClearCache(ClearCacheEvent event)
void start()
This method wil be called after the plugin system is fully initialised and all components added to the dependency injection framework.
Collection<ProjectPermission> withCategory(ProjectPermissionCategory category)
Option<ProjectPermission> withKey(ProjectPermissionKey permissionKey)
Returns a project permission matching the specified key.
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.atlassian.jira.extension.Startable
From interface com.atlassian.jira.security.plugin.ProjectPermissionTypesManager

Public Constructors

public ProjectPermissionTypesManagerImpl (PluginModuleTrackerFactory trackerFactory)

Public Methods

public Collection<ProjectPermission> all ()

public boolean exists (ProjectPermissionKey permissionKey)

Returns a boolean value indicating whether a project permission with the given key exists.

Parameters
permissionKey A project permission key.
Returns
  • true if the permission with the given key exists, otherwise false.

@EventListener public void onClearCache (ClearCacheEvent event)

public void start ()

This method wil be called after the plugin system is fully initialised and all components added to the dependency injection framework.

public Collection<ProjectPermission> withCategory (ProjectPermissionCategory category)

public Option<ProjectPermission> withKey (ProjectPermissionKey permissionKey)

Returns a project permission matching the specified key.

Parameters
permissionKey A project permission key.
Returns
  • a project permission for the given permission key. none() if there is no permission with this key.