Class GenericAggregateOptions
java.lang.Object
com.adobe.granite.activitystreams.utils.GenericAggregateOptions
- All Implemented Interfaces:
AggregateOptions
GenericAggregateOptions- Since:
- 0.0.10
-
Field Summary
Fields inherited from interface com.adobe.granite.activitystreams.AggregateOptions
DEFAULT, DIRECT -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the activity stream filterString[]Returns the list of relationship types to follow while aggregating.Sets the stream filtersetRelationshipTypes(String[] types) Sets the array of relationship types
-
Constructor Details
-
GenericAggregateOptions
public GenericAggregateOptions()
-
-
Method Details
-
getActivityStreamFilter
Returns the activity stream filter- Specified by:
getActivityStreamFilterin interfaceAggregateOptions- Returns:
- the activity stream filter
-
setActivityStreamFilter
Sets the stream filter- Parameters:
filter- the filter- Returns:
- this aggregate options for chaining.
-
relationshipTypes
Returns the list of relationship types to follow while aggregating. Anullreturn value specifies to use the configured default, and empty array specifies not to follow any relationships.- Specified by:
relationshipTypesin interfaceAggregateOptions- Returns:
- the list of relationship types
-
setRelationshipTypes
Sets the array of relationship types- Parameters:
types- the types- Returns:
- this aggregate options for chaining.
-