@Deprecated public class SpaceUtils extends Object
| Constructor and Description |
|---|
SpaceUtils()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
static String |
getUsernameFromPersonalSpaceKey(String key)
Deprecated.
since 5.2. Instead use the spaceManager to retrieve the space (
SpaceManager.getSpace(String)) and
then retrieve the creator (ConfluenceEntityObject.getCreator()). From 5.3 onwards this method could well return the wrong username
(if a user was renamed). |
public static String getUsernameFromPersonalSpaceKey(String key)
SpaceManager.getSpace(String)) and
then retrieve the creator (ConfluenceEntityObject.getCreator()). From 5.3 onwards this method could well return the wrong username
(if a user was renamed).key - the personal space keyIllegalArgumentException - if key is valid. Please check with Space.isValidPersonalSpaceKey(String) first.Copyright © 2003–2019 Atlassian. All rights reserved.