|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectwt.vc.config.LifeCycleConfigSpec
The LifeCycleConfigSpec can be applied to LifeCycleManaged elements to filter them based on life cycle state. Only those elements at the specified life cycle state will be returned.
Use the newLifeCycleConfigSpec static factory method(s),
not the LifeCycleConfigSpec constructor, to construct instances
of this class. Instances must be constructed using the static factory(s),
in order to ensure proper initialization of the instance.
Supported API: true
Extendable: false
LifeCycleManaged,
Serialized Form| Field Summary | |
static String |
LIFE_CYCLE_STATE
Label for the attribute; The state to filter elements on. |
| Method Summary | |
QuerySpec |
appendSearchCriteria(QuerySpec querySpec)
Appends a "lifecyclestate = getLifeCycleState()" to the QuerySpec, indicating that all elements must be at the particular state. |
State |
getLifeCycleState()
Gets the value of the attribute: LIFE_CYCLE_STATE. |
protected void |
initialize(State lifeCycleState)
Supports initialization, following construction of an instance. |
static LifeCycleConfigSpec |
newLifeCycleConfigSpec(State lifeCycleState)
Constructs a new LifeCycleConfigSpec using the specified state. |
QueryResult |
process(QueryResult results)
Returns a clone of the results. |
void |
setLifeCycleState(State a_LifeCycleState)
Sets the value of the attribute: LIFE_CYCLE_STATE. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
public static final String LIFE_CYCLE_STATE
| Method Detail |
public State getLifeCycleState()
public void setLifeCycleState(State a_LifeCycleState)
throws WTPropertyVetoException
a_LifeCycleState -
WTPropertyVetoException
public QuerySpec appendSearchCriteria(QuerySpec querySpec)
throws WTException,
QueryException
appendSearchCriteria in interface ConfigSpecquerySpec - A QuerySpec with a target class that is Iterated.
WTException
QueryExceptionQuerySpec,
SearchCondition
public QueryResult process(QueryResult results)
throws WTException
process in interface ConfigSpecresults - QueryResult of iterations to filter. Assumed to be the result of a query that included the additional search conditions applied by appendSearchCriteria. Note that after enumerating through the elements of this QueryResult, it should be reset.
WTExceptionQueryResult,
Iterated
public static LifeCycleConfigSpec newLifeCycleConfigSpec(State lifeCycleState)
throws WTPropertyVetoException
lifeCycleState -
WTPropertyVetoException
protected void initialize(State lifeCycleState)
throws WTPropertyVetoException
lifeCycleState -
WTPropertyVetoException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||