public interface SocialComponent
Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_SELECTOR |
static String |
INDEX_SELECTOR |
static String |
QUERY_SELECTOR |
static String |
TRANSLATE_SELECTOR |
Modifier and Type | Method and Description |
---|---|
Map<String,Object> |
getAsMap() |
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.
|
ResourceID |
getId() |
SocialComponent |
getParentComponent()
Gets the immediate parent of this component.
|
Properties |
getProperties() |
Resource |
getResource() |
String |
getResourceType() |
SocialComponent |
getSourceComponent()
Gets the SocialComponent that created this piece of UGC.
|
String |
getUrl() |
String |
toJSONString(boolean tidy) |
static final String DEFAULT_SELECTOR
static final String QUERY_SELECTOR
static final String INDEX_SELECTOR
static final String TRANSLATE_SELECTOR
ResourceID getId()
String getResourceType()
String getUrl()
Properties getProperties()
String toJSONString(boolean tidy) throws JsonException
tidy
- true to return readable JSON string.JsonException
- if an error occurs during serialization.Resource getResource()
SocialComponent getParentComponent()
SocialComponent getSourceComponent()
String getFriendlyUrl()
"Copyright © 2006 - 2015 Adobe Systems Incorporated. All Rights Reserved"