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.void
removeSpaceGroup
(SpaceGroup spaceGroup, boolean removeSpaces) Deprecated.Removes the spaceGroup without removing the space.void
saveSpaceGroup
(SpaceGroup spaceGroup) Deprecated.
-
Constructor Details
-
DefaultSpaceGroupManager
public DefaultSpaceGroupManager()Deprecated.
-
-
Method Details
-
createSpaceGroup
Deprecated.Description copied from interface:SpaceGroupManager
Create a Space Group- Specified by:
createSpaceGroup
in interfaceSpaceGroupManager
-
createSpaceGroup
Deprecated.Description copied from interface:SpaceGroupManager
Create a space Group- Specified by:
createSpaceGroup
in interfaceSpaceGroupManager
-
saveSpaceGroup
Deprecated.- Specified by:
saveSpaceGroup
in interfaceSpaceGroupManager
-
removeSpaceGroup
Deprecated.Description copied from interface:SpaceGroupManager
Removes the spaceGroup without removing the space. The contained spaces will be without a spaceGroup.- Specified by:
removeSpaceGroup
in interfaceSpaceGroupManager
-
getSpaceGroup
Deprecated.Description copied from interface:SpaceGroupManager
Retrieve a space by its ID. The space can be of any type.- Specified by:
getSpaceGroup
in 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:SpaceGroupManager
Retrieve a spaceGroup by its key.- Specified by:
getSpaceGroup
in 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:SpaceGroupManager
Retrieves all SpaceGroups in the system- Specified by:
getSpaceGroups
in 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:
getSpaceGroupsForUser
in interfaceSpaceGroupManager
- Parameters:
username
- The name of the user- Returns:
- Set of
SpaceGroup
s
-
SpaceGroup
and related classes likeSpaceGroupManager
andSpaceGroupComparator
will be removed. Please do not use them.