Method Summary |
|
public void | addAuthorization(String authID) Provides an authorization ID allowing access to locked Features. |
public synchronized void | close() Frees all State held by this Transaction. |
public void | commit() Commits all modifications against this Transaction.
This implementation will call commit() on all State managed by this Transaction. |
protected void | finalize() |
public Set | getAuthorizations() The current set of Authorization IDs held by this Transaction. |
public Object | getProperty(Object key) Implementation of getProperty. |
public State | getState(Object key) Returns externalized state or null if not available. |
public void | putProperty(Object key, Object value) Implementation of addProperty. |
public void | putState(Object key, State state) Remembers Externalized State for a DataSource.
This is the GOF Momento pattern: a FeatureSource is able to externalize its internal State
required for Transaction support and have this class manage it. |
public void | removeState(Object key) Removes state from DefaultTransaction's care. |
public void | rollback() Rollsback all modifications against this Transaction.
This implementation will call rollback() on all State managed by this Transaction. |
public String | toString() |