public interface ApplicationRoleStore
ApplicationRoleStore.ApplicationRoleData
.Modifier and Type | Interface and Description |
---|---|
static class |
ApplicationRoleStore.ApplicationRoleData |
Modifier and Type | Method and Description |
---|---|
ApplicationRoleStore.ApplicationRoleData |
get(com.atlassian.application.api.ApplicationKey key)
Get the
ApplicationRoleStore.ApplicationRoleData for the passed
ApplicationKey . |
void |
removeByKey(com.atlassian.application.api.ApplicationKey key)
Remove the
ApplicationRoleStore.ApplicationRoleData associated with provided application key. |
void |
removeGroup(String groupName)
Removes the association of the given group from all application roles in the database.
|
ApplicationRoleStore.ApplicationRoleData |
save(ApplicationRoleStore.ApplicationRoleData data)
Save the passed
ApplicationRoleStore.ApplicationRoleData to the database. |
@Nonnull ApplicationRoleStore.ApplicationRoleData get(@Nonnull com.atlassian.application.api.ApplicationKey key)
ApplicationRoleStore.ApplicationRoleData
for the passed
ApplicationKey
.key
- the key to search for.ApplicationRoleStore.ApplicationRoleData
for the passed
ApplicationKey
.@Nonnull ApplicationRoleStore.ApplicationRoleData save(@Nonnull ApplicationRoleStore.ApplicationRoleData data)
ApplicationRoleStore.ApplicationRoleData
to the database.data
- the data to save to the database.ApplicationRoleStore.ApplicationRoleData
as saved in the database.void removeGroup(@Nonnull String groupName)
groupName
- the name of the group to remove.void removeByKey(@Nonnull com.atlassian.application.api.ApplicationKey key)
ApplicationRoleStore.ApplicationRoleData
associated with provided application key.key
- the key that represents the ApplicationRoleStore.ApplicationRoleData
to be
removed.Copyright © 2002-2018 Atlassian. All Rights Reserved.