|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectwt.fc.WTObject
wt.enterprise.Simple
wt.epm.EPMDocConfigSpec
public class EPMDocConfigSpec
The config spec for use by EPMDocs. It aggregates BaselineConfigSpec, LifeCycleConfigSpec, IteratedFolderedConfigSpec, EPMAsStoredConfigSpec, SandboxConfigSpec and EffectivityConfigSpec. LatestConfigSpec is applied where applicable to ensure only 1 result. Only one of these may be active at a time. If none of these are active, LatestConfigSpec only will be used.
Use the newEPMDocConfigSpec static factory method(s), not
the EPMDocConfigSpec 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
| Field Summary | |
|---|---|
static String |
AS_STORED_ACTIVE
Label for the attribute; If true, the asStoredConfigSpec is active Supported API: true |
static String |
AS_STORED_CONFIG
Label for the attribute. |
static String |
BASELINE
Label for the attribute. |
static String |
BASELINE_ACTIVE
Label for the attribute; If true, theBaselineConfigSpec is active. |
static String |
EFFECTIVITY
Label for the attribute. |
static String |
EFFECTIVITY_ACTIVE
Label for the attribute. |
static String |
FOLDERED
Label for the attribute. |
static String |
FOLDERED_ACTIVE
Label for the attribute; If true, the IteratedFolderedConfigSpec is active. |
static String |
LIFE_CYCLE
Label for the attribute. |
static String |
LIFE_CYCLE_ACTIVE
Label for the attribute; If true, theLifeCycleConfigSpec is active. |
static String |
SANDBOX_ACTIVE
Label for the attribute; If true, the SandboxConfigSpec is active. |
| Method Summary | |
|---|---|
QuerySpec |
appendSearchCriteria(QuerySpec querySpec)
Appends to the supplied QuerySpec additional search criteria to reduce the resulting iterations to only those that will be considered by this ConfigSpec. |
ConfigSpec |
getActive()
Get the active ConfigSpec. |
EPMAsStoredConfigSpec |
getAsStoredConfig()
Gets the object for the association that plays role: AS_STORED_CONFIG. |
BaselineConfigSpec |
getBaseline()
Gets the object for the association that plays role: BASELINE. |
EffectivityConfigSpec |
getEffectivity()
Gets the object for the association that plays role: EFFECTIVITY. |
IteratedFolderedConfigSpec |
getFoldered()
Gets the object for the association that plays role: FOLDERED. |
LifeCycleConfigSpec |
getLifeCycle()
Gets the object for the association that plays role: LIFE_CYCLE. |
protected void |
initialize(BaselineConfigSpec baseline)
Supports initialization, following construction of an instance. |
protected void |
initialize(BaselineConfigSpec baseline,
LifeCycleConfigSpec lifeCycle,
IteratedFolderedConfigSpec foldered)
Supports initialization, following construction of an instance. |
protected void |
initialize(EffectivityConfigSpec effectivity)
Supports initialization, following construction of an instance. |
protected void |
initialize(EPMAsStoredConfigSpec asStoredConfig)
Supports initialization, following construction of an instance. |
protected void |
initialize(IteratedFolderedConfigSpec foldered)
Supports initialization, following construction of an instance. |
protected void |
initialize(LifeCycleConfigSpec lifeCycle)
Supports initialization, following construction of an instance. |
protected void |
initialize(wt.sandbox.SandboxConfigSpec sandboxConfig)
Supports initialization, following construction of an instance. |
boolean |
isAsStoredActive()
Gets the value of the attribute: AS_STORED_ACTIVE. |
boolean |
isBaselineActive()
Gets the value of the attribute: BASELINE_ACTIVE. |
boolean |
isEffectivityActive()
Gets the value of the attribute: EFFECTIVITY_ACTIVE. |
boolean |
isFolderedActive()
Gets the value of the attribute: FOLDERED_ACTIVE. |
boolean |
isLifeCycleActive()
Gets the value of the attribute: LIFE_CYCLE_ACTIVE. |
boolean |
isSandboxActive()
Gets the value of the attribute: SANDBOX_ACTIVE. |
static EPMDocConfigSpec |
newEPMDocConfigSpec()
Supported API: true |
static EPMDocConfigSpec |
newEPMDocConfigSpec(BaselineConfigSpec baseline)
Supported API: true |
static EPMDocConfigSpec |
newEPMDocConfigSpec(BaselineConfigSpec baseline,
LifeCycleConfigSpec lifeCycle,
IteratedFolderedConfigSpec foldered)
Supported API: true |
static EPMDocConfigSpec |
newEPMDocConfigSpec(EffectivityConfigSpec effectivity)
Supported API: true |
static EPMDocConfigSpec |
newEPMDocConfigSpec(EPMAsStoredConfigSpec asStoredConfig)
Supported API: true |
static EPMDocConfigSpec |
newEPMDocConfigSpec(IteratedFolderedConfigSpec foldered)
Supported API: true |
static EPMDocConfigSpec |
newEPMDocConfigSpec(LifeCycleConfigSpec lifeCycle)
Supported API: true |
static EPMDocConfigSpec |
newEPMDocConfigSpec(wt.sandbox.SandboxConfigSpec sandboxConfig)
Supported API: true |
QueryResult |
process(QueryResult results)
Process the QueryResult of iterations, returning only those that "match" according to the algorithm. |
void |
setAsStoredActive(boolean a_AsStoredActive)
Sets the value of the attribute: AS_STORED_ACTIVE. |
void |
setAsStoredConfig(EPMAsStoredConfigSpec a_AsStoredConfig)
Sets the object for the association that plays role: AS_STORED_CONFIG. |
void |
setBaseline(BaselineConfigSpec a_Baseline)
Sets the object for the association that plays role: BASELINE. |
void |
setBaselineActive(boolean a_BaselineActive)
Sets the value of the attribute: BASELINE_ACTIVE. |
void |
setEffectivity(EffectivityConfigSpec a_Effectivity)
Sets the object for the association that plays role: EFFECTIVITY. |
void |
setEffectivityActive(boolean a_EffectivityActive)
Sets the value of the attribute: EFFECTIVITY_ACTIVE. |
void |
setFoldered(IteratedFolderedConfigSpec a_Foldered)
Sets the object for the association that plays role: FOLDERED. |
void |
setFolderedActive(boolean a_FolderedActive)
Sets the value of the attribute: FOLDERED_ACTIVE. |
void |
setLatestActive()
Sets all active states to false. |
void |
setLifeCycle(LifeCycleConfigSpec a_LifeCycle)
Sets the object for the association that plays role: LIFE_CYCLE. |
void |
setLifeCycleActive(boolean a_LifeCycleActive)
Sets the value of the attribute: LIFE_CYCLE_ACTIVE. |
void |
setSandboxActive(boolean a_SandboxActive)
Sets the value of the attribute: SANDBOX_ACTIVE. |
| Methods inherited from class wt.fc.WTObject |
|---|
getDisplayIdentifier, getDisplayIdentity, getDisplayType |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final String BASELINE_ACTIVE
public static final String LIFE_CYCLE_ACTIVE
public static final String FOLDERED_ACTIVE
public static final String EFFECTIVITY_ACTIVE
public static final String AS_STORED_ACTIVE
public static final String SANDBOX_ACTIVE
public static final String BASELINE
public static final String LIFE_CYCLE
public static final String FOLDERED
public static final String EFFECTIVITY
public static final String AS_STORED_CONFIG
| Method Detail |
|---|
public boolean isBaselineActive()
public void setBaselineActive(boolean a_BaselineActive)
a_BaselineActive - public boolean isLifeCycleActive()
public void setLifeCycleActive(boolean a_LifeCycleActive)
a_LifeCycleActive - public boolean isFolderedActive()
public void setFolderedActive(boolean a_FolderedActive)
a_FolderedActive - public boolean isEffectivityActive()
public void setEffectivityActive(boolean a_EffectivityActive)
a_EffectivityActive - public boolean isAsStoredActive()
public void setAsStoredActive(boolean a_AsStoredActive)
a_AsStoredActive - public boolean isSandboxActive()
public void setSandboxActive(boolean a_SandboxActive)
a_SandboxActive - public BaselineConfigSpec getBaseline()
public void setBaseline(BaselineConfigSpec a_Baseline)
a_Baseline - public LifeCycleConfigSpec getLifeCycle()
public void setLifeCycle(LifeCycleConfigSpec a_LifeCycle)
a_LifeCycle - public IteratedFolderedConfigSpec getFoldered()
public void setFoldered(IteratedFolderedConfigSpec a_Foldered)
a_Foldered - public EffectivityConfigSpec getEffectivity()
public void setEffectivity(EffectivityConfigSpec a_Effectivity)
a_Effectivity - public EPMAsStoredConfigSpec getAsStoredConfig()
public void setAsStoredConfig(EPMAsStoredConfigSpec a_AsStoredConfig)
a_AsStoredConfig -
public static EPMDocConfigSpec newEPMDocConfigSpec()
throws WTException
WTException
public static EPMDocConfigSpec newEPMDocConfigSpec(BaselineConfigSpec baseline)
throws WTException
baseline -
WTException
protected void initialize(BaselineConfigSpec baseline)
throws WTException
baseline -
WTException
public static EPMDocConfigSpec newEPMDocConfigSpec(LifeCycleConfigSpec lifeCycle)
throws WTException
lifeCycle -
WTException
protected void initialize(LifeCycleConfigSpec lifeCycle)
throws WTException
lifeCycle -
WTException
public static EPMDocConfigSpec newEPMDocConfigSpec(IteratedFolderedConfigSpec foldered)
throws WTException
foldered -
WTException
protected void initialize(IteratedFolderedConfigSpec foldered)
throws WTException
foldered -
WTException
public static EPMDocConfigSpec newEPMDocConfigSpec(EPMAsStoredConfigSpec asStoredConfig)
throws WTException
asStoredConfig -
WTException
protected void initialize(EPMAsStoredConfigSpec asStoredConfig)
throws WTException
asStoredConfig -
WTException
public static EPMDocConfigSpec newEPMDocConfigSpec(BaselineConfigSpec baseline,
LifeCycleConfigSpec lifeCycle,
IteratedFolderedConfigSpec foldered)
throws WTException
baseline - lifeCycle - foldered -
WTException
protected void initialize(BaselineConfigSpec baseline,
LifeCycleConfigSpec lifeCycle,
IteratedFolderedConfigSpec foldered)
throws WTException
baseline - lifeCycle - foldered -
WTExceptionpublic ConfigSpec getActive()
public void setLatestActive()
public static EPMDocConfigSpec newEPMDocConfigSpec(EffectivityConfigSpec effectivity)
throws WTException
effectivity -
WTException
protected void initialize(EffectivityConfigSpec effectivity)
throws WTException
effectivity -
WTException
public static EPMDocConfigSpec newEPMDocConfigSpec(wt.sandbox.SandboxConfigSpec sandboxConfig)
throws WTException
sandboxConfig -
WTException
protected void initialize(wt.sandbox.SandboxConfigSpec sandboxConfig)
throws WTException
sandboxConfig -
WTException
public QuerySpec appendSearchCriteria(QuerySpec querySpec)
throws WTException,
QueryException
The QueryResult returned should be a copy of the passed in one (taking advantage of side-effects is not encouraged).
appendSearchCriteria in interface ConfigSpecquerySpec - A QuerySpec with a target class that is Iterated.
WTException
QueryExceptionQuerySpec,
SearchCondition
public QueryResult process(QueryResult results)
throws WTException
The QueryResult returned should be a copy of the passed-in QueryResult (side-effects should be avoided).
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
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||