public class WFSTTransaction
extends java.lang.Object
Constructor and Description |
---|
WFSTTransaction(WFSStatus wfsStatus) |
Modifier and Type | Method and Description |
---|---|
WFSTDeleteOperation |
createDeleteOperation(java.lang.String id)
Adds a delete operation
|
WFSTInsertOperation |
createInsertOperation()
Adds a insert operation
|
WFSTUpdateOperation |
createUpdateOperation(java.lang.String id)
Adds a update operation
|
WFSTDeleteOperation |
getDeleteOperationAt(int i)
Gets an delete operation
|
int |
getDeleteOperationSize() |
WFSTInsertOperation |
getInseOperationAt(int i)
Gets an insert operation
|
int |
getInsertOperationSize() |
WFSTUpdateOperation |
getUpdateOperationAt(int i)
Gets an update operation
|
int |
getUpdateOperationSize() |
public WFSTTransaction(WFSStatus wfsStatus)
public WFSTDeleteOperation createDeleteOperation(java.lang.String id)
ids
- The identifiers of the features to deletepublic WFSTInsertOperation createInsertOperation()
gml
- The new Featurepublic WFSTUpdateOperation createUpdateOperation(java.lang.String id)
id
- The identifier of the features to updatevalues
- A map with key equals to the property and the value equals to the value to update
The update operationpublic int getInsertOperationSize()
public WFSTInsertOperation getInseOperationAt(int i)
i
- Operation positionpublic int getUpdateOperationSize()
public WFSTUpdateOperation getUpdateOperationAt(int i)
i
- Operation positionpublic int getDeleteOperationSize()
public WFSTDeleteOperation getDeleteOperationAt(int i)
i
- Operation position