Package org.geoserver.catalog

Examples of org.geoserver.catalog.CoverageInfo.enabled()


            List<CoverageInfo> coverages = catalog.getCoverages();
           
            // filter out disabled coverages
            for (Iterator it = coverages.iterator(); it.hasNext();) {
                CoverageInfo cv = (CoverageInfo) it.next();
                if(!cv.enabled())
                    it.remove();
            }
           
            // filter out coverages that are not in the requested namespace
            if(request.getNamespace() != null) {
View Full Code Here


            // filter out disabled coverages
            for (Iterator it = coverages.iterator(); it.hasNext();) {
                // GR: I don't think we should be removing directly from the list returned by
                // Catalog?
                CoverageInfo cv = (CoverageInfo) it.next();
                if(!cv.enabled())
                    it.remove();
            }
           
            // filter out coverages that are not in the requested namespace
            if(request.getNamespace() != null) {
View Full Code Here

            }
           
            Collections.sort(coverages, new CoverageInfoLabelComparator());
            for (Iterator i = coverages.iterator(); i.hasNext();) {
                CoverageInfo cv = (CoverageInfo) i.next();
                if (cv.enabled())
                    handleCoverageSummary(cv);
            }

            end("wcs:Contents");
        }
View Full Code Here

            // filter out disabled coverages
            for (Iterator it = coverages.iterator(); it.hasNext();) {
                // GR: I don't think we should be removing directly from the list returned by
                // Catalog?
                CoverageInfo cv = (CoverageInfo) it.next();
                if(!cv.enabled())
                    it.remove();
            }
           
            // filter out coverages that are not in the requested namespace
            if(request.getNamespace() != null) {
View Full Code Here

            }
           
            Collections.sort(coverages, new CoverageInfoLabelComparator());
            for (Iterator i = coverages.iterator(); i.hasNext();) {
                CoverageInfo cv = (CoverageInfo) i.next();
                if (cv.enabled())
                    handleCoverageSummary(cv);
            }

            end("wcs:Contents");
        }
View Full Code Here

                    new ArrayList<CoverageInfo>(wcs.getGeoServer().getCatalog().getCoverages());
           
            // filter out disabled coverages
            for (Iterator<CoverageInfo> it = coverages.iterator(); it.hasNext();) {
                CoverageInfo cv = (CoverageInfo) it.next();
                if (!cv.enabled()) {
                    it.remove();
                }
            }
           
            // filter out coverages that are not in the requested namespace
View Full Code Here

            coverages.addAll(wcs.getGeoServer().getCatalog().getCoverages());

            // filter out disabled coverages
            for (Iterator<CoverageInfo> it = coverages.iterator(); it.hasNext();) {
                CoverageInfo cv = (CoverageInfo) it.next();
                if (!cv.enabled()) {
                    it.remove();
                }
            }
           
            for (CoverageInfo cv : coverages) {
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.