public interface CommunityMemberGroupProfile
extends com.adobe.cq.social.user.api.UserProfile
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
PROFILE_PATH
Constant for the path to the group profile.
|
static java.lang.String |
RESOURCE_TYPE |
PREFERENCES_PATH, PROPERTY_LANGUAGE
CSV_SELECTOR, DEFAULT_SELECTOR, INDEX_SELECTOR, PROP_REFERER, QUERY_SELECTOR, TRANSLATE_SELECTOR
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAuthorizableID()
Returns the ID of the authorizable this user properties belong to.
|
java.lang.String |
getDisplayName()
Calculate a display name from this
UserProfile instance. |
SocialAuthorizable[] |
getMembers()
Get the members of a group.
|
java.lang.Integer |
getNumberOfMembers() |
java.util.Map<java.lang.String,java.lang.String> |
getParentGroups() |
java.util.Map<java.lang.String,java.lang.String> |
getProfileProperties()
Get properties from this
UserProfile instance. |
Resource |
getResource(java.lang.String relativePath)
Retrieve the resource at the specified path relative to this instance.
|
UserProperties |
getUserProperties() |
boolean |
isMayEdit()
Check if this
UserProfile instance can be edited by current session. |
getAuthProfilePath, getLargeAvatarUrl
getAsMap, getFriendlyUrl, getId, getParentComponent, getProperties, getProperty, getProperty, getResource, getResourceType, getSourceComponent, getUrl, toJSONString
static final java.lang.String RESOURCE_TYPE
static final java.lang.String PROFILE_PATH
java.lang.String getAuthorizableID()
getAuthorizableID
in interface com.adobe.cq.social.user.api.UserProfile
java.lang.String getDisplayName() throws RepositoryException
UserProfile
instance.getDisplayName
in interface com.adobe.cq.social.user.api.UserProfile
RepositoryException
- If an error occurs.java.util.Map<java.lang.String,java.lang.String> getParentGroups()
SocialAuthorizable[] getMembers()
java.lang.Integer getNumberOfMembers()
Resource getResource(java.lang.String relativePath) throws RepositoryException
getResource
in interface com.adobe.cq.social.user.api.UserProfile
relativePath
- Relative path to the resource to be retrieved.null
if the the path cannot be resolved to
a resource.RepositoryException
- If an error occurs.java.util.Map<java.lang.String,java.lang.String> getProfileProperties()
UserProfile
instance.getProfileProperties
in interface com.adobe.cq.social.user.api.UserProfile
boolean isMayEdit()
UserProfile
instance can be edited by current session.isMayEdit
in interface com.adobe.cq.social.user.api.UserProfile
UserProperties getUserProperties()
getUserProperties
in interface com.adobe.cq.social.user.api.UserProfile
Copyright © 2010 - 2020 Adobe. All Rights Reserved