Examples of AggregationInterval


Examples of org.jasig.portal.events.aggr.AggregationInterval

    @Override
    protected Set<LoginAggregationKey> createAggregationsQueryKeyset(
            Set<LoginAggregationDiscriminator> discriminators, LoginReportForm form) {
        AggregatedGroupMapping groupToUse = discriminators.iterator().next().getAggregatedGroup();
        final AggregationInterval interval = form.getInterval();
        final HashSet<LoginAggregationKey> keys = new HashSet<LoginAggregationKey>();
        keys.add(new LoginAggregationKeyImpl(interval, groupToUse));
        return keys;
    }
View Full Code Here

Examples of org.jasig.portal.events.aggr.AggregationInterval

        return getDefaultGroupedColumnDiscriminatorMap(form);
    }

    @Override
    protected Set<ConcurrentUserAggregationKey> createAggregationsQueryKeyset(Set<ConcurrentUserAggregationDiscriminator> groups, ConcurrentUserReportForm form) {
        final AggregationInterval interval = form.getInterval();
        HashSet<ConcurrentUserAggregationKey> keys = new HashSet<ConcurrentUserAggregationKey>();
        keys.add(new ConcurrentUserAggregationKeyImpl(interval, groups.iterator().next().getAggregatedGroup()));
        return keys;
    }
View Full Code Here

Examples of org.jasig.portal.events.aggr.AggregationInterval

    @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);
    }
View Full Code Here

Examples of org.jasig.portal.events.aggr.AggregationInterval

    protected PortletExecutionAggregationKey createAggregationKey(PortletExecutionEvent e, EventAggregationContext eventAggregationContext,
            AggregationIntervalInfo intervalInfo, AggregatedGroupMapping aggregatedGroup) {
       
        final TimeDimension timeDimension = intervalInfo.getTimeDimension();
        final DateDimension dateDimension = intervalInfo.getDateDimension();
        final AggregationInterval aggregationInterval = intervalInfo.getAggregationInterval();
       
        Map<String, AggregatedPortletMapping> mappedPortlets = eventAggregationContext.getAttribute(MAPPED_PORTLETS_CACHE_KEY);
        if (mappedPortlets == null) {
            mappedPortlets = new HashMap<String, AggregatedPortletMapping>();
            eventAggregationContext.setAttribute(MAPPED_PORTLETS_CACHE_KEY, mappedPortlets);
View Full Code Here

Examples of org.jasig.portal.events.aggr.AggregationInterval

    protected ConcurrentUserAggregationKey createAggregationKey(PortalEvent e,
            EventAggregationContext eventAggregationContext, AggregationIntervalInfo intervalInfo,
            AggregatedGroupMapping aggregatedGroup) {
        final TimeDimension timeDimension = intervalInfo.getTimeDimension();
        final DateDimension dateDimension = intervalInfo.getDateDimension();
        final AggregationInterval aggregationInterval = intervalInfo.getAggregationInterval();
        return new ConcurrentUserAggregationKeyImpl(dateDimension, timeDimension, aggregationInterval, aggregatedGroup);
    }
View Full Code Here

Examples of org.jasig.portal.events.aggr.AggregationInterval

    @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);
    }
View Full Code Here

Examples of org.jasig.portal.events.aggr.AggregationInterval

    @Override
    protected TabRenderAggregationImpl createAggregationInstance(TabRenderAggregationKey key) {
        final TimeDimension timeDimension = key.getTimeDimension();
        final DateDimension dateDimension = key.getDateDimension();
        final AggregationInterval interval = key.getInterval();
        final AggregatedGroupMapping aggregatedGroup = key.getAggregatedGroup();
        final AggregatedTabMapping tabMapping = key.getTabMapping();
        return new TabRenderAggregationImpl(timeDimension, dateDimension, interval, aggregatedGroup, tabMapping);
    }
View Full Code Here

Examples of org.jasig.portal.events.aggr.AggregationInterval

                                                               EventAggregationContext eventAggregationContext, AggregationIntervalInfo intervalInfo,
                                                               AggregatedGroupMapping aggregatedGroup) {

        final TimeDimension timeDimension = intervalInfo.getTimeDimension();
        final DateDimension dateDimension = intervalInfo.getDateDimension();
        final AggregationInterval aggregationInterval = intervalInfo.getAggregationInterval();
        String query = e.getParameters().get(TARGET_PARAM).get(0);
        SearchRequestAggregationKey key = new SearchRequestAggregationKeyImpl(dateDimension,timeDimension,aggregationInterval,aggregatedGroup,query);
        return key;
    }
View Full Code Here

Examples of org.jasig.portal.events.aggr.AggregationInterval

    @Override
    protected SearchRequestAggregationImpl createAggregationInstance(SearchRequestAggregationKey key) {
        final TimeDimension timeDimension = key.getTimeDimension();
        final DateDimension dateDimension = key.getDateDimension();
        final AggregationInterval interval = key.getInterval();
        final AggregatedGroupMapping aggregatedGroup = key.getAggregatedGroup();
        final String searchTerm = key.getSearchTerm();
        return new SearchRequestAggregationImpl(timeDimension, dateDimension, interval, aggregatedGroup,searchTerm);
    }
View Full Code Here

Examples of org.jasig.portal.events.aggr.AggregationInterval

    @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);
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.