wt.part
Class StandardPartDocService.LatestReleasedConfigSpec
java.lang.Object
wt.vc.config.LifeCycleConfigSpec
wt.part.StandardPartDocService.LatestReleasedConfigSpec
- All Implemented Interfaces:
- ConfigSpec, Externalizable, NetFactor, ObjectMappable, Serializable
- Enclosing class:
- StandardPartDocService
- private static class StandardPartDocService.LatestReleasedConfigSpec
- extends LifeCycleConfigSpec
Methods inherited from class wt.vc.config.LifeCycleConfigSpec |
getClassInfo, getConceptualClassname, getLifeCycleState, initialize, newLifeCycleConfigSpec, readExternal, readExternal, readVersion, setLifeCycleState, toString, writeExternal, writeExternal |
LATEST_CONFIG_SPEC
private final LatestConfigSpec LATEST_CONFIG_SPEC
StandardPartDocService.LatestReleasedConfigSpec
private StandardPartDocService.LatestReleasedConfigSpec()
newLatestReleasedConfigSpec
public static StandardPartDocService.LatestReleasedConfigSpec newLatestReleasedConfigSpec()
throws WTPropertyVetoException
- Throws:
WTPropertyVetoException
appendSearchCriteria
public QuerySpec appendSearchCriteria(QuerySpec querySpec)
throws WTException,
QueryException
- Description copied from class:
LifeCycleConfigSpec
- Appends a "lifecyclestate = getLifeCycleState()" to the QuerySpec,
indicating that all elements must be at the particular state.
Supported API: true
- Specified by:
appendSearchCriteria
in interface ConfigSpec
- Overrides:
appendSearchCriteria
in class LifeCycleConfigSpec
- Parameters:
querySpec
- A QuerySpec with a target class that is Iterated.
- Returns:
- QuerySpec
- Throws:
QueryException
WTException
process
public QueryResult process(QueryResult results)
throws WTException
- Description copied from class:
LifeCycleConfigSpec
- Returns a clone of the results. No processing is done: it is expected
that the results have already been pre-filtered by the search.
Supported API: true
- Specified by:
process
in interface ConfigSpec
- Overrides:
process
in class LifeCycleConfigSpec
- Parameters:
results
- 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.
- Returns:
- QueryResult
- Throws:
WTException