Examples of AggregatedGroupMapping


Examples of org.jasig.portal.events.aggr.groups.AggregatedGroupMapping

    @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.groups.AggregatedGroupMapping

    @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.groups.AggregatedGroupMapping

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

Examples of org.jasig.portal.events.aggr.groups.AggregatedGroupMapping

        //Get concrete group mapping objects that are being queried for
        List<Long> groups = form.getGroups();
        Set<String> portletFNames = form.getPortlets();
        Set<String> executionTypes = form.getExecutionTypeNames();
        for (final Long queryGroupId : groups) {
            AggregatedGroupMapping groupMapping = this.aggregatedGroupLookupDao.getGroupMapping(queryGroupId);
            for (final String portletFName : portletFNames) {
                AggregatedPortletMapping tabMapping = this.aggregatedPortletLookupDao.getMappedPortletForFname(portletFName);
                for (String executionType : executionTypes) {
                    final PortletExecutionAggregationDiscriminator mapping =
                            new PortletExecutionAggregationDiscriminatorImpl(groupMapping, tabMapping,
View Full Code Here

Examples of org.jasig.portal.events.aggr.groups.AggregatedGroupMapping

        //Get concrete group mapping objects that are being queried for
        List<Long> groups = form.getGroups();
        List<Long> tabs = form.getTabs();
        for (final Long queryGroupId : groups) {
            AggregatedGroupMapping groupMapping = this.aggregatedGroupDao.getGroupMapping(queryGroupId);
            for (final Long tabId : tabs) {
                AggregatedTabMapping tabMapping = this.aggregatedTabLookupDao.getTabMapping(tabId);
                final TabRenderAggregationDiscriminator mapping =
                        new TabRenderAggregationDiscriminatorImpl(groupMapping, tabMapping);
                //Create the set the aggregations for this report column will be stored in, sorted chronologically
View Full Code Here

Examples of org.jasig.portal.events.aggr.groups.AggregatedGroupMapping

    @Override
    protected PortletLayoutAggregationImpl createAggregationInstance(PortletLayoutAggregationKey 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();
        return new PortletLayoutAggregationImpl(timeDimension, dateDimension, interval, aggregatedGroup,portletMapping);
    }
View Full Code Here

Examples of org.jasig.portal.events.aggr.groups.AggregatedGroupMapping

    private List<PortletUsage> buildEventCounts(Integer days, IPerson user, Locale locale) {
        final DateTime end = new DateTime();
        final DateTime begin = end.minusDays(days);
       
        final IEntityGroup everyone = GroupService.getRootGroup(IPerson.class);
        final AggregatedGroupMapping group = aggregatedGroupLookupDao.getGroupMapping(everyone.getKey());
        final List<PortletLayoutAggregation> aggregations = portletLayoutDao.getAggregationsForAllPortlets(begin, end, AGGREGATION_INTERVAL, group);
       
        final EntityIdentifier ei = user.getEntityIdentifier();
        final AuthorizationService authService = AuthorizationService.instance();
        final IAuthorizationPrincipal ap = authService.newPrincipal(ei.getKey(), ei.getType());
View Full Code Here

Examples of org.jasig.portal.events.aggr.groups.AggregatedGroupMapping

    private List<SearchInfo> getPopularSearchTerms()
    {
        DateTime end = new DateTime();
        DateTime begin = end.minusDays(1);
        final IEntityGroup everyone = GroupService.getRootGroup(IPerson.class);
        final AggregatedGroupMapping group = aggregatedGroupLookupDao.getGroupMapping(everyone.getKey());
        List<SearchRequestAggregationImpl> aggregations = searchRequestAggregationDao.getAggregations(begin,end,AggregationInterval.FIVE_MINUTE,group);
        Map<String,SearchInfo> resultBuilder = new HashMap<String,SearchInfo>();
        for(SearchRequestAggregationImpl aggregation : aggregations)
        {
            SearchInfo info = resultBuilder.get(aggregation.getSearchTerm());
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.