|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SpaceLicenseManager
The SpaceLicenseManager handles requests to licenses attached to a space.
Licenses on a space keep track of the number of users allowed within the space and other license details
Field Summary | |
---|---|
static String |
OLD_SPACE_LICENSE_KEY
|
static String |
SPACE_LICENSE_KEY
|
Method Summary | |
---|---|
com.atlassian.license.License |
getLicenseForSpace(String spaceKey)
Retrieve a Confluence license attached to a space. |
String |
getLicenseKeyForSpace(String spaceKey)
Retrieve the license key of a license attached to a space |
int |
getUserLimit(String spaceKey)
Get the userlimit within a space based on the license attached. |
void |
removeLicenseFromSpace(String spaceKey)
removes an evaluation license from the space converting it into a standard space |
void |
setLicenseOnSpace(String spaceKey,
String licenseKey)
Store a Confluence license against a space |
Field Detail |
---|
static final String SPACE_LICENSE_KEY
static final String OLD_SPACE_LICENSE_KEY
Method Detail |
---|
int getUserLimit(String spaceKey)
spaceKey
- key of the space
com.atlassian.license.License getLicenseForSpace(String spaceKey)
spaceKey
- The space key
String getLicenseKeyForSpace(String spaceKey)
spaceKey
- The space key
void setLicenseOnSpace(String spaceKey, String licenseKey) throws com.atlassian.license.LicenseException
spaceKey
- The space keylicenseKey
- The Confluence license
com.atlassian.license.LicenseException
- throws a license exception if the license is not validvoid removeLicenseFromSpace(String spaceKey)
spaceKey
- The space key
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |