|
|||||||||
| 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.doc.WTDocumentConfigSpec
public class WTDocumentConfigSpec
The config spec for use by WTDocuments. It aggregates BaselineConfigSpec, SandboxConfigSpec and WTDocumentStandardConfigSpec. Only one of these may be active at a time.
Use the newWTDocumentConfigSpec static factory method(s),
not the WTDocumentConfigSpec 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 |
BASELINE
Label for the attribute. |
static String |
BASELINE_ACTIVE
Label for the attribute; If true, the BaselineConfigSpec is active. |
static String |
SANDBOX
Label for the attribute. |
static String |
SANDBOX_ACTIVE
Label for the attribute; If true, the SandboxConfigSpec is active. |
static String |
STANDARD
Label for the attribute. |
static String |
STANDARD_ACTIVE
Label for the attribute; If true, the WTDocumentStandardConfigSpec 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. |
BaselineConfigSpec |
getBaseline()
Gets the object for the association that plays role: BASELINE. |
wt.sandbox.SandboxConfigSpec |
getSandbox()
Gets the value of the attribute: SANDBOX. |
WTDocumentStandardConfigSpec |
getStandard()
Gets the object for the association that plays role: STANDARD. |
protected void |
initialize(BaselineConfigSpec baseline)
Supports initialization, following construction of an instance. |
protected void |
initialize(BaselineConfigSpec baseline,
WTDocumentStandardConfigSpec standard)
Supports initialization, following construction of an instance. |
protected void |
initialize(wt.sandbox.SandboxConfigSpec sandbox)
Supports initialization, following construction of an instance. |
protected void |
initialize(WTDocumentStandardConfigSpec standard)
Supports initialization, following construction of an instance. |
boolean |
isBaselineActive()
Gets the value of the attribute: BASELINE_ACTIVE. |
boolean |
isSandboxActive()
Gets the value of the attribute: SANDBOX_ACTIVE. |
boolean |
isStandardActive()
Gets the value of the attribute: STANDARD_ACTIVE. |
static WTDocumentConfigSpec |
newWTDocumentConfigSpec()
Supported API: true |
static WTDocumentConfigSpec |
newWTDocumentConfigSpec(BaselineConfigSpec baseline)
Supported API: true |
static WTDocumentConfigSpec |
newWTDocumentConfigSpec(BaselineConfigSpec baseline,
WTDocumentStandardConfigSpec standard)
Supported API: true |
static WTDocumentConfigSpec |
newWTDocumentConfigSpec(wt.sandbox.SandboxConfigSpec sandbox)
Supported API: true |
static WTDocumentConfigSpec |
newWTDocumentConfigSpec(WTDocumentStandardConfigSpec standard)
Supported API: true |
QueryResult |
process(QueryResult results)
Process the QueryResult of iterations, returning only those that "match" according to the algorithm. |
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 |
setSandbox(wt.sandbox.SandboxConfigSpec a_Sandbox)
Sets the value of the attribute: SANDBOX. |
void |
setSandboxActive(boolean a_SandboxActive)
Sets the value of the attribute: SANDBOX_ACTIVE. |
void |
setStandard(WTDocumentStandardConfigSpec a_Standard)
Sets the object for the association that plays role: STANDARD. |
void |
setStandardActive(boolean a_StandardActive)
Sets the value of the attribute: STANDARD_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 STANDARD_ACTIVE
public static final String SANDBOX_ACTIVE
public static final String SANDBOX
public static final String BASELINE
public static final String STANDARD
| Method Detail |
|---|
public boolean isBaselineActive()
public void setBaselineActive(boolean a_BaselineActive)
a_BaselineActive - public boolean isStandardActive()
public void setStandardActive(boolean a_StandardActive)
a_StandardActive - public boolean isSandboxActive()
public void setSandboxActive(boolean a_SandboxActive)
a_SandboxActive - public wt.sandbox.SandboxConfigSpec getSandbox()
public void setSandbox(wt.sandbox.SandboxConfigSpec a_Sandbox)
a_Sandbox - public BaselineConfigSpec getBaseline()
public void setBaseline(BaselineConfigSpec a_Baseline)
a_Baseline - public WTDocumentStandardConfigSpec getStandard()
public void setStandard(WTDocumentStandardConfigSpec a_Standard)
a_Standard - public ConfigSpec getActive()
public static WTDocumentConfigSpec newWTDocumentConfigSpec()
throws WTException
WTException
public static WTDocumentConfigSpec newWTDocumentConfigSpec(BaselineConfigSpec baseline)
throws WTException
baseline -
WTException
protected void initialize(BaselineConfigSpec baseline)
throws WTException
baseline -
WTException
public static WTDocumentConfigSpec newWTDocumentConfigSpec(WTDocumentStandardConfigSpec standard)
throws WTException
standard -
WTException
protected void initialize(WTDocumentStandardConfigSpec standard)
throws WTException
standard -
WTException
public static WTDocumentConfigSpec newWTDocumentConfigSpec(BaselineConfigSpec baseline,
WTDocumentStandardConfigSpec standard)
throws WTException
baseline - standard -
WTException
protected void initialize(BaselineConfigSpec baseline,
WTDocumentStandardConfigSpec standard)
throws WTException
baseline - standard -
WTException
public static WTDocumentConfigSpec newWTDocumentConfigSpec(wt.sandbox.SandboxConfigSpec sandbox)
throws WTException
sandbox -
WTException
protected void initialize(wt.sandbox.SandboxConfigSpec sandbox)
throws WTException
sandbox -
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 | ||||||||