Package wt.vc.config
Class MultipleOwnershipIndependentLatestConfigSpec
java.lang.Object
wt.vc.config.MultipleOwnershipIndependentLatestConfigSpec
- All Implemented Interfaces:
Externalizable,Serializable,ConfigSpec
public class MultipleOwnershipIndependentLatestConfigSpec
extends Object
implements ConfigSpec, Externalizable
This MultipleOwnershipIndependentLatestConfigSpec is similiar to the
MultipleLatestConfigSpec, except that it does not take ownership into
account. It simply returns the latest element regardless of ownership.
Supported API: true
Extendable: false
Supported API: true
Extendable: false
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionappendSearchCriteria(QuerySpec querySpec) Appends a "latest = true" statement to the QuerySpec, indicating that only versions (latest iterations) should be considered.process(QueryResult results) Returns the latest iteration of each version.
-
Method Details
-
appendSearchCriteria
Appends a "latest = true" statement to the QuerySpec, indicating that only versions (latest iterations) should be considered.
Supported API: true- Specified by:
appendSearchCriteriain interfaceConfigSpec- Parameters:
querySpec- A QuerySpec with a target class that is Iterated.- Returns:
- QuerySpec
- Throws:
WTExceptionQueryException- See Also:
-
process
Returns the latest iteration of each version. Only a single iteration per version is returned. Ownership is not taken into consideration.
Supported API: true- Specified by:
processin interfaceConfigSpec- Parameters:
results-- Returns:
- QueryResult
- Throws:
WTException- See Also:
-