com.usefullittlethings.saw.apps.shared
Class AbstractSearchController

java.lang.Object
  |
  +--com.usefullittlethings.saw.apps.shared.AbstractSearchController
All Implemented Interfaces:
SearchControllerIfc
Direct Known Subclasses:
FileSearchController

public abstract class AbstractSearchController
extends java.lang.Object
implements SearchControllerIfc

Abstract implementation of a SearchControllerIfc interface which provides some default behavior such as getBase and setAppController.


Field Summary
 
Fields inherited from interface com.usefullittlethings.saw.controller.SearchControllerIfc
CLASS_NAME
 
Constructor Summary
AbstractSearchController()
           
 
Method Summary
 java.lang.Object getBase()
          Returns the base associated with the current search.
 void setAppController(AppControllerIfc appController)
          Sets a reference to the application-level controller.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.usefullittlethings.saw.controller.SearchControllerIfc
begin, configure, getAppTitle, getResultClass, getSearchPatternPreferences, getSearchPatternSummary, getSearchRootUI, getUnixName, hasMoreResults, next, search, setSearchPatternPreferences, supports, toXMLString, update
 

Constructor Detail

AbstractSearchController

public AbstractSearchController()
Method Detail

setAppController

public void setAppController(AppControllerIfc appController)
Sets a reference to the application-level controller.

Specified by:
setAppController in interface SearchControllerIfc

getBase

public java.lang.Object getBase()
Returns the base associated with the current search. Not populated until search is invoked.

Specified by:
getBase in interface SearchControllerIfc
Returns:
Base of search currently underway