com.atlassian.confluence.spaces
Class SpaceUtils

java.lang.Object
  extended by com.atlassian.confluence.spaces.SpaceUtils

Deprecated. since 5.2

@Deprecated
public class SpaceUtils
extends Object


Constructor Summary
SpaceUtils()
          Deprecated.  
 
Method Summary
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).
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SpaceUtils

public SpaceUtils()
Deprecated. 
Method Detail

getUsernameFromPersonalSpaceKey

public 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).

Retrieves the username from a personal space key

Parameters:
key - the personal space key
Returns:
the username from a personal space key
Throws:
IllegalArgumentException - if key is valid. Please check with Space.isValidPersonalSpaceKey(String) first.


Copyright © 2003–2015 Atlassian. All rights reserved.