Package org.vfny.geoserver.wfs.requests

Examples of org.vfny.geoserver.wfs.requests.TransactionRequest


    public void testXml1() throws Exception {
        // make base comparison objects       
        DeleteRequest delete = new DeleteRequest();
        delete.setFilter(factory.createFidFilter("123"));

        TransactionRequest baseRequest = new TransactionRequest();
        baseRequest.addSubRequest(delete);

        // run test      
        assertTrue(runXmlTest(baseRequest, "22", true));
    }
View Full Code Here


        tempFilter.addFid("1023");
        tempFilter.addFid("16");
        tempFilter.addFid("5001");
        delete.setFilter(tempFilter);

        TransactionRequest baseRequest = new TransactionRequest();
        baseRequest.addSubRequest(delete);

        // run test      
        assertTrue(runXmlTest(baseRequest, "23", true));
    }
View Full Code Here

        delete2.setFilter(temp2);

        DeleteRequest delete3 = new DeleteRequest();
        delete3.setFilter(factory.createFidFilter("5001"));

        TransactionRequest baseRequest = new TransactionRequest();
        baseRequest.addSubRequest(delete1);
        baseRequest.addSubRequest(delete2);
        baseRequest.addSubRequest(delete3);

        // run test
        assertTrue(runXmlTest(baseRequest, "24", true));
    }
View Full Code Here

TOP

Related Classes of org.vfny.geoserver.wfs.requests.TransactionRequest

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.