SpaceGroup and related classes like
SpaceGroupManager and
SpaceGroupComparator will be removed.
Please do not use them.
@Deprecated public class DefaultSpaceGroupManager extends Object implements SpaceGroupManager
| Constructor and Description |
|---|
DefaultSpaceGroupManager()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
SpaceGroup |
createSpaceGroup(String key,
String name)
Deprecated.
Create a Space Group
|
SpaceGroup |
createSpaceGroup(String key,
String name,
String creatorName)
Deprecated.
Create a space Group
|
SpaceGroup |
getSpaceGroup(long id)
Deprecated.
Retrieve a space by its ID.
|
SpaceGroup |
getSpaceGroup(String spaceGroupKey)
Deprecated.
Retrieve a spaceGroup by its key.
|
List |
getSpaceGroups()
Deprecated.
Retrieves all SpaceGroups in the system
|
Set<SpaceGroup> |
getSpaceGroupsForUser(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.
|
public SpaceGroup createSpaceGroup(String key, String name)
SpaceGroupManagercreateSpaceGroup in interface SpaceGroupManagerpublic SpaceGroup createSpaceGroup(String key, String name, String creatorName)
SpaceGroupManagercreateSpaceGroup in interface SpaceGroupManagerpublic void saveSpaceGroup(SpaceGroup spaceGroup)
saveSpaceGroup in interface SpaceGroupManagerpublic void removeSpaceGroup(SpaceGroup spaceGroup, boolean removeSpaces)
SpaceGroupManagerremoveSpaceGroup in interface SpaceGroupManagerpublic SpaceGroup getSpaceGroup(long id)
SpaceGroupManagergetSpaceGroup in interface SpaceGroupManagerid - the ID of the spacepublic SpaceGroup getSpaceGroup(String spaceGroupKey)
SpaceGroupManagergetSpaceGroup in interface SpaceGroupManagerspaceGroupKey - the key of the spaceGroup to retrievepublic List getSpaceGroups()
SpaceGroupManagergetSpaceGroups in interface SpaceGroupManagerpublic Set<SpaceGroup> getSpaceGroupsForUser(String username)
getSpaceGroupsForUser in interface SpaceGroupManagerusername - The name of the userSpaceGroupsCopyright © 2003–2021 Atlassian. All rights reserved.