Search in sources :

Example 1 with ExecutionType

use of org.apereo.portal.events.aggr.portletexec.PortletExecutionAggregationKey.ExecutionType in project uPortal by Jasig.

the class JpaPortletExecutionAggregationDao method createAggregationInstance.

@Override
protected PortletExecutionAggregationImpl createAggregationInstance(PortletExecutionAggregationKey key) {
    final TimeDimension timeDimension = key.getTimeDimension();
    final DateDimension dateDimension = key.getDateDimension();
    final AggregationInterval interval = key.getInterval();
    final AggregatedGroupMapping aggregatedGroup = key.getAggregatedGroup();
    final AggregatedPortletMapping portletMapping = key.getPortletMapping();
    final ExecutionType executionType = key.getExecutionType();
    return new PortletExecutionAggregationImpl(timeDimension, dateDimension, interval, aggregatedGroup, portletMapping, executionType);
}
Also used : AggregatedGroupMapping(org.apereo.portal.events.aggr.groups.AggregatedGroupMapping) ExecutionType(org.apereo.portal.events.aggr.portletexec.PortletExecutionAggregationKey.ExecutionType) AggregatedPortletMapping(org.apereo.portal.events.aggr.portlets.AggregatedPortletMapping) TimeDimension(org.apereo.portal.events.aggr.TimeDimension) DateDimension(org.apereo.portal.events.aggr.DateDimension) AggregationInterval(org.apereo.portal.events.aggr.AggregationInterval)

Aggregations

AggregationInterval (org.apereo.portal.events.aggr.AggregationInterval)1 DateDimension (org.apereo.portal.events.aggr.DateDimension)1 TimeDimension (org.apereo.portal.events.aggr.TimeDimension)1 AggregatedGroupMapping (org.apereo.portal.events.aggr.groups.AggregatedGroupMapping)1 ExecutionType (org.apereo.portal.events.aggr.portletexec.PortletExecutionAggregationKey.ExecutionType)1 AggregatedPortletMapping (org.apereo.portal.events.aggr.portlets.AggregatedPortletMapping)1