| 
||||||||||
| 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 java.lang.String | 
OLD_SPACE_LICENSE_KEY
 | 
static java.lang.String | 
SPACE_LICENSE_KEY
 | 
| Method Summary | |
|---|---|
 com.atlassian.license.License | 
getLicenseForSpace(java.lang.String spaceKey)
Retrieve a Confluence license attached to a space.  | 
 java.lang.String | 
getLicenseKeyForSpace(java.lang.String spaceKey)
Retrieve the license key of a license attached to a space  | 
 int | 
getUserLimit(java.lang.String spaceKey)
Get the userlimit within a space based on the license attached.  | 
 void | 
removeLicenseFromSpace(java.lang.String spaceKey)
removes an evaluation license from the space converting it into a standard space  | 
 void | 
setLicenseOnSpace(java.lang.String spaceKey,
                  java.lang.String licenseKey)
Store a Confluence license against a space  | 
| Field Detail | 
|---|
static final java.lang.String SPACE_LICENSE_KEY
static final java.lang.String OLD_SPACE_LICENSE_KEY
| Method Detail | 
|---|
int getUserLimit(java.lang.String spaceKey)
spaceKey - key of the space
com.atlassian.license.License getLicenseForSpace(java.lang.String spaceKey)
spaceKey - The space key
java.lang.String getLicenseKeyForSpace(java.lang.String spaceKey)
spaceKey - The space key
void setLicenseOnSpace(java.lang.String spaceKey,
                       java.lang.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(java.lang.String spaceKey)
spaceKey - The space key
  | 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||