|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.vc.baseline.BaselineOperation
This class encapsulates a Baseline operation. It is used to provide a mechanism for performing Baseline operations stand-alone, within a transaction or with locking within a transaction.
Field Summary | |
protected Baseline |
baseline
|
private static int |
LOCK_RETRY
|
private static int |
LOCK_RETRY_SLEEP_INTERVAL
|
private static String |
RESOURCE
|
Constructor Summary | |
BaselineOperation(Baseline a_baseline)
Initializes this instance. |
Method Summary | |
abstract Baseline |
execute()
Executes the operation. |
Baseline |
executeLockingTransaction()
Executes the operation within a transaction while the Baseline object locked. |
Baseline |
executeTransaction()
Executes the operation within a transaction. |
Baseline |
executeTransaction(boolean lock)
Executes the operation within a transaction. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private static final String RESOURCE
private static final int LOCK_RETRY
private static final int LOCK_RETRY_SLEEP_INTERVAL
protected Baseline baseline
Constructor Detail |
public BaselineOperation(Baseline a_baseline)
a_baseline
- object to perform operation onMethod Detail |
public Baseline executeLockingTransaction() throws WTException
WTException
public Baseline executeTransaction() throws WTException
WTException
public Baseline executeTransaction(boolean lock) throws WTException
lock
- indicates whether to lock the baseline within the
transaction
WTException
public abstract Baseline execute() throws WTException
WTException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |