Package wt.change2
Class Changeable2ConfigSpec
java.lang.Object
wt.change2.Changeable2ConfigSpec
- 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
MultipleLatestConfigSpec, but does not return checked out iterations.
It is used for the purpose of selecting wt.change2.Changeable2 objects
for association with change management objects
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, except those that are checked out by a different principal.
-
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, except those that are checked out by a different principal.
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. Note that after enumerating through the elements of this QueryResult, it should be reset.- Returns:
- QueryResult
- Throws:
WTException- See Also:
-