Package org.geotools.data.wfs.internal
Class TransactionRequest
- Object
-
- AbstractRequest
-
- WFSRequest
-
- TransactionRequest
-
- All Implemented Interfaces:
Request
public class TransactionRequest extends WFSRequest
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
TransactionRequest.Delete
class
TransactionRequest.Insert
static class
TransactionRequest.TransactionElement
static class
TransactionRequest.Update
-
Field Summary
-
Fields inherited from class WFSRequest
config, operation, strategy
-
Fields inherited from class AbstractRequest
EXCEPTION_XML, hints, onlineResource, properties
-
-
Constructor Summary
Constructors Constructor Description TransactionRequest(WFSConfig config, WFSStrategy strategy)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
add(TransactionRequest.TransactionElement txElem)
TransactionRequest.Delete
createDelete(QName typeName, Filter deleteFilter)
TransactionRequest.Insert
createInsert(QName typeName)
WFSResponse
createResponse(HTTPResponse response)
Each Request must know how to create it's counterpart Response.TransactionRequest.Update
createUpdate(QName typeName, List<QName> propertyNames, List<Object> newValues, Filter updateFilter)
List<TransactionRequest.TransactionElement>
getTransactionElements()
Set<QName>
getTypeNames()
-
Methods inherited from class WFSRequest
getFinalURL, getHandle, getOperation, getOutputFormat, getPostContentType, getStrategy, getTypeName, initRequest, initService, initVersion, performPostOutput, requiresPost, setHandle, setOutputFormat, setTypeName, toString
-
Methods inherited from class AbstractRequest
getProperties, getRequestHints, processKey, setProperty, setRequestHints
-
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface Request
getProperties, getRequestHints, setProperty, setRequestHints
-
-
-
-
Constructor Detail
-
TransactionRequest
public TransactionRequest(WFSConfig config, WFSStrategy strategy)
-
-
Method Detail
-
add
public void add(TransactionRequest.TransactionElement txElem)
-
getTransactionElements
public List<TransactionRequest.TransactionElement> getTransactionElements()
-
createInsert
public TransactionRequest.Insert createInsert(QName typeName)
-
createUpdate
public TransactionRequest.Update createUpdate(QName typeName, List<QName> propertyNames, List<Object> newValues, Filter updateFilter)
-
createDelete
public TransactionRequest.Delete createDelete(QName typeName, Filter deleteFilter)
-
createResponse
public WFSResponse createResponse(HTTPResponse response) throws IOException
Description copied from interface:Request
Each Request must know how to create it's counterpart Response. Given the content type and input stream (containin the response data), this method must return an appropriate Response object.- Specified by:
createResponse
in interfaceRequest
- Overrides:
createResponse
in classWFSRequest
- Throws:
IOException
-
-