Package | Description |
---|---|
com.atlassian.jira.bc.license | |
com.atlassian.jira.license | |
com.atlassian.jira.plugin.license |
Modifier and Type | Method and Description |
---|---|
LicenseRoleId |
MockLicenseRole.getId() |
Modifier and Type | Method and Description |
---|---|
boolean |
LicenseRoleAuthorizationServiceImpl.canUseRole(ApplicationUser user,
LicenseRoleId role) |
boolean |
LicenseRoleAuthorizationService.canUseRole(ApplicationUser user,
LicenseRoleId role)
Returns true if the given user has been assigned to the given role and the role is
backed by a license that grants that role.
|
ServiceOutcome<LicenseRole> |
MockLicenseRoleService.getRole(LicenseRoleId licenseRoleId) |
ServiceOutcome<LicenseRole> |
DefaultLicenseRoleService.getRole(LicenseRoleId id) |
ServiceOutcome<LicenseRole> |
LicenseRoleAdminService.getRole(LicenseRoleId licenseRoleId)
Return the
LicenseRole identified by the passed
LicenseRoleId . |
int |
LicenseRoleAuthorizationServiceImpl.getUserCount(LicenseRoleId roleId) |
int |
LicenseRoleAuthorizationService.getUserCount(LicenseRoleId roleId)
Retrieve the number of active users for a specific license role (product).
|
MockLicenseRole |
MockLicenseRole.id(LicenseRoleId id) |
boolean |
LicenseRoleAuthorizationServiceImpl.isAuthenticated(ApplicationUser user,
LicenseRoleId role)
Deprecated.
|
boolean |
LicenseRoleAuthorizationService.isAuthenticated(ApplicationUser user,
LicenseRoleId licenseRoleId)
|
boolean |
LicenseRoleAuthorizationServiceImpl.isAuthenticated(LicenseRoleId role)
Deprecated.
|
boolean |
LicenseRoleAuthorizationService.isAuthenticated(LicenseRoleId role)
|
boolean |
LicenseRoleAuthorizationServiceImpl.isLicenseRoleInstalled(LicenseRoleId role) |
boolean |
LicenseRoleAuthorizationService.isLicenseRoleInstalled(LicenseRoleId role)
Deprecated.
|
ServiceOutcome<LicenseRole> |
MockLicenseRoleService.setGroups(LicenseRoleId licenseRoleId,
Iterable<String> groups) |
ServiceOutcome<LicenseRole> |
DefaultLicenseRoleService.setGroups(LicenseRoleId licenseRoleId,
Iterable<String> groups) |
ServiceOutcome<LicenseRole> |
LicenseRoleAdminService.setGroups(LicenseRoleId licenseRoleId,
Iterable<String> groups)
Deprecated.
|
boolean |
MockLicenseRoleService.userHasRole(ApplicationUser user,
LicenseRoleId licenseRoleId) |
boolean |
DefaultLicenseRoleService.userHasRole(ApplicationUser user,
LicenseRoleId licenseRoleId) |
boolean |
LicenseRoleService.userHasRole(ApplicationUser user,
LicenseRoleId licenseRoleId)
|
Modifier and Type | Method and Description |
---|---|
LicenseRoleId |
LicenseRoleStore.LicenseRoleData.getId() |
LicenseRoleId |
LicenseRole.getId()
Returns the canonical
LicenseRoleId that uniquely identifies this LicenseRole . |
LicenseRoleId |
MockLicenseRoleDefinition.getLicenseRoleId() |
LicenseRoleId |
LicenseRoleDefinitionImpl.getLicenseRoleId() |
LicenseRoleId |
LicenseRoleEvent.getLicenseRoleId() |
LicenseRoleId |
LicenseRoleDefinition.getLicenseRoleId()
Retrieves the id for this definition.
|
static LicenseRoleId |
LicenseRoleId.valueOf(String id) |
Modifier and Type | Method and Description |
---|---|
Set<LicenseRoleId> |
MockLicenseRoleDetails.getIds() |
Set<LicenseRoleId> |
DefaultLicenseRoleDetails.getIds()
Returns the
license roles encoded in the present license. |
Set<LicenseRoleId> |
LicenseRoleDetails.getIds()
Returns the
license roles encoded in the present license. |
Set<LicenseRoleId> |
MockLicenseRoleDetails.getLicenseRoles() |
Set<LicenseRoleId> |
DefaultLicenseRoleDetails.getLicenseRoles()
Returns the
license roles encoded in the present license. |
Set<LicenseRoleId> |
LicenseRoleDetails.getLicenseRoles()
Deprecated.
use getIds instead
|
Modifier and Type | Method and Description |
---|---|
LicenseRoleStore.LicenseRoleData |
MockLicenseRoleStore.get(LicenseRoleId id) |
LicenseRoleStore.LicenseRoleData |
OfBizLicenseRoleStore.get(LicenseRoleId id) |
LicenseRoleStore.LicenseRoleData |
LicenseRoleStore.get(LicenseRoleId id)
Get the
LicenseRoleStore.LicenseRoleData for the passed
LicenseRoleId . |
com.atlassian.fugue.Option<LicenseRoleDefinition> |
MockLicenseRoleDefinitions.getDefinedRoleDefinition(LicenseRoleId licenseRoleId) |
com.atlassian.fugue.Option<LicenseRoleDefinition> |
PluginLicenseRoleDefinitions.getDefinedRoleDefinition(LicenseRoleId licenseRoleId) |
com.atlassian.fugue.Option<LicenseRoleDefinition> |
LicenseRoleDefinitions.getDefinedRoleDefinition(LicenseRoleId licenseRoleId)
Return the
LicenseRoleDefinition associated with the passed LicenseRoleId
provided it is defined. |
com.atlassian.fugue.Option<LicenseRoleDefinition> |
MockLicenseRoleDefinitions.getInstalledRoleDefinition(LicenseRoleId licenseRoleId) |
com.atlassian.fugue.Option<LicenseRoleDefinition> |
PluginLicenseRoleDefinitions.getInstalledRoleDefinition(LicenseRoleId licenseRoleId) |
com.atlassian.fugue.Option<LicenseRoleDefinition> |
LicenseRoleDefinitions.getInstalledRoleDefinition(LicenseRoleId licenseRoleId)
Return the
LicenseRoleDefinition associated with the passed LicenseRoleId
provided it is installed. |
com.atlassian.fugue.Option<LicenseRole> |
DefaultLicenseRoleManager.getLicenseRole(LicenseRoleId licenseRoleId) |
com.atlassian.fugue.Option<LicenseRole> |
LicenseRoleManager.getLicenseRole(LicenseRoleId licenseRoleId)
Return the installed
LicenseRole associated with the passed ID or
Option.none() if no such role exists. |
int |
DefaultLicenseRoleManager.getUserCount(LicenseRoleId roleId) |
int |
LicenseRoleManager.getUserCount(LicenseRoleId roleId)
Retrieve the number of active users for a specific license role (product).
|
int |
MockLicenseRoleDetails.getUserLimit(LicenseRoleId role) |
int |
DefaultLicenseRoleDetails.getUserLimit(LicenseRoleId role) |
int |
LicenseRoleDetails.getUserLimit(LicenseRoleId role)
Returns the number of seats for the given
LicenseRoleId . |
LicenseRoleDataMatcher |
LicenseRoleDataMatcher.id(LicenseRoleId id) |
boolean |
JiraLicenseManagerImpl.isLicensed(LicenseRoleId role) |
boolean |
JiraLicenseManager.isLicensed(LicenseRoleId role)
Returns true if the given license role is present and licensed.
|
boolean |
MockLicenseRoleDefinitions.isLicenseRoleDefined(LicenseRoleId licenseRoleId) |
boolean |
PluginLicenseRoleDefinitions.isLicenseRoleDefined(LicenseRoleId licenseRoleId) |
boolean |
LicenseRoleDefinitions.isLicenseRoleDefined(LicenseRoleId licenseRoleId)
|
boolean |
MockLicenseRoleDefinitions.isLicenseRoleInstalled(LicenseRoleId licenseRoleId) |
boolean |
PluginLicenseRoleDefinitions.isLicenseRoleInstalled(LicenseRoleId licenseRoleId) |
boolean |
LicenseRoleDefinitions.isLicenseRoleInstalled(LicenseRoleId licenseRoleId)
Return
true when the passed LicenseRoleId is installed. |
boolean |
DefaultLicenseRoleManager.isLicenseRoleInstalled(LicenseRoleId licenseRoleId) |
boolean |
LicenseRoleManager.isLicenseRoleInstalled(LicenseRoleId licenseRoleId)
Return
true when the passed LicenseRoleId is installed. |
MockLicenseRoleStore |
MockLicenseRoleStore.save(LicenseRoleId id,
String... groups) |
static MockLicenseRoleDetails |
MockLicenseRoleDetails.withLicenseRoleIds(LicenseRoleId... licenseRoleIds) |
Modifier and Type | Method and Description |
---|---|
void |
MockLicenseRoleDetails.setLicenseRoles(Set<LicenseRoleId> licenseRoleIds) |
Constructor and Description |
---|
LicenseRoleDefinedEvent(LicenseRoleId id) |
LicenseRoleDefinitionImpl(LicenseRoleId licenseRoleId,
String displayNameI18nKey,
JiraAuthenticationContext context) |
LicenseRoleStore.LicenseRoleData(LicenseRoleId id,
Iterable<String> groups,
com.atlassian.fugue.Option<String> groupName) |
LicenseRoleUndefinedEvent(LicenseRoleId id) |
MockLicenseRoleDefinition(LicenseRoleId id,
String name) |
Modifier and Type | Method and Description |
---|---|
LicenseRoleId |
LicenseRoleModuleDescriptorImpl.getLicenseRoleId() |
LicenseRoleId |
LicenseRoleModuleDescriptor.getLicenseRoleId() |
Copyright © 2002-2015 Atlassian. All Rights Reserved.