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, isNoLinkBodyProvided
equals, getOriginalParser, hashCode, setI18nTitle, setTitle
public 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
ParseException
public static String getLinkPath(String username)
NOTE: Does not include context path
public ContentEntityObject getDestinationContent()
getDestinationContent
in class AbstractContentEntityLink
public boolean hasDestination()
hasDestination
in class AbstractContentEntityLink
public String getLinkAttributes()
getLinkAttributes
in class com.atlassian.renderer.links.Link
Copyright © 2003–2021 Atlassian. All rights reserved.