Class UserPathConverter
java.lang.Object
com.atlassian.confluence.servlet.simpledisplay.UserPathConverter
- All Implemented Interfaces:
PathConverter
This path converter requests for a username to either their personal space (if they have one and the
viewer has permission) or their user profile.
This path converter expects one parameter, the username with a leading '~'.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.atlassian.confluence.servlet.simpledisplay.PathConverter
getPath, handles
-
Constructor Details
-
UserPathConverter
public UserPathConverter()
-
-
Method Details
-
handles
- Specified by:
handles
in interfacePathConverter
-
getPath
- Specified by:
getPath
in interfacePathConverter
- Returns:
- returns path to home page of personal space if it exists (and the current user has permission to view it), otherwise send to old profile page
-