|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectwt.visitor.VisitorAdapter
wt.configuration.ConfigurationVisitor
public class ConfigurationVisitor
Supported API: true
Extendable: false
| Method Summary | |
|---|---|
QuerySpec |
appendSearchCriteria(QuerySpec querySpec)
Appends to the supplied QuerySpec additional search criteria to reduce the resulting iterations to only those that will be considered by this ConfigSpec. |
QueryResult |
process(QueryResult results)
Process the QueryResult of iterations, returning only those that "match" according to the algorithm. |
boolean |
visit(Persistable fromNode,
Link link,
Persistable toNode,
int level,
boolean previouslyVisited)
Visit a node. |
| Methods inherited from class wt.visitor.VisitorAdapter |
|---|
visitLevel, visitLevel |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public boolean visit(Persistable fromNode,
Link link,
Persistable toNode,
int level,
boolean previouslyVisited)
throws WTException
visit in interface Visitorvisit in class VisitorAdapterfromNode - link - toNode - level - previouslyVisited -
WTException
public QuerySpec appendSearchCriteria(QuerySpec querySpec)
throws WTException,
QueryException
The QueryResult returned should be a copy of the passed in one (taking advantage of side-effects is not encouraged).
appendSearchCriteria in interface ConfigSpecquerySpec - A QuerySpec with a target class that is Iterated.
WTException
QueryExceptionQuerySpec,
SearchCondition
public QueryResult process(QueryResult results)
throws WTException
The QueryResult returned should be a copy of the passed-in QueryResult (side-effects should be avoided).
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 | ||||||||