157158159160161162163164165166167
List oldValues = proxy.getOldValues(); List newValues = proxy.getNewValues(); geoServer.fireServiceModified(service, propertyNames, oldValues, newValues); proxy.commit(); } public void remove(ServiceInfo service) { services.remove(service); }
627628629630631632633634635636637
// see HACK block bellow final boolean updateResouceLayersName = info instanceof ResourceInfo && modificationProxy.getPropertyNames().contains("name"); modificationProxy.commit(); Map<String, ?> params; // get the object's internal id final Integer objectId = findObjectId(info);