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

All Known Implementing Classes:
MCATSearchModel

public interface IMCATSearchModel

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


Method Summary
 void addErrorListener(java.awt.event.ActionListener actionListener)
          Listens for error events
 void addQueryResultsListener(java.awt.event.ActionListener actionListener)
          Listeners for when the model has finished processing the query
 void advancedSearch(java.util.ArrayList<Condition> conditions)
          Performs an advanced search given
 SearchResultItem[] getQueryResults()
          Returns query results for a query which has just been performed
 FileObject[] getSearchResults()
          Return the search results
 void simpleSearch(java.lang.String simpleQueryString)
          Performs a simple search given a query string
 

Method Detail

simpleSearch

void simpleSearch(java.lang.String simpleQueryString)
Performs a simple search given a query string

Parameters:
simpleQueryString -

addQueryResultsListener

void addQueryResultsListener(java.awt.event.ActionListener actionListener)
Listeners for when the model has finished processing the query

Parameters:
actionListener -

getQueryResults

SearchResultItem[] getQueryResults()
Returns query results for a query which has just been performed

Returns:

getSearchResults

FileObject[] getSearchResults()
Return the search results

Returns:

advancedSearch

void advancedSearch(java.util.ArrayList<Condition> conditions)
Performs an advanced search given

Parameters:
conditions -

addErrorListener

void addErrorListener(java.awt.event.ActionListener actionListener)
Listens for error events

Parameters:
actionListener -