Package wt.vc.config
Class MultipleLatestConfigSpec
java.lang.Object
wt.vc.config.MultipleLatestConfigSpec
- All Implemented Interfaces:
Externalizable,Serializable,ConfigSpec
Returns all latest iterations for a master except those latest iterations
not owned by the current principal (either checked-out to another user
or stored in a personal cabinet). This ConfigSpec is similar to the
LatestConfigSpec, but returns potentially many iterations per master,
whereas the LatestConfigSpec returns only one.
Supported API: true
Extendable: false
Supported API: true
Extendable: false
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionappendSearchCriteria(QuerySpec querySpec) Appends a "latest == true" condition to the QuerySpec.process(QueryResult results) Returns all latest iterations either owned by the current principal (including via a checkout) or stored in a shared cabinet.
-
Method Details
-
appendSearchCriteria
Appends a "latest == true" condition to the QuerySpec.
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 all latest iterations either owned by the current principal (including via a checkout) or stored in a shared cabinet.
Supported API: true- Specified by:
processin interfaceConfigSpec- Parameters:
results- QueryResult of iterations to filter. Assumed to be the result of a query that included the additional search conditions applied by appendSearchCriteria.- Returns:
- QueryResult
- Throws:
WTException- See Also:
-