Package org.geoserver.platform.resource

Examples of org.geoserver.platform.resource.Resource


        persist( ft, xml );
    }
   
    private void removeFeatureType( FeatureTypeInfo ft ) throws IOException {
        LOGGER.fine( "Removing feature type " + ft.getName() );
        Resource directory = dd.get(ft);
        rmRes(directory);
    }
View Full Code Here


    }
   
    //coverage stores
    private void addCoverageStore( CoverageStoreInfo cs ) throws IOException {
        LOGGER.fine( "Persisting coverage store " + cs.getName() );
        Resource xml = dd.config(cs);
        ensureParent(xml);
        persist( cs, xml );
    }
View Full Code Here

        persist( cs, xml );
    }
   
    private void modifyCoverageStore( CoverageStoreInfo cs ) throws IOException {
        LOGGER.fine( "Persisting coverage store " + cs.getName() );
        Resource r = dd.config(cs);
        persist( cs, r );
    }
View Full Code Here

        persist( cs, r );
    }
   
    private void removeCoverageStore( CoverageStoreInfo cs ) throws IOException {
        LOGGER.fine( "Removing coverage store " + cs.getName() );
        Resource r = dd.get(cs);
        rmRes(r);
    }
View Full Code Here

    }
   
    //coverages
    private void addCoverage( CoverageInfo c ) throws IOException {
        LOGGER.fine( "Persisting coverage " + c.getName() );
        Resource xml = dd.config(c);
        ensureParent(xml);
        persist( c, xml );
    }
View Full Code Here

        persist( c, xml );
    }
   
    private void modifyCoverage( CoverageInfo c ) throws IOException {
        LOGGER.fine( "Persisting coverage " + c.getName() );
        Resource xml = dd.config(c);
        persist( c, xml );
    }
View Full Code Here

        persist( c, xml );
    }
   
    private void removeCoverage( CoverageInfo c ) throws IOException {
        LOGGER.fine( "Removing coverage " + c.getName() );
        Resource directory = dd.get(c);
        rmRes(directory);
    }
View Full Code Here

    }
   
    //wms stores
    private void addWMSStore( WMSStoreInfo wmss ) throws IOException {
        LOGGER.fine( "Persisting wms store " + wmss.getName() );
        Resource xml = dd.config(wmss);
        ensureParent(xml);
        persist(wmss, xml);
    }
View Full Code Here

        persist(wmss, xml);
    }
   
    private void modifyWMSStore( WMSStoreInfo wmss ) throws IOException {
        LOGGER.fine( "Persisting wms store " + wmss.getName() );
        Resource xml = dd.config(wmss);
        persist(wmss, xml);
    }
View Full Code Here

        persist(wmss, xml);
    }
   
    private void removeWMSStore( WMSStoreInfo wmss ) throws IOException {
        LOGGER.fine( "Removing datastore " + wmss.getName() );
        Resource directory = dd.get(wmss);
        rmRes(directory);
    }
View Full Code Here

TOP

Related Classes of org.geoserver.platform.resource.Resource

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.