use of org.apereo.portal.events.aggr.portletexec.PortletExecutionAggregationKey in project uPortal by Jasig.
the class PortletExecutionStatisticsController method createAggregationsQueryKeyset.
@Override
protected Set<PortletExecutionAggregationKey> createAggregationsQueryKeyset(Set<PortletExecutionAggregationDiscriminator> columnDiscriminators, PortletExecutionReportForm form) {
// Create keys (that exclude the temporal date/time information) from the interval
// and the data in the column discriminators.
final AggregationInterval interval = form.getInterval();
final HashSet<PortletExecutionAggregationKey> keys = new HashSet<PortletExecutionAggregationKey>();
for (PortletExecutionAggregationDiscriminator discriminator : columnDiscriminators) {
keys.add(new PortletExecutionAggregationKeyImpl(interval, discriminator.getAggregatedGroup(), discriminator.getPortletMapping(), discriminator.getExecutionType()));
}
return keys;
}
Aggregations