Package com.day.cq.reporting
Class AggregateManager
- java.lang.Object
-
- com.day.cq.reporting.AggregateManager
-
public class AggregateManager extends java.lang.ObjectThis class is used for managing aggregates; mainly for mapping aggregate types to correspondingAggregates.
-
-
Constructor Summary
Constructors Constructor Description AggregateManager(Context context)Creates a new AggregateManager.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcleanup()Cleans up the aggregates that were used.voidcreateForColumn(Column col)Creates the aggregate for the specified column.AggregategetForColumn(Column col)Gets the aggregate for the specified column.
-
-
-
Constructor Detail
-
AggregateManager
public AggregateManager(Context context)
Creates a new AggregateManager.- Parameters:
context- The context for creating the report
-
-
Method Detail
-
createForColumn
public void createForColumn(Column col)
Creates the aggregate for the specified column.- Parameters:
col- The aggregate for the specified column
-
getForColumn
public Aggregate getForColumn(Column col)
Gets the aggregate for the specified column.- Parameters:
col- The column- Returns:
- The aggregate;
nullif no aggregate is available for the specified column
-
cleanup
public void cleanup()
Cleans up the aggregates that were used.
-
-