Package org.dspace.app.cris.integration.statistics

Examples of org.dspace.app.cris.integration.statistics.StatComponentsService


                statBean.setType(dso.getType());
                switch (dso.getType())
                {
                case Constants.ITEM:
                   
                    StatComponentsService serviceItem = researcher.getItemStatsComponents();
                    retrieveResults(dateType, dateStart, dateEnd, gap,
                            selectedObject, topObject, dso, serviceItem);
               
                    statBean.setStatURL(ConfigurationManager
                            .getProperty("dspace.url")
                            + "/cris/stats/item.html?handle=" + uuid);
                    break;

                case Constants.COLLECTION:

                    StatComponentsService serviceColl = researcher.getCollectionStatsComponents();
                    retrieveResults(dateType, dateStart, dateEnd, gap,
                            selectedObject, topObject, dso, serviceColl);
                 
                    statBean.setStatURL(ConfigurationManager
                            .getProperty("dspace.url")
                            + "/cris/stats/collection.html?handle=" + uuid);
                    break;

                case Constants.COMMUNITY:
                   
                    StatComponentsService serviceComm = researcher.getCommunityStatsComponents();
                    retrieveResults(dateType, dateStart, dateEnd, gap,
                            selectedObject, topObject, dso, serviceComm);
                   
                    statBean.setStatURL(ConfigurationManager
                            .getProperty("dspace.url")
View Full Code Here


        }
        return compService;       
    }
   
    public StatComponentsService getItemStatsComponents() {
        StatComponentsService compService = dspace.getServiceManager().getServiceByName("itemStatsComponent", StatComponentsService.class);
        if (compService == null)
        {
            return null;
        }
        return compService;
View Full Code Here

        }
        return compService;
    }
   
    public StatComponentsService getCommunityStatsComponents() {
        StatComponentsService compService = dspace.getServiceManager().getServiceByName("communityStatsComponent", StatComponentsService.class);
        if (compService == null)
        {
            return null;
        }
        return compService;
View Full Code Here

        }
        return compService;
    }
   
    public StatComponentsService getCollectionStatsComponents() {
        StatComponentsService compService = dspace.getServiceManager().getServiceByName("collectionStatsComponent", StatComponentsService.class);
        if (compService == null)
        {
            return null;
        }
        return compService;
View Full Code Here

TOP

Related Classes of org.dspace.app.cris.integration.statistics.StatComponentsService

Copyright © 2018 www.massapicom. 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.