org.geotools.data.wfs
Class WFSTransactionState

java.lang.Object
  extended byorg.geotools.data.wfs.WFSTransactionState
All Implemented Interfaces:
Transaction.State

public class WFSTransactionState
extends java.lang.Object
implements Transaction.State

DOCUMENT ME!

Author:
dzwiers TODO To change the template for this generated type comment go to Window - Preferences - Java - Code Style - Code Templates

Constructor Summary
WFSTransactionState(WFSDataStore ds)
           
 
Method Summary
 void addAction(Action a)
           
 void addAuthorization(java.lang.String AuthID)
          Call back used for Transaction.setAuthorization()
 void commit()
          Call back used for Transaction.commit()
 java.util.List getActions()
           
 java.lang.String[] getFids()
           
 java.lang.String getLockId()
          Not implemented
 void rollback()
          Call back used for Transaction.rollback()
 void setTransaction(Transaction transaction)
          Provides configuration information for Transaction.State setTransaction is called with non null transaction when Transaction.State is putState into a Transaction.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WFSTransactionState

public WFSTransactionState(WFSDataStore ds)
Parameters:
ds -
Method Detail

setTransaction

public void setTransaction(Transaction transaction)
Description copied from interface: Transaction.State
Provides configuration information for Transaction.State

setTransaction is called with non null transaction when Transaction.State is putState into a Transaction. This tranasction will be used to determine correct event notification.

setTransaction is called with null when removeState is called (usually during Transaction.close() ).

Specified by:
setTransaction in interface Transaction.State
Parameters:
transaction -
See Also:
Transaction.State.setTransaction(org.geotools.data.Transaction)

addAuthorization

public void addAuthorization(java.lang.String AuthID)
Description copied from interface: Transaction.State
Call back used for Transaction.setAuthorization()

Specified by:
addAuthorization in interface Transaction.State
See Also:
Transaction.State.addAuthorization(java.lang.String)

getLockId

public java.lang.String getLockId()
Not implemented

Returns:
String

commit

public void commit()
            throws java.io.IOException
Description copied from interface: Transaction.State
Call back used for Transaction.commit()

Specified by:
commit in interface Transaction.State
Throws:
java.io.IOException
See Also:
Transaction.State.commit()

rollback

public void rollback()
Description copied from interface: Transaction.State
Call back used for Transaction.rollback()

Specified by:
rollback in interface Transaction.State
See Also:
Transaction.State.rollback()

getFids

public java.lang.String[] getFids()
Returns:
Fid Set

addAction

public void addAction(Action a)
Parameters:
a -

getActions

public java.util.List getActions()
Returns:
List of Actions


Copyright © GeoTools. All Rights Reserved.