org.openprivacy.reptile.actions
Class Search

java.lang.Object
  |
  +--org.openprivacy.reptile.actions.Search
All Implemented Interfaces:
Action

public class Search
extends java.lang.Object
implements Action

Version:
$Id: Search.java,v 1.6 2002/07/06 05:57:56 burton Exp $
Author:
burtonator

Field Summary
static java.lang.String PARAM_SEARCH_CRITERIA
          The criteria string we should use.
static java.lang.String PARAM_SEARCH_FIELDS
          Comma separated list of fields to match Example: title, description, location, etc.
static java.lang.String PARAM_SEARCH_MAXCOUNT
          Maximum number of items to return 100, 200, 300, etc
static java.lang.String PARAM_SEARCH_ORDER
          Specify the search order for this query.
static java.lang.String PARAM_SEARCH_PAGE
          Integer based id of the page we need to view.
static java.lang.String PARAM_SEARCH_PROVIDER
          Specificy the provider that should run this query.
static java.lang.String PARAM_SEARCH_PROVIDER_HANDLE
          Handle of the provider to use.
static java.lang.String PARAM_SEARCH_REQUEST
          Specificy the request (probably an AdvancedSearchRequest) that should run this query.
 
Constructor Summary
Search()
           
 
Method Summary
 ActionDirective perform(ParameterPasser params, javax.servlet.http.HttpSession session)
          Handles searching within Reptile.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PARAM_SEARCH_CRITERIA

public static final java.lang.String PARAM_SEARCH_CRITERIA
The criteria string we should use. Note that in the future this could be multiple values.

See Also:
Constant Field Values

PARAM_SEARCH_PROVIDER

public static final java.lang.String PARAM_SEARCH_PROVIDER
Specificy the provider that should run this query.

See Also:
Constant Field Values

PARAM_SEARCH_REQUEST

public static final java.lang.String PARAM_SEARCH_REQUEST
Specificy the request (probably an AdvancedSearchRequest) that should run this query.

See Also:
Constant Field Values

PARAM_SEARCH_ORDER

public static final java.lang.String PARAM_SEARCH_ORDER
Specify the search order for this query.

See Also:
Constant Field Values

PARAM_SEARCH_FIELDS

public static final java.lang.String PARAM_SEARCH_FIELDS
Comma separated list of fields to match Example: title, description, location, etc.

See Also:
Constant Field Values

PARAM_SEARCH_MAXCOUNT

public static final java.lang.String PARAM_SEARCH_MAXCOUNT
Maximum number of items to return 100, 200, 300, etc

See Also:
Constant Field Values

PARAM_SEARCH_PAGE

public static final java.lang.String PARAM_SEARCH_PAGE
Integer based id of the page we need to view.

See Also:
Constant Field Values

PARAM_SEARCH_PROVIDER_HANDLE

public static final java.lang.String PARAM_SEARCH_PROVIDER_HANDLE
Handle of the provider to use.

See Also:
Constant Field Values
Constructor Detail

Search

public Search()
Method Detail

perform

public ActionDirective perform(ParameterPasser params,
                               javax.servlet.http.HttpSession session)
                        throws java.lang.Exception
Handles searching within Reptile.

Specified by:
perform in interface Action
Throws:
java.lang.Exception - if an error occurs