use of org.apereo.portal.events.aggr.DateDimension in project uPortal by Jasig.
the class JpaConcurrentUserAggregationDao method createAggregationInstance.
@Override
protected ConcurrentUserAggregationImpl createAggregationInstance(ConcurrentUserAggregationKey key) {
final TimeDimension timeDimension = key.getTimeDimension();
final DateDimension dateDimension = key.getDateDimension();
final AggregationInterval interval = key.getInterval();
final AggregatedGroupMapping aggregatedGroup = key.getAggregatedGroup();
return new ConcurrentUserAggregationImpl(timeDimension, dateDimension, interval, aggregatedGroup);
}
use of org.apereo.portal.events.aggr.DateDimension in project uPortal by Jasig.
the class LoginPortalEventAggregator method createAggregationKey.
@Override
protected LoginAggregationKey createAggregationKey(LoginEvent e, EventAggregationContext eventAggregationContext, AggregationIntervalInfo intervalInfo, AggregatedGroupMapping aggregatedGroup) {
final TimeDimension timeDimension = intervalInfo.getTimeDimension();
final DateDimension dateDimension = intervalInfo.getDateDimension();
final AggregationInterval aggregationInterval = intervalInfo.getAggregationInterval();
return new LoginAggregationKeyImpl(dateDimension, timeDimension, aggregationInterval, aggregatedGroup);
}
Aggregations