Package com.atlassian.confluence.spaces
Class DefaultSpaceGroupManager
java.lang.Object
com.atlassian.confluence.spaces.DefaultSpaceGroupManager
- All Implemented Interfaces:
SpaceGroupManager
Deprecated.
-
Constructor Summary
Constructors -
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.Currently this method will return a all spacegroups the user has access to.voidremoveSpaceGroup(SpaceGroup spaceGroup, boolean removeSpaces) Deprecated.Removes the spaceGroup without removing the space.voidsaveSpaceGroup(SpaceGroup spaceGroup) Deprecated.
-
Constructor Details
-
DefaultSpaceGroupManager
public DefaultSpaceGroupManager()Deprecated.
-
-
Method Details
-
createSpaceGroup
Deprecated.Description copied from interface:SpaceGroupManagerCreate a Space Group- Specified by:
createSpaceGroupin interfaceSpaceGroupManager
-
createSpaceGroup
Deprecated.Description copied from interface:SpaceGroupManagerCreate a space Group- Specified by:
createSpaceGroupin interfaceSpaceGroupManager
-
saveSpaceGroup
Deprecated.- Specified by:
saveSpaceGroupin interfaceSpaceGroupManager
-
removeSpaceGroup
Deprecated.Description copied from interface:SpaceGroupManagerRemoves the spaceGroup without removing the space. The contained spaces will be without a spaceGroup.- Specified by:
removeSpaceGroupin interfaceSpaceGroupManager
-
getSpaceGroup
Deprecated.Description copied from interface:SpaceGroupManagerRetrieve a space by its ID. The space can be of any type.- Specified by:
getSpaceGroupin interfaceSpaceGroupManager- Parameters:
id- the ID of the space- Returns:
- the space, or null if no space exists with that id.
-
getSpaceGroup
Deprecated.Description copied from interface:SpaceGroupManagerRetrieve a spaceGroup by its key.- Specified by:
getSpaceGroupin interfaceSpaceGroupManager- Parameters:
spaceGroupKey- the key of the spaceGroup to retrieve- Returns:
- the spaceGroup, or null if no spaceGroup exists with that key
-
getSpaceGroups
Deprecated.Description copied from interface:SpaceGroupManagerRetrieves all SpaceGroups in the system- Specified by:
getSpaceGroupsin interfaceSpaceGroupManager- Returns:
- List of SpaceGroup objects
-
getSpaceGroupsForUser
Deprecated.Currently this method will return a all spacegroups the user has access to. Not matter what permission they have.- Specified by:
getSpaceGroupsForUserin interfaceSpaceGroupManager- Parameters:
username- The name of the user- Returns:
- Set of
SpaceGroups
-
SpaceGroupand related classes likeSpaceGroupManagerandSpaceGroupComparatorwill be removed. Please do not use them.