|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.atlassian.confluence.spaces.DefaultSpaceLicenseManager
public class DefaultSpaceLicenseManager
| Field Summary |
|---|
| Fields inherited from interface com.atlassian.confluence.spaces.SpaceLicenseManager |
|---|
OLD_SPACE_LICENSE_KEY, SPACE_LICENSE_KEY |
| Constructor Summary | |
|---|---|
DefaultSpaceLicenseManager()
|
|
| Method Summary | |
|---|---|
com.atlassian.license.License |
getLicenseForSpace(String spaceKey)
Get the license key attached to the space and create a new license object |
String |
getLicenseKeyForSpace(String spaceKey)
We changed the key to store the space license. |
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 |
setBandanaManager(com.atlassian.bandana.BandanaManager bandanaManager)
|
void |
setLicenseOnSpace(String spaceKey,
String licenseKey)
Store a Confluence license against a space |
void |
setMessageManager(MessageManager messageManager)
|
void |
setSpaceManager(SpaceManager spaceManager)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DefaultSpaceLicenseManager()
| Method Detail |
|---|
public int getUserLimit(String spaceKey)
SpaceLicenseManager
getUserLimit in interface SpaceLicenseManagerspaceKey - key of the space
public com.atlassian.license.License getLicenseForSpace(String spaceKey)
getLicenseForSpace in interface SpaceLicenseManagerspaceKey - The space key
public String getLicenseKeyForSpace(String spaceKey)
getLicenseKeyForSpace in interface SpaceLicenseManagerspaceKey - The space key
public void setLicenseOnSpace(String spaceKey,
String licenseKey)
throws com.atlassian.license.LicenseException
SpaceLicenseManager
setLicenseOnSpace in interface SpaceLicenseManagerspaceKey - The space keylicenseKey - The Confluence license
com.atlassian.license.LicenseException - throws a license exception if the license is not validpublic void removeLicenseFromSpace(String spaceKey)
SpaceLicenseManager
removeLicenseFromSpace in interface SpaceLicenseManagerspaceKey - The space keypublic void setBandanaManager(com.atlassian.bandana.BandanaManager bandanaManager)
public void setMessageManager(MessageManager messageManager)
public void setSpaceManager(SpaceManager spaceManager)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||