Method Summary |
|
public void | addObject(IPersistent object) Adds an object to the transaction to be written. |
public void | close() This will free up the underlying pooled connection. |
public void | commit() Commits all changes executed against the persistent store. |
public void | deleteObject(IPersistent object) Adds an object to the transaction to be deleted. |
public Collection | getAdds() Returns a Collection of Persistent objects to be added to the persistent store. |
public DataSource | getDataSource() Returns the DataSource holding the Connection. |
public Collection | getDeletes() Returns a Collection of Persistent objects to be deleted from the persistent store. |
public Collection | getQueries() Returns a Collection of Criteria objects to be used for querying the persistent store. |
public Collection | getUpdates() Returns a Collection of Persistent objects to be updated in the persistent store. |
public void | queryObject(Criteria object) Adds a Criteria object to the transaction for performing a query. |
public void | rollback() Rollback the changes executed against the persistent store. |
public void | updateObject(IPersistent object) Adds an object to the transaction to be updated. |