Package com.atlassian.confluence.spaces
Interface SpaceGroupManager
- All Known Implementing Classes:
DefaultSpaceGroupManager
Deprecated.
-
Method Summary
Modifier and TypeMethodDescriptioncreateSpaceGroup(String key, String name) Deprecated.Create a Space GroupcreateSpaceGroup(String key, String name, String creatorName) Deprecated.Create a space GroupgetSpaceGroup(long id) Deprecated.Retrieve a space by its ID.getSpaceGroup(String spaceGroupKey) Deprecated.Retrieve a spaceGroup by its key.Deprecated.Retrieves all SpaceGroups in the systemgetSpaceGroupsForUser(String username) Deprecated.voidremoveSpaceGroup(SpaceGroup spaceGroup, boolean removeSpaces) Deprecated.Removes the spaceGroup without removing the space.voidsaveSpaceGroup(SpaceGroup spaceGroup) Deprecated.
-
Method Details
-
createSpaceGroup
Deprecated.Create a Space Group -
createSpaceGroup
Deprecated.Create a space Group -
saveSpaceGroup
Deprecated. -
removeSpaceGroup
Deprecated.Removes the spaceGroup without removing the space. The contained spaces will be without a spaceGroup. -
getSpaceGroup
Deprecated.Retrieve a space by its ID. The space can be of any type.- Parameters:
id- the ID of the space- Returns:
- the space, or null if no space exists with that id.
-
getSpaceGroup
Deprecated.Retrieve a spaceGroup by its key.- Parameters:
spaceGroupKey- the key of the spaceGroup to retrieve- Returns:
- the spaceGroup, or null if no spaceGroup exists with that key
-
getSpaceGroups
Deprecated.Retrieves all SpaceGroups in the system- Returns:
- List of SpaceGroup objects
-
getSpaceGroupsForUser
Deprecated.- Returns:
- a set of space groups for the specified user, and empty set if none found.
- Throws:
IllegalArgumentException- if username is null
-
SpaceGroupand related classes likeSpaceGroupManagerandSpaceGroupComparatorwill be removed. Please do not use them.