org.gvsig.remoteclient.wfs.edition
Class WFSTTransaction

java.lang.Object
  extended by org.gvsig.remoteclient.wfs.edition.WFSTTransaction

public class WFSTTransaction
extends java.lang.Object

Author:
Jorge Piera LLodrĂ¡ (jorge.piera@iver.es)

Constructor Summary
WFSTTransaction(WFSStatus wfsStatus)
           
 
Method Summary
 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()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WFSTTransaction

public WFSTTransaction(WFSStatus wfsStatus)
Method Detail

createDeleteOperation

public WFSTDeleteOperation createDeleteOperation(java.lang.String id)
Adds a delete operation

Parameters:
ids - The identifiers of the features to delete

createInsertOperation

public WFSTInsertOperation createInsertOperation()
Adds a insert operation

Parameters:
gml - The new Feature

createUpdateOperation

public WFSTUpdateOperation createUpdateOperation(java.lang.String id)
Adds a update operation

Parameters:
id - The identifier of the features to update
values - A map with key equals to the property and the value equals to the value to update The update operation

getDeleteOperationAt

public WFSTDeleteOperation getDeleteOperationAt(int i)
Gets an delete operation

Parameters:
i - Operation position
Returns:
A operation

getDeleteOperationSize

public int getDeleteOperationSize()
Returns:
the delete operations size

getInseOperationAt

public WFSTInsertOperation getInseOperationAt(int i)
Gets an insert operation

Parameters:
i - Operation position
Returns:
A operation

getInsertOperationSize

public int getInsertOperationSize()
Returns:
the insert operations size

getUpdateOperationAt

public WFSTUpdateOperation getUpdateOperationAt(int i)
Gets an update operation

Parameters:
i - Operation position
Returns:
A operation

getUpdateOperationSize

public int getUpdateOperationSize()
Returns:
the update operations size


Copyright © 2014 gvSIG Association. All Rights Reserved.