java.lang.Object | |
↳ | com.atlassian.jira.license.DefaultLicenseRoleManager |
Default implementation of LicenseRoleManager
.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Returns the
Collection of all currently defined LicenseRoleDefinition s. | |||||||||||
Retrieves the groups for the specified license role.
| |||||||||||
Return the LicenseRoleDefinition associated with the passed
LicenseRoleId or
absent() if it does not exist. | |||||||||||
Determines whether a provided license role is defined.
| |||||||||||
Determines whether a group is associated with a license role.
| |||||||||||
Set the groups associated with the passed
LicenseRoleId . |
[Expand]
Inherited Methods | |||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||||||||||||||
![]()
|
Returns the Collection
of all currently defined LicenseRoleDefinition
s. Specifically, this is all
LicenseRoleDefinition
s that are declared to exist throughout the whole system, even if they do not have a valid license.
Set
of currently known LicenseRoleDefinition
s.
Retrieves the groups for the specified license role.
licenseRoleId | the license role to retrieve the groups for. |
---|
Return the LicenseRoleDefinition associated with the passed LicenseRoleId
or
absent()
if it does not exist.
licenseRoleId | the license role to check for. |
---|
LicenseRoleId
.
Determines whether a provided license role is defined. Specifically, this will check all LicenseRoleDefinition
s
that are declared to exist throughout the whole system, even if they do not have a valid license.
licenseRoleId | the license role to check for. |
---|
Determines whether a group is associated with a license role.
licenseRoleId | the license role to check for. Must not be null. |
---|---|
groupId | the group to check for. Must not be null. |
Set the groups associated with the passed LicenseRoleId
.
licenseRoleId | the id of the license role to update. |
---|---|
groups | the groups to associated with the passed license role. |