com.atlassian.jira.security.plugin
Interface GlobalPermissionTypesManager

All Known Implementing Classes:
GlobalPermissionTypesManagerImpl, MockGlobalPermissionTypeManager

public interface GlobalPermissionTypesManager

Manages global permissions defined by plugins. System Global Permissions are also defined here


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.
 

Method Detail

getAll

Collection<GlobalPermissionType> getAll()
Returns all global permissions defined in this JIRA instance.

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

getGlobalPermission

com.atlassian.fugue.Option<GlobalPermissionType> getGlobalPermission(@Nonnull
                                                                     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.

getGlobalPermission

com.atlassian.fugue.Option<GlobalPermissionType> getGlobalPermission(@Nonnull
                                                                     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.


Copyright © 2002-2014 Atlassian. All Rights Reserved.