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)
SpaceGroupManager
createSpaceGroup
in interface SpaceGroupManager
public SpaceGroup createSpaceGroup(String key, String name, String creatorName)
SpaceGroupManager
createSpaceGroup
in interface SpaceGroupManager
public void saveSpaceGroup(SpaceGroup spaceGroup)
saveSpaceGroup
in interface SpaceGroupManager
public void removeSpaceGroup(SpaceGroup spaceGroup, boolean removeSpaces)
SpaceGroupManager
removeSpaceGroup
in interface SpaceGroupManager
public SpaceGroup getSpaceGroup(long id)
SpaceGroupManager
getSpaceGroup
in interface SpaceGroupManager
id
- the ID of the spacepublic SpaceGroup getSpaceGroup(String spaceGroupKey)
SpaceGroupManager
getSpaceGroup
in interface SpaceGroupManager
spaceGroupKey
- the key of the spaceGroup to retrievepublic List getSpaceGroups()
SpaceGroupManager
getSpaceGroups
in interface SpaceGroupManager
public Set<SpaceGroup> getSpaceGroupsForUser(String username)
getSpaceGroupsForUser
in interface SpaceGroupManager
username
- The name of the userSpaceGroup
sCopyright © 2003–2015 Atlassian. All rights reserved.