wt.epm.structure
Class EPMNavigateUtility.QueryResultProcessor

java.lang.Object
  extended bywt.epm.structure.EPMNavigateUtility.QueryResultProcessor
All Implemented Interfaces:
NavigateResultProcessor, ResultProcessor
Enclosing class:
EPMNavigateUtility

protected static class EPMNavigateUtility.QueryResultProcessor
extends Object
implements NavigateResultProcessor


Field Summary
private  NavigateResultProcessor processor
           
 
Constructor Summary
protected EPMNavigateUtility.QueryResultProcessor(boolean onlyOtherSide)
           
 
Method Summary
 void addElement(Object object)
          Add the specified object to the result processor, and increase the size by one

Supported API: false
 void clearPreviousResults()
          Clears previous results.
 Object getResults()
          Returns the processed results.
 void processResults(WTCollection fromObjects)
          Post processes the results once all of the Binary links have been navigated.
 void selectWhatToReturn(Relationship relationship, QuerySpec querySpec)
          Specifies what objects or attributes to return when navigating a Binary link from one set of objects to another.
 int size()
          Return the number of objects which have been added by the result processor

Supported API: false
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

processor

private NavigateResultProcessor processor
Constructor Detail

EPMNavigateUtility.QueryResultProcessor

protected EPMNavigateUtility.QueryResultProcessor(boolean onlyOtherSide)
Method Detail

selectWhatToReturn

public void selectWhatToReturn(Relationship relationship,
                               QuerySpec querySpec)
                        throws WTException
Description copied from interface: NavigateResultProcessor
Specifies what objects or attributes to return when navigating a Binary link from one set of objects to another. The method may specify to return the links, the other-side objects, or specific attributes of either object or any combination of the three.

Supported API: false

Specified by:
selectWhatToReturn in interface NavigateResultProcessor
Parameters:
relationship - relationship that is being navigated
querySpec - query spec that describes how to perform the navigation
Throws:
WTException

getResults

public Object getResults()
Description copied from interface: NavigateResultProcessor
Returns the processed results.

Supported API: false

Specified by:
getResults in interface NavigateResultProcessor
Returns:
Object

processResults

public void processResults(WTCollection fromObjects)
                    throws WTException
Description copied from interface: NavigateResultProcessor
Post processes the results once all of the Binary links have been navigated.

Supported API: false

Specified by:
processResults in interface NavigateResultProcessor
Parameters:
fromObjects - objects we navigated from
Throws:
WTException

clearPreviousResults

public void clearPreviousResults()
Description copied from interface: NavigateResultProcessor
Clears previous results.

Supported API: false

Specified by:
clearPreviousResults in interface NavigateResultProcessor

addElement

public void addElement(Object object)
Description copied from interface: ResultProcessor
Add the specified object to the result processor, and increase the size by one

Supported API: false

Specified by:
addElement in interface ResultProcessor
Parameters:
object -

size

public int size()
Description copied from interface: ResultProcessor
Return the number of objects which have been added by the result processor

Supported API: false

Specified by:
size in interface ResultProcessor
Returns:
int