|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.ojb.odmg.ObjectEnvelopeTable
manages all ObjectEnvelopes included by a transaction. Performs commit, and rollack operations on all included Envelopes.
Constructor Summary | |
ObjectEnvelopeTable(TransactionImpl myTransaction)
Creates new ObjectEnvelopeTable |
Method Summary | |
void |
commit()
perform commit on all tx-states |
boolean |
contains(java.lang.Object pKey)
retrieve an objects ObjectModification state from the hashtable |
java.util.Enumeration |
elements()
Get an enumeration of all the elements in this ObjectEnvelopeTable in random order. |
ObjectEnvelope |
get(java.lang.Object pKey)
retrieve an objects ObjectEnvelope state from the hashtable. |
ObjectEnvelope |
getByIdentity(Identity id)
retrieve an objects ObjectModification state from the hashtable |
void |
put(java.lang.Object pKey,
ObjectEnvelope modification)
store an objects transactional state into the Hashtable |
void |
refresh()
prepare this instance for reuse |
void |
remove(java.lang.Object pKey)
remove an objects entry from the Hashtable |
void |
rollback()
perform rollback on all tx-states |
java.lang.String |
toString()
Returns a String representation of this object |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public ObjectEnvelopeTable(TransactionImpl myTransaction)
Method Detail |
public void refresh()
public void commit() throws TransactionAbortedException, LockNotGrantedException
TransactionAbortedException
LockNotGrantedException
public void rollback()
public void remove(java.lang.Object pKey)
public java.util.Enumeration elements()
public ObjectEnvelope getByIdentity(Identity id)
public ObjectEnvelope get(java.lang.Object pKey)
public void put(java.lang.Object pKey, ObjectEnvelope modification)
public java.lang.String toString()
public boolean contains(java.lang.Object pKey)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |