Package org.geoserver.wfs

Examples of org.geoserver.wfs.TransactionEventType


        final EObject originatingTransactionRequest = (EObject) source;

        Assert.notNull(originatingTransactionRequest);

        final TransactionEventType type = event.getType();
        final SimpleFeatureCollection affectedFeatures = event.getAffectedFeatures();

        if (isIgnorablePostEvent(originatingTransactionRequest, type)) {
            // if its a post event and there's no corresponding pre event bbox no need to
            // proceed(Saves some cpu cycles and a catalog lookup for findAffectedCachedLayers).
View Full Code Here


        details.update(event);

        foreach(delegates(), new Function<ScriptTxDelegate, Void>() {
            @Override
            public Void apply(@Nullable ScriptTxDelegate input) {
                TransactionEventType type = event.getType();
                if (type == TransactionEventType.PRE_INSERT) {
                    input.preInsert(event);
                }
                else if (type == TransactionEventType.POST_INSERT) {
                    input.postInsert(event);
View Full Code Here

            return;
        }

        final EObject originatingTransactionRequest = (EObject) source;
        checkNotNull(originatingTransactionRequest, "No original transaction request exists");
        final TransactionEventType type = event.getType();
        if (TransactionEventType.POST_INSERT.equals(type)) {
            // no need to compute the bounds, they're the same than for PRE_INSERT
            return;
        }
        final QName featureTypeName = event.getLayerName();
View Full Code Here

TOP

Related Classes of org.geoserver.wfs.TransactionEventType

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.