wt.query
Class DoSearchProcessor.DoSearchDelegate

java.lang.Object
  extended bywt.query.DoSearchProcessor.DoSearchDelegate
Enclosing class:
DoSearchProcessor

class DoSearchProcessor.DoSearchDelegate
extends Object

A utility class that maintains state inbetween calls to doSearch() from within the same instance of a DoSearchProcessor.


Field Summary
private  Object[] attributes
           
private  Object[] classes
           
private  Hashtable criteria
           
private  Vector headerPDs
           
private  Object[] links
           
private  SortedEnumeration results
           
private  int rowCount
           
private  String searchCriteria
           
private  String tableHeader
           
private  boolean visited
           
 
Constructor Summary
DoSearchProcessor.DoSearchDelegate(Hashtable criteria)
           
 
Method Summary
 Object[] getAttributes()
           
 Object[] getClasses()
           
 Object[] getLinks()
           
 SortedEnumeration getResults(String queryValue, Locale locale)
           
 int getRowCount()
           
 String getSearchCriteria(Locale locale)
           
 String getTableHeader(Locale locale)
           
 void setRowCount(int rowCount)
           
 void setVisited(boolean visited)
           
 boolean wasVisited()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

results

private SortedEnumeration results

classes

private Object[] classes

attributes

private Object[] attributes

links

private Object[] links

headerPDs

private Vector headerPDs

searchCriteria

private String searchCriteria

tableHeader

private String tableHeader

rowCount

private int rowCount

visited

private boolean visited

criteria

private Hashtable criteria
Constructor Detail

DoSearchProcessor.DoSearchDelegate

public DoSearchProcessor.DoSearchDelegate(Hashtable criteria)
Method Detail

getRowCount

public int getRowCount()

setRowCount

public void setRowCount(int rowCount)

setVisited

public void setVisited(boolean visited)

wasVisited

public boolean wasVisited()

getResults

public SortedEnumeration getResults(String queryValue,
                                    Locale locale)
                             throws WTException,
                                    WTPropertyVetoException
Throws:
WTException
WTPropertyVetoException

getSearchCriteria

public String getSearchCriteria(Locale locale)
                         throws WTException
Throws:
WTException

getTableHeader

public String getTableHeader(Locale locale)
                      throws WTException
Throws:
WTException

getClasses

public Object[] getClasses()
                    throws NullPointerException
Throws:
NullPointerException

getAttributes

public Object[] getAttributes()
                       throws NullPointerException
Throws:
NullPointerException

getLinks

public Object[] getLinks()
                  throws NullPointerException
Throws:
NullPointerException