|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Method Summary | |
SpaceGroup |
createSpaceGroup(String key,
String name,
String creatorName)
|
com.atlassian.license.License |
getLicenseForSpace(String spaceKey)
Get the license attached to the group of the space. |
com.atlassian.license.License |
getLicenseForSpaceGroup(String spaceGroupKey)
Get the license attached to the space group and create a new license object |
SpaceGroup |
getSpaceGroup(long id)
Retrieve a space by its ID. |
SpaceGroup |
getSpaceGroup(String spaceGroupKey)
Retrieve a spaceGroup by its key. |
com.atlassian.license.License |
getSpaceGroupLicense(SpaceGroup spaceGroup)
Retrieves a license stored against a given SpaceGroup |
List |
getSpaceGroups()
Retrieves all SpaceGroups in the system |
void |
removeSpaceGroup(SpaceGroup spaceGroup,
boolean removeSpaces)
Removes the spaceGroup without removing the space. |
void |
removeSpaceGroupLicense(SpaceGroup spaceGroup)
Removes the license key from the given spaceGroup |
void |
saveSpaceGroup(SpaceGroup spaceGroup)
|
void |
setSpaceGroupLicense(SpaceGroup spaceGroup,
String licenseKey)
Stores a license key against a given SpaceGroup |
Method Detail |
public SpaceGroup createSpaceGroup(String key, String name, String creatorName)
public void saveSpaceGroup(SpaceGroup spaceGroup)
public void removeSpaceGroup(SpaceGroup spaceGroup, boolean removeSpaces)
spaceGroup
- removeSpaces
- public SpaceGroup getSpaceGroup(long id)
id
- the ID of the space
public SpaceGroup getSpaceGroup(String spaceGroupKey)
spaceGroupKey
- the key of the spaceGroup to retrieve
public com.atlassian.license.License getSpaceGroupLicense(SpaceGroup spaceGroup)
spaceGroup
- SpaceGroup to retrieve the License from
public void setSpaceGroupLicense(SpaceGroup spaceGroup, String licenseKey) throws com.atlassian.license.LicenseException
spaceGroup
- SpaceGroup to store the license againstlicenseKey
- String of the license key
com.atlassian.license.LicenseException
public void removeSpaceGroupLicense(SpaceGroup spaceGroup)
spaceGroup
- public List getSpaceGroups()
public com.atlassian.license.License getLicenseForSpaceGroup(String spaceGroupKey)
spaceGroupKey
- key of the space group
public com.atlassian.license.License getLicenseForSpace(String spaceKey)
spaceKey
- key of the space
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |