Package org.dspace.app.webui.cris.components

Examples of org.dspace.app.webui.cris.components.BeanFacetComponent


            String sID = getObjectId(id);
            query = MessageFormat.format(query, sID);
            solrQuery.setQuery(query);
            if (getBean() instanceof BeanFacetComponent)
            {
                BeanFacetComponent beanFacet = (BeanFacetComponent) getBean();
                solrQuery.setFacet(true);
                solrQuery.addFacetQuery(beanFacet.getFacetQuery());
                solrQuery.addFacetField(beanFacet.getFacetField());
            }
            solrResponse = solrServer.query(solrQuery);           
            if(!getBean().getSubQueries().isEmpty()) {               
                statisticDatasBeans.addValue(TOP, CrisConstants.getEntityTypeText(relationType), CATEGORY,
                    generateCategoryView(solrServer, TOP, relationType.toString(), CATEGORY, StatComponentsService.getTopCityLength(), query, getBean().getSubQueries(), sID));
View Full Code Here


        comp.setApplicationService(getApplicationService());
        comp.setRelationObjectClass(getRelationObjectClass());
        comp.setRelationObjectType(getRelationObjectType());
       
       
        BeanFacetComponent bean = new BeanFacetComponent();
        bean.setFacetQuery(FILE+":*");
        bean.setFacetField(FILE);
        comp.setBean(bean);

        return comp;
    }
View Full Code Here

        comp.setApplicationService(getApplicationService());
        comp.setRelationObjectClass(getRelationObjectClass());
        comp.setRelationObjectType(getRelationObjectType());
       
       
        BeanFacetComponent bean = new BeanFacetComponent();
        bean.setFacetQuery(FILE+":*");
        bean.setFacetField(FILE);
        comp.setBean(bean);

        return comp;
    }
View Full Code Here

        StatCrisDownloadSelectedObjectComponent comp = new StatCrisRPDownloadSelectedObjectComponent();
        comp.setRelationObjectClass(getRelationObjectClass());
        comp.setRelationObjectType(getRelationObjectType());
        comp.setApplicationService(getApplicationService());

        BeanFacetComponent bean = new BeanFacetComponent();
        bean.setFacetQuery(FILE + ":*");
        bean.setFacetField(FILE);
        comp.setBean(bean);

        return comp;
    }
View Full Code Here

        StatCrisDownloadSelectedObjectComponent comp = new StatCrisOUDownloadSelectedObjectComponent();       
        comp.setApplicationService(getApplicationService());
        comp.setRelationObjectClass(getRelationObjectClass());
        comp.setRelationObjectType(getRelationObjectType());
       
        BeanFacetComponent bean = new BeanFacetComponent();
        bean.setFacetQuery(FILE+":*");
        bean.setFacetField(FILE);
        comp.setBean(bean);

        return comp;
    }
View Full Code Here

            }

            solrQuery.setQuery(MessageFormat.format(query, id));
            if (getBean() instanceof BeanFacetComponent)
            {
                BeanFacetComponent beanFacet = (BeanFacetComponent) getBean();
                solrQuery.setFacet(true);
                solrQuery.addFacetQuery(beanFacet.getFacetQuery());
                solrQuery.addFacetField(beanFacet.getFacetField());
            }
            solrResponse = solrServer.query(solrQuery);

            buildPageResultModules(StatComponentsService._SELECTED_OBJECT);
        }
View Full Code Here

TOP

Related Classes of org.dspace.app.webui.cris.components.BeanFacetComponent

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.