|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectwt.lifecycle.LifeCycleHelper
public class LifeCycleHelper
LifeCycleHelper provides client invokable methods to life cycle services.
These methods are executed on the client side.
Supported API: true
Extendable: false
| Field Summary | |
|---|---|
static String |
ALL
Transition initialization directive identifying all states in a sequence (life cycle). |
static String |
FIRST
Transition initialization directive identifying the first state in a sequence (life cycle). |
static String |
LAST
Transition initialization directive identifying the last state in a sequence (life cycle). |
| Method Summary | |
|---|---|
static boolean |
isDeterministic(Transition transition)
Returns true if the argrument transition is among those specified in the system configuration to be deterministic and false otherwise. |
static boolean |
isFinalPhase(wt.lifecycle.PhaseTemplate aPhaseTemplate)
Answers whether the PhaseTemplate is a final phase Supported API: true |
static wt.lifecycle.LifeCycleManaged |
setLifeCycle(wt.lifecycle.LifeCycleManaged object,
wt.lifecycle.LifeCycleTemplate lifeCycle)
Set the LifeCycle of the LifeCycleManaged object and clear out the rest of the Life Cycle cookie. |
static wt.lifecycle.LifeCycleManaged |
setLifeCycle(wt.lifecycle.LifeCycleManaged object,
wt.lifecycle.LifeCycleTemplateReference lctRef)
Set the LifeCycle of the LifeCycleManaged object. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String ALL
public static final String FIRST
public static final String LAST
| Method Detail |
|---|
public static boolean isFinalPhase(wt.lifecycle.PhaseTemplate aPhaseTemplate)
throws WTException
aPhaseTemplate - phase template that is being evaluated
WTException
public static wt.lifecycle.LifeCycleManaged setLifeCycle(wt.lifecycle.LifeCycleManaged object,
wt.lifecycle.LifeCycleTemplate lifeCycle)
throws wt.lifecycle.LifeCycleException,
WTPropertyVetoException
object - the LifeCycleManaged object whose life cycle will be setlifeCycle - the LifeCycle to be set on the LifeCycleManaged object.
wt.lifecycle.LifeCycleException
WTPropertyVetoException
public static wt.lifecycle.LifeCycleManaged setLifeCycle(wt.lifecycle.LifeCycleManaged object,
wt.lifecycle.LifeCycleTemplateReference lctRef)
throws WTException,
wt.lifecycle.LifeCycleException,
WTPropertyVetoException
object - the LifeCycleManaged object whose life cycle should be setlctRef - the LifeCycleReference of the LifeCycle that should be set on the LifeCycleManaged object.
WTException
wt.lifecycle.LifeCycleException
WTPropertyVetoExceptionpublic static boolean isDeterministic(Transition transition)
transition - the Transition whose configuration as deterministic is to be determined
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||