|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectwt.vc.config.OwnershipIndependentLatestConfigSpec
public class OwnershipIndependentLatestConfigSpec
This OwnershipIndependentLatestConfigSpec is similiar to the LatestConfigSpec,
except that it does not take ownership into account. It simply returns
the latest element regardless of ownership.
Supported API: true
Extendable: false
| Method Summary | |
|---|---|
QuerySpec |
appendSearchCriteria(QuerySpec querySpec)
Appends a "latest = true" statement to the QuerySpec, indicating that only versions (latest iterations) should be considered. |
QueryResult |
process(QueryResult results)
Returns the latest of the versions based on the version identifier (A.A is greater than A and B is greater than both, for example). |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public QuerySpec appendSearchCriteria(QuerySpec querySpec)
throws WTException,
QueryException
appendSearchCriteria in interface ConfigSpecquerySpec - A QuerySpec with a target class that is Iterated.
WTException
QueryExceptionQuerySpec,
SearchCondition
public QueryResult process(QueryResult results)
throws WTException
process in interface ConfigSpecresults - 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.
WTExceptionQueryResult,
Iterated
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||