Examples of TitleAndCount


Examples of org.jasig.portal.portlets.statistics.ReportTitleAndColumnDescriptionStrategy.TitleAndCount

    BaseReportForm form;

    @Before
    public void setup() {
        object = new DefaultStatisticsReportLabellingStrategy();
        bob1 = new TitleAndCount("bob",1);
        bob2 = new TitleAndCount("bob",2);
        sam1 = new TitleAndCount("sam",1);
        sam2 = new TitleAndCount("sam",2);
        pete1 = new TitleAndCount("pete",1);
        pete2 = new TitleAndCount("pete",2);
        form = new LoginReportForm();
    }
View Full Code Here

Examples of org.jasig.portal.portlets.statistics.ReportTitleAndColumnDescriptionStrategy.TitleAndCount

        Long firstGroupId = form.getGroups().iterator().next().longValue();
        String firstGroupName = this.aggregatedGroupLookupDao.getGroupMapping(firstGroupId).getGroupName();
        String firstExecutionType = form.getExecutionTypeNames().iterator().next();

        TitleAndCount[] items = new TitleAndCount[] {
                new TitleAndCount(firstPortletName, portletSize),
                new TitleAndCount(firstExecutionType, executionTypeSize),
                new TitleAndCount(firstGroupName, groupSize)
        };

        return titleAndColumnDescriptionStrategy.getReportTitleAugmentation(items);
    }
View Full Code Here

Examples of org.jasig.portal.portlets.statistics.ReportTitleAndColumnDescriptionStrategy.TitleAndCount

        String portletName = reportColumnDiscriminator.getPortletMapping().getFname();
        String groupName = reportColumnDiscriminator.getAggregatedGroup().getGroupName();
        String executionTypeName = reportColumnDiscriminator.getExecutionType().getName();

        TitleAndCount[] items = new TitleAndCount[] {
                new TitleAndCount(portletName, portletSize),
                new TitleAndCount(executionTypeName, executionTypeSize),
                new TitleAndCount(groupName, groupSize)
        };

        return titleAndColumnDescriptionStrategy.getColumnDescriptions(items, showFullColumnHeaderDescriptions(form), form);
    }
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.