public class AbstractRelationshipCollection extends BaseSocialComponent implements RelationshipCollection
RESOURCE_TYPECSV_SELECTOR, DEFAULT_SELECTOR, INDEX_SELECTOR, PROP_REFERER, QUERY_SELECTOR, TRANSLATE_SELECTOR| Constructor and Description |
|---|
AbstractRelationshipCollection(Resource resource,
ClientUtilities clientUtils,
QueryRequestInfo requestInfo) |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<java.lang.Object> |
getItems()
Returns a list of children of this collection.
|
int |
getTotalSize()
Get total size of the collection.
|
void |
setPagination(CollectionPagination pagination)
Set the collection pagination to define how getItems() should be paginated.
|
void |
setSortedOrder(CollectionSortedOrder sortedOrder)
Set the collection sorted order.
|
buildJSONString, getAsMap, getFriendlyUrl, getId, getParentComponent, getProperties, getProperty, getProperty, getResource, getResourceType, getSourceComponent, getUrl, toJSONStringequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetAsMap, getFriendlyUrl, getId, getParentComponent, getProperties, getProperty, getProperty, getResource, getResourceType, getSourceComponent, getUrl, toJSONStringpublic AbstractRelationshipCollection(Resource resource, ClientUtilities clientUtils, QueryRequestInfo requestInfo)
public int getTotalSize()
SocialCollectionComponentgetTotalSize in interface SocialCollectionComponentpublic void setPagination(CollectionPagination pagination)
SocialCollectionComponentsetPagination in interface SocialCollectionComponentpagination - an object defining the how the list of items should be paginated.public void setSortedOrder(CollectionSortedOrder sortedOrder)
SocialCollectionComponentsetSortedOrder in interface SocialCollectionComponentsortedOrder - the order definition of how the items should be sorted.public java.util.List<java.lang.Object> getItems()
SocialCollectionComponentgetItems in interface SocialCollectionComponentList of children of this collection, or an empty list if no children are present. If the
children is the first level child, then the child is embedded in the list, otherwise, the child url is
included in the list.Copyright © 2010 - 2023 Adobe. All Rights Reserved