Package org.geoserver.catalog.impl

Examples of org.geoserver.catalog.impl.ModificationProxy.commit()


        // TODO: protect this original object, perhaps with another proxy
        fireModified(real, propertyNames, oldValues, newValues);

        // commit to the original object
        h.commit();

        // resolve to do a sync on the object
        // syncIdWithName(real);

        // fire the post modify event
View Full Code Here


            catch( Exception e ) {
                //log this
            }
        }
       
        proxy.commit();
       
        //fire post modification event
        fireGlobalPostModified();
    }
View Full Code Here

            catch( Exception e ) {
                //log this
            }
        }
       
        proxy.commit();
       
        //fire post modification event
        fireLoggingPostModified();
    }
    void fireGlobalPostModified() {
View Full Code Here

            catch( Exception e ) {
                //log this
            }
        }
       
        proxy.commit();
       
        //fire post modification event
        firePostServiceModified(service);
    }
View Full Code Here

        List oldValues = proxy.getOldValues();
        List newValues = proxy.getNewValues();
       
        geoServer.fireGlobalModified(global, propertyNames, oldValues, newValues);
       
        proxy.commit();
    }
   
    public LoggingInfo getLogging() {
        if ( logging == null ) {
            return null;
View Full Code Here

        List oldValues = proxy.getOldValues();
        List newValues = proxy.getNewValues();
       
        geoServer.fireLoggingModified(logging, propertyNames, oldValues, newValues);

        proxy.commit();
    }
   
    public void add(ServiceInfo service) {
        //may be adding a proxy, need to unwrap
        service = unwrap(service);
View Full Code Here

        List oldValues = proxy.getOldValues();
        List newValues = proxy.getNewValues();
       
        geoServer.fireServiceModified(service, propertyNames, oldValues, newValues);

        proxy.commit();
    }
   
    public void remove(ServiceInfo service) {
        services.remove( service );
    }
View Full Code Here

        List oldValues = proxy.getOldValues();
        List newValues = proxy.getNewValues();
       
        geoServer.fireGlobalModified(global, propertyNames, oldValues, newValues);
       
        proxy.commit();
    }

    public SettingsInfo getSettings(WorkspaceInfo workspace) {
        for (SettingsInfo s : settings) {
            if (s.getWorkspace().equals(workspace)) {
View Full Code Here

        List newValues = proxy.getNewValues();
       
        settings = (SettingsInfo) proxy.getProxyObject();
        geoServer.fireSettingsModified(settings, propertyNames, oldValues, newValues);

        proxy.commit();
    }

    @Override
    public void remove(SettingsInfo s) {
        s = unwrap(s);
View Full Code Here

        List oldValues = proxy.getOldValues();
        List newValues = proxy.getNewValues();
       
        geoServer.fireLoggingModified(logging, propertyNames, oldValues, newValues);

        proxy.commit();
    }
   
    public void add(ServiceInfo service) {
        //may be adding a proxy, need to unwrap
        service = unwrap(service);
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.