Package org.fao.geonet.kernel.region

Examples of org.fao.geonet.kernel.region.Request


        Collection<RegionsDAO> daos = context.getApplicationContext().getBeansOfType(RegionsDAO.class).values();
        Element regions = null;
        for (RegionsDAO dao : daos) {
            if (dao.includeInListing()) {
                Request request = dao.createSearchRequest(context);
                if (labelParam != null) {
                    request.label(labelParam);
                }
                if (categoryIdParam != null) {
                    request.categoryId(categoryIdParam);
                }
                if (maxRecordsParam > 0) {
                    request.maxRecords(maxRecordsParam);
                }
                Element tmp = request.xmlResult();
                if (regions != null) {
                    @SuppressWarnings("unchecked")
                    java.util.List<Element> children = tmp.getChildren();
                    for (Element element : children) {
                        regions.addContent(element);
View Full Code Here

TOP

Related Classes of org.fao.geonet.kernel.region.Request

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.