com.atlassian.confluence.links.linktypes
Class UserProfileLink
java.lang.Object
com.atlassian.renderer.links.Link
com.atlassian.renderer.links.BaseLink
com.atlassian.confluence.links.linktypes.AbstractContentEntityLink
com.atlassian.confluence.links.linktypes.UserProfileLink
public class UserProfileLink
- extends AbstractContentEntityLink
Fields inherited from class com.atlassian.renderer.links.Link |
aliasSpecified, iconName, linkBody, relativeUrl, title, titleArgs, titleKey, url, wikiDestination, wikiTitle |
Methods inherited from class com.atlassian.renderer.links.BaseLink |
equals, getOriginalParser, hashCode, setI18nTitle, setTitle |
Methods inherited from class com.atlassian.renderer.links.Link |
getIconName, getOriginalLinkText, getTitle, getTitleArgs, getTitleKey, getUnpermittedLinkBody, getUrl, getWikiDestination, getWikiTitle, isAliasSpecified, isRelativeUrl |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
USER_ICON
public static final java.lang.String USER_ICON
- See Also:
- Constant Field Values
PERSONAL_SPACE_USER_ICON
public static final java.lang.String PERSONAL_SPACE_USER_ICON
- See Also:
- Constant Field Values
UserProfileLink
public UserProfileLink(com.atlassian.renderer.links.GenericLinkParser parser,
UserAccessor userAccessor,
PersonalInformationManager personalInformationManager)
throws java.text.ParseException
- Throws:
java.text.ParseException
getLinkPath
public static java.lang.String getLinkPath(java.lang.String username)
- This is a first attempt at consolidating all the places where we hard-code a link to a 'user' (as opposed
to a deliberate link to the a profile or personal space).
NOTE: Does not include context path
getDestinationContent
public ContentEntityObject getDestinationContent()
- Specified by:
getDestinationContent
in class AbstractContentEntityLink
hasDestination
public boolean hasDestination()
- Overrides:
hasDestination
in class AbstractContentEntityLink
getLinkAttributes
public java.lang.String getLinkAttributes()
- Overrides:
getLinkAttributes
in class com.atlassian.renderer.links.Link
Copyright © 2003-2013 Atlassian. All Rights Reserved.