edu.internet2.middleware.grouper.ui
Interface SearchTermProcessor


public interface SearchTermProcessor

Sites can add custom form elements to the subject search screen. This interface allows the UI to pre-process a searchTerm plus Source specific request parameters to give an appropriate query string for the Source.

Version:
$Id: SearchTermProcessor.java
Author:
Catherine Jewell.

Method Summary
 String processSearchTerm(Source source, String searchTerm, HttpServletRequest request)
          formats SearchTerm according to searchTerm parameters passed on the request
 

Method Detail

processSearchTerm

String processSearchTerm(Source source,
                         String searchTerm,
                         HttpServletRequest request)
formats SearchTerm according to searchTerm parameters passed on the request

Parameters:
source - - the Source Adapter that is currently in use.
searchTerm - - the string entered into the search box.
request - - carries other request parameters that may be used to process the searchTerm.
Returns:
String - the processed searchTerm