au.edu.jcu.hermes.plugin.mcatsearch
Interface IMCATSearchView

All Known Implementing Classes:
MCATSearchView

public interface IMCATSearchView

Author: Mathew Wyatt Organisation: James Cook University Date: Nov 26, 2007 Time: 5:28:03 PM


Method Summary
 void addAdvancedSearchListener(java.awt.event.ActionListener actionListener)
          Listeners for advanced searches
 void addRevealSearchResultListener(java.awt.event.ActionListener actionListener)
          Actionlistener notified when the view wants to have a search result item revealed in a browser
 void addSimpleQueryStringListener(java.awt.event.ActionListener actionListener)
          Listeners for when a new query string needs to be processed
 SearchResultItem getItemToReveal()
          Get the currently selected item to reveal in a browser
 java.util.ArrayList<Condition> getSearchConditions()
          Get the advanced search key,value pairs and their conditions
 java.lang.String getSimpleQueryString()
          Returns the simple query string the user wants processed
 void setQueryResults(SearchResultItem[] queryResults)
          Set the results of a query
 void setSearchEnabled(boolean enabled)
          Sets the search box to be searchable
 

Method Detail

addSimpleQueryStringListener

void addSimpleQueryStringListener(java.awt.event.ActionListener actionListener)
Listeners for when a new query string needs to be processed

Parameters:
actionListener -

getSimpleQueryString

java.lang.String getSimpleQueryString()
Returns the simple query string the user wants processed

Returns:

setQueryResults

void setQueryResults(SearchResultItem[] queryResults)
Set the results of a query

Parameters:
queryResults -

getSearchConditions

java.util.ArrayList<Condition> getSearchConditions()
Get the advanced search key,value pairs and their conditions

Returns:

addAdvancedSearchListener

void addAdvancedSearchListener(java.awt.event.ActionListener actionListener)
Listeners for advanced searches

Parameters:
actionListener -

addRevealSearchResultListener

void addRevealSearchResultListener(java.awt.event.ActionListener actionListener)
Actionlistener notified when the view wants to have a search result item revealed in a browser

Parameters:
actionListener -

getItemToReveal

SearchResultItem getItemToReveal()
Get the currently selected item to reveal in a browser

Returns:

setSearchEnabled

void setSearchEnabled(boolean enabled)
Sets the search box to be searchable

Parameters:
enabled -