Package org.geotools.data.wfs.internal.TransactionRequest

Examples of org.geotools.data.wfs.internal.TransactionRequest.Update


                    }
                }
            }
            if (e instanceof Update) {
                Diff diff = diff(typeName);
                Update u = (Update) e;
                Filter filter = u.getFilter();
                List<SimpleFeature> features = features(typeName);
                List<QName> propertyNames = u.getPropertyNames();
                List<Object> newValues = u.getNewValues();

                for (SimpleFeature f : features) {
                    if (!filter.evaluate(f)) {
                        continue;
                    }
View Full Code Here


        }

        Filter updateFilter = dataStore.getFilterFactory().id(
                Collections.singleton(feature.getIdentifier()));

        Update update = transactionRequest.createUpdate(remoteTypeName, propertyNames, newValues,
                updateFilter);
        transactionRequest.add(update);
    }
View Full Code Here

                        .getLocalPart()));
            }
            List<Object> newValues = Arrays.asList(batch.values);
            Filter updateFilter = batch.filter;

            Update update = transactionRequest.createUpdate(remoteTypeName, propertyNames,
                    newValues, updateFilter);

            transactionRequest.add(update);
        }
View Full Code Here

TOP

Related Classes of org.geotools.data.wfs.internal.TransactionRequest.Update

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.