public abstract class AbstractUser extends BaseSocialComponent implements User
User.BadgeRESOURCE_TYPE, SOCIAL_AUTHORS_PREFIXDEFAULT_SELECTOR, INDEX_SELECTOR, PROP_REFERER, QUERY_SELECTOR, TRANSLATE_SELECTOR| Constructor and Description |
|---|
AbstractUser(Resource resource,
ClientUtilities clientUtils,
UserPropertiesManager upm)
Create a user based on the resource.
|
AbstractUser(Resource resource,
ClientUtilities clientUtils,
UserPropertiesManager upm,
ScoringService scoring)
Deprecated.
|
AbstractUser(Resource resource,
ClientUtilities clientUtils,
UserPropertiesManager upm,
ScoringService scoring,
BadgingService badging)
Create a user based on the resource.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getAuthorizableId() |
String |
getAvatarUrl()
Get URL to fetch the user avatar.
|
List<User.Badge> |
getBadges() |
Boolean |
getDisabled() |
String |
getDisabledReason() |
String |
getFriendlyUrl()
Get a url that can be used to display this component, most of the time, this is the page url that contains the
component.
|
String |
getLargeAvatarUrl()
Get URL to fetch the user avatar (48px).
|
String |
getName()
User display name.
|
Long |
getNumberOfPosts()
Deprecated.
|
String |
getPath()
Get the path of the user.
|
String |
getProfileUrl()
Get externalized URL to the profile page
|
String |
getUserId() |
buildJSONString, getAsMap, getId, getParentComponent, getProperties, getResource, getResourceType, getSourceComponent, getUrl, toJSONStringequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetAsMap, getId, getParentComponent, getProperties, getResource, getResourceType, getSourceComponent, getUrl, toJSONString@Deprecated public AbstractUser(Resource resource, ClientUtilities clientUtils, UserPropertiesManager upm, ScoringService scoring)
resource - the resource to try and get a User forclientUtils - client utils used for the social componentupm - user properties manager for getting profile detailsscoring - used to determine badging in real time.public AbstractUser(Resource resource, ClientUtilities clientUtils, UserPropertiesManager upm, ScoringService scoring, BadgingService badging)
resource - the resource to try and get a User forclientUtils - client utils used for the social componentupm - user properties manager for getting profile detailsscoring - used to determine scoring in real time.badging - used to determine badging in real time.public AbstractUser(Resource resource, ClientUtilities clientUtils, UserPropertiesManager upm)
resource - the resource to try and get a User forclientUtils - client utils used for the social componentupm - user properties manager for getting profile detailspublic String getName()
SocialAuthorizablegetName in interface SocialAuthorizablepublic String getAvatarUrl()
UsergetAvatarUrl in interface Userpublic String getLargeAvatarUrl()
UsergetLargeAvatarUrl in interface Userpublic String getAuthorizableId()
getAuthorizableId in interface SocialAuthorizablepublic String getPath()
SocialAuthorizablegetPath in interface SocialAuthorizablepublic String getProfileUrl()
UsergetProfileUrl in interface Userpublic String getFriendlyUrl()
SocialComponentgetFriendlyUrl in interface SocialComponentgetFriendlyUrl in class BaseSocialComponent@Deprecated public Long getNumberOfPosts()
getNumberOfPosts in interface Userpublic List<User.Badge> getBadges()
public Boolean getDisabled()
getDisabled in interface Userpublic String getDisabledReason()
getDisabledReason in interface User"Copyright © 2010 - 2017 Adobe Systems Incorporated. All Rights Reserved"