public interface ApplicationRoleAdminService
ApplicationRole
management functionality.Modifier and Type | Field and Description |
---|---|
static String |
ERROR_DEFAULT_GROUPS
The key for any defaultGroup related errors reported.
|
static String |
ERROR_GROUPS
The key for any group related errors reported.
|
Modifier and Type | Method and Description |
---|---|
ServiceOutcome<ApplicationRole> |
getRole(com.atlassian.application.api.ApplicationKey key)
Return the
ApplicationRole backed by a (potentially exceeded) license. |
ServiceOutcome<Set<ApplicationRole>> |
getRoles()
Returns an immutable
Set of all ApplicationRole s
that are backed by a (potentially exceeded) license. |
ServiceOutcome<ApplicationRole> |
setRole(ApplicationRole role)
Save the passed
ApplicationRole information to the database. |
ServiceOutcome<Set<ApplicationRole>> |
setRoles(Collection<ApplicationRole> roles)
Save the passed list of
ApplicationRole information to the database. |
static final String ERROR_GROUPS
static final String ERROR_DEFAULT_GROUPS
@Nonnull ServiceOutcome<Set<ApplicationRole>> getRoles()
Set
of all ApplicationRole
s
that are backed by a (potentially exceeded) license.Set
of all ApplicationRole
s that are backed by a (potentially exceeded) license
or an error.ServiceOutcome<Set<ApplicationRole>> setRoles(@Nonnull Collection<ApplicationRole> roles)
ApplicationRole
information to the database.
This method will only accept the passed role if:
roles
- the roles to save@Nonnull ServiceOutcome<ApplicationRole> getRole(@Nonnull com.atlassian.application.api.ApplicationKey key)
ApplicationRole
backed by a (potentially exceeded) license.key
- the key that identifies the ApplicationRole
.ApplicationRole
that is backed by a (potentially exceeded)
license or an error if not possible.@Nonnull ServiceOutcome<ApplicationRole> setRole(@Nonnull ApplicationRole role)
ApplicationRole
information to the database.
This method will only accept the passed role if:
role
- the role to save.Copyright © 2002-2017 Atlassian. All Rights Reserved.