public class OfBizLicenseRoleStore extends Object implements LicenseRoleStore
LicenseRoleStore.LicenseRoleData| Constructor and Description |
|---|
OfBizLicenseRoleStore(OfBizDelegator delegator) |
| Modifier and Type | Method and Description |
|---|---|
LicenseRoleStore.LicenseRoleData |
get(LicenseRoleId id)
Get the
LicenseRoleStore.LicenseRoleData for the passed
LicenseRoleId. |
void |
removeGroup(String groupName)
Removes the association of the given group from all license roles in the database.
|
LicenseRoleStore.LicenseRoleData |
save(LicenseRoleStore.LicenseRoleData data)
Save the passed
LicenseRoleStore.LicenseRoleData to the database. |
public OfBizLicenseRoleStore(@Nonnull OfBizDelegator delegator)
@Nonnull public LicenseRoleStore.LicenseRoleData get(@Nonnull LicenseRoleId id)
LicenseRoleStoreLicenseRoleStore.LicenseRoleData for the passed
LicenseRoleId.get in interface LicenseRoleStoreid - the ID to search for.
The LicenseRoleStore.LicenseRoleData for the passed
LicenseRoleId.@Nonnull public LicenseRoleStore.LicenseRoleData save(@Nonnull LicenseRoleStore.LicenseRoleData data)
LicenseRoleStoreLicenseRoleStore.LicenseRoleData to the database.save in interface LicenseRoleStoredata - the data to save to the database.LicenseRoleStore.LicenseRoleData as saved in the database.public void removeGroup(@Nonnull String groupName)
LicenseRoleStoreremoveGroup in interface LicenseRoleStoregroupName - the name of the group to remove.Copyright © 2002-2015 Atlassian. All Rights Reserved.