org.objectweb.perseus.persistence.api
Interface TransactionalWorkingSet

All Superinterfaces:
WorkingSet
All Known Implementing Classes:
BasicWorkingSet

public interface TransactionalWorkingSet
extends WorkingSet

Author:
S.Chassande-Barrioz

Field Summary
static byte CTX_ABORTED
          The status of an aborted transactional context
static byte CTX_ACTIVE_TRANSACTIONAL
          The status of a transactional context which is not already committed or aborted.
static byte CTX_COMMITTED
          The status of a committed transactional context
static byte CTX_PREPARED
          The status of a prepared context
static byte CTX_PREPARED_FAIL
          The status of a prepared context
static byte CTX_PREPARED_OK
          The status of a prepared context
 
Fields inherited from interface org.objectweb.perseus.persistence.api.WorkingSet
CTX_ACTIVE, CTX_CLOSED, READ_INTENTION, UNKNOWN_INTENTION, WRITE_INTENTION
 
Method Summary
 boolean getWSRollBackOnly()
          Indicates if the transactional working must rollback at the end.
 void setWSRollBackOnly(boolean val)
          Permit to indicates if the transactional working must rollback at the end.
 
Methods inherited from interface org.objectweb.perseus.persistence.api.WorkingSet
bind, clear, entries, getConnectionHolder, getOid2Entry, getStatus, getUserObject, getWSRestoreValues, getWSRetainValues, lookup, oids, setStatus, setWSRestoreValues, setWSRetainValues, unbind
 

Field Detail

CTX_ACTIVE_TRANSACTIONAL

public static final byte CTX_ACTIVE_TRANSACTIONAL
The status of a transactional context which is not already committed or aborted.

See Also:
Constant Field Values

CTX_PREPARED

public static final byte CTX_PREPARED
The status of a prepared context

See Also:
Constant Field Values

CTX_PREPARED_OK

public static final byte CTX_PREPARED_OK
The status of a prepared context

See Also:
Constant Field Values

CTX_PREPARED_FAIL

public static final byte CTX_PREPARED_FAIL
The status of a prepared context

See Also:
Constant Field Values

CTX_COMMITTED

public static final byte CTX_COMMITTED
The status of a committed transactional context

See Also:
Constant Field Values

CTX_ABORTED

public static final byte CTX_ABORTED
The status of an aborted transactional context

See Also:
Constant Field Values
Method Detail

getWSRollBackOnly

public boolean getWSRollBackOnly()
Indicates if the transactional working must rollback at the end.


setWSRollBackOnly

public void setWSRollBackOnly(boolean val)
Permit to indicates if the transactional working must rollback at the end.



Copyright © 2000-2002 France Telecom S.A., INRIA, IMAG-LSR All Rights Reserved.