wt.part
Class StandardPartDocService.LatestReleasedConfigSpec

java.lang.Object
  extended bywt.vc.config.LifeCycleConfigSpec
      extended bywt.part.StandardPartDocService.LatestReleasedConfigSpec
All Implemented Interfaces:
ConfigSpec, Externalizable, NetFactor, ObjectMappable, Serializable
Enclosing class:
StandardPartDocService

private static class StandardPartDocService.LatestReleasedConfigSpec
extends LifeCycleConfigSpec


Field Summary
private  LatestConfigSpec LATEST_CONFIG_SPEC
           
 
Fields inherited from class wt.vc.config.LifeCycleConfigSpec
EXTERNALIZATION_VERSION_UID, LIFE_CYCLE_STATE, OLD_FORMAT_VERSION_UID
 
Constructor Summary
private StandardPartDocService.LatestReleasedConfigSpec()
           
 
Method Summary
 QuerySpec appendSearchCriteria(QuerySpec querySpec)
          Appends a "lifecyclestate = getLifeCycleState()" to the QuerySpec, indicating that all elements must be at the particular state.
static StandardPartDocService.LatestReleasedConfigSpec newLatestReleasedConfigSpec()
           
 QueryResult process(QueryResult results)
          Returns a clone of the results.
 
Methods inherited from class wt.vc.config.LifeCycleConfigSpec
getClassInfo, getConceptualClassname, getLifeCycleState, initialize, newLifeCycleConfigSpec, readExternal, readExternal, readVersion, setLifeCycleState, toString, writeExternal, writeExternal
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

LATEST_CONFIG_SPEC

private final LatestConfigSpec LATEST_CONFIG_SPEC
Constructor Detail

StandardPartDocService.LatestReleasedConfigSpec

private StandardPartDocService.LatestReleasedConfigSpec()
Method Detail

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