|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.jira.security.plugin.GlobalPermissionTypesManagerImpl
public class GlobalPermissionTypesManagerImpl
Constructor Summary | |
---|---|
GlobalPermissionTypesManagerImpl(com.atlassian.plugin.PluginAccessor pluginAccessor,
com.atlassian.plugin.event.PluginEventManager pluginEventManager)
|
Method Summary | |
---|---|
Collection<GlobalPermissionType> |
getAll()
Returns all global permissions defined in this JIRA instance. |
com.atlassian.fugue.Option<GlobalPermissionType> |
getGlobalPermission(GlobalPermissionKey permissionKey)
Returns the details of the given Global Permission. |
com.atlassian.fugue.Option<GlobalPermissionType> |
getGlobalPermission(String permissionKey)
Returns the details of the given Global Permission. |
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GlobalPermissionTypesManagerImpl(com.atlassian.plugin.PluginAccessor pluginAccessor, com.atlassian.plugin.event.PluginEventManager pluginEventManager)
Method Detail |
---|
@EventListener public void onClearCache(ClearCacheEvent event)
public void start() throws Exception
Startable
start
in interface Startable
Exception
- Allows implementations to throw an Exception.public Collection<GlobalPermissionType> getAll()
GlobalPermissionTypesManager
getAll
in interface GlobalPermissionTypesManager
public com.atlassian.fugue.Option<GlobalPermissionType> getGlobalPermission(@Nonnull String permissionKey)
GlobalPermissionTypesManager
getGlobalPermission
in interface GlobalPermissionTypesManager
permissionKey
- the String based permission key
public com.atlassian.fugue.Option<GlobalPermissionType> getGlobalPermission(@Nonnull GlobalPermissionKey permissionKey)
GlobalPermissionTypesManager
getGlobalPermission
in interface GlobalPermissionTypesManager
permissionKey
- the GlobalPermissionKey representing this Global Permission.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |