public class

GlobalPermissionTypesManagerImpl

extends Object
implements Startable GlobalPermissionTypesManager
java.lang.Object
   ↳ com.atlassian.jira.security.plugin.GlobalPermissionTypesManagerImpl

Summary

Public Constructors
GlobalPermissionTypesManagerImpl(PluginAccessor pluginAccessor, PluginEventManager pluginEventManager)
Public Methods
Collection<GlobalPermissionType> getAll()
Returns all global permissions defined in this JIRA instance.
Option<GlobalPermissionType> getGlobalPermission(String permissionKey)
Returns the details of the given Global Permission.
Option<GlobalPermissionType> getGlobalPermission(GlobalPermissionKey permissionKey)
Returns the details of the given Global Permission.
@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.
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.atlassian.jira.extension.Startable
From interface com.atlassian.jira.security.plugin.GlobalPermissionTypesManager

Public Constructors

public GlobalPermissionTypesManagerImpl (PluginAccessor pluginAccessor, PluginEventManager pluginEventManager)

Public Methods

public Collection<GlobalPermissionType> getAll ()

Returns all global permissions defined in this JIRA instance.

Returns
  • all global permissions defined by plugins including system permissions.

public Option<GlobalPermissionType> getGlobalPermission (String permissionKey)

Returns the details of the given Global Permission.

Parameters
permissionKey the String based permission key
Returns
  • the global permission object for the provided permissionKey.

public Option<GlobalPermissionType> getGlobalPermission (GlobalPermissionKey permissionKey)

Returns the details of the given Global Permission.

Parameters
permissionKey the GlobalPermissionKey representing this Global Permission.
Returns
  • the global permission object for the provided permissionKey.

@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.

Throws
Exception