public class UserProfileLink extends AbstractContentEntityLink
| Modifier and Type | Field and Description |
|---|---|
static String |
PERSONAL_SPACE_USER_ICON |
static String |
USER_ICON |
entityName| Constructor and Description |
|---|
UserProfileLink(com.atlassian.renderer.links.GenericLinkParser parser,
UserAccessor userAccessor,
PersonalInformationManager personalInformationManager) |
| Modifier and Type | Method and Description |
|---|---|
ContentEntityObject |
getDestinationContent() |
String |
getLinkAttributes() |
static String |
getLinkPath(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).
|
boolean |
hasDestination() |
getLinkBody, isNoLinkBodyProvidedequals, getOriginalParser, hashCode, setI18nTitle, setTitlepublic static final String USER_ICON
public static final String PERSONAL_SPACE_USER_ICON
public UserProfileLink(com.atlassian.renderer.links.GenericLinkParser parser,
UserAccessor userAccessor,
PersonalInformationManager personalInformationManager)
throws ParseException
ParseExceptionpublic static String getLinkPath(String username)
NOTE: Does not include context path
public ContentEntityObject getDestinationContent()
getDestinationContent in class AbstractContentEntityLinkpublic boolean hasDestination()
hasDestination in class AbstractContentEntityLinkpublic String getLinkAttributes()
getLinkAttributes in class com.atlassian.renderer.links.LinkCopyright © 2003–2017 Atlassian. All rights reserved.