Package wt.vc.config
Class AsMaturedConfigSpec
java.lang.Object
wt.vc.config._AsMaturedConfigSpec
wt.vc.config.AsMaturedConfigSpec
- All Implemented Interfaces:
Externalizable,Serializable,wt.fc._NetFactor,wt.fc._ObjectMappable,NetFactor,ObjectMappable,ConfigSpec
@GenAsObjectMappable(interfaces=ConfigSpec.class,properties={@GeneratedProperty(name="asMaturedDate",type=java.sql.Timestamp.class,supportedAPI=PUBLIC),@GeneratedProperty(name="asMaturedLifeCycleStates",type=java.lang.String.class,supportedAPI=PUBLIC)})
public class AsMaturedConfigSpec
extends _AsMaturedConfigSpec
The AsMaturedConfigSpec can be applied to any Iterated and LifeCycleManaged object to filter for a non-latest
revision of the most matured configuration of the object that existed at a given point in time.
NOTE: the query logic has not been added to this class and only the latest iteration will be returned i.e. is
acting like LatestConfigSpec.
Supported API: true
Extendable: false
- See Also:
-
Field Summary
Fields inherited from class wt.vc.config._AsMaturedConfigSpec
AS_MATURED_DATE, AS_MATURED_LIFE_CYCLE_STATES -
Method Summary
Modifier and TypeMethodDescriptionprotected voidinitialize(Timestamp date, List<String> lifecycleStates) Supports initialization, following construction of an instance.process(QueryResult results) Process the QueryResult of iterations, returning only those that match the most mature life cycle states and as matured date.Methods inherited from class wt.vc.config._AsMaturedConfigSpec
getAsMaturedDate, getAsMaturedLifeCycleStates, setAsMaturedDate, setAsMaturedLifeCycleStates
-
Method Details
-
initialize
protected void initialize(Timestamp date, List<String> lifecycleStates) throws WTPropertyVetoException Supports initialization, following construction of an instance. Invoked by "new" factory having the same signature.
Supported API: true- Parameters:
date-lifecycleStates-- Throws:
WTPropertyVetoException
-
process
Process the QueryResult of iterations, returning only those that match the most mature life cycle states and as matured date.
Supported API: true- 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- See Also:
-