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 java.lang.Object


Constructor Summary
SpaceUtils()
          Deprecated.  
 
Method Summary
static java.lang.String getUsernameFromPersonalSpaceKey(java.lang.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 java.lang.String getUsernameFromPersonalSpaceKey(java.lang.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:
java.lang.IllegalArgumentException - if key is valid. Please check with Space.isValidPersonalSpaceKey(String) first.


Copyright © 2003-2013 Atlassian. All Rights Reserved.