se.kmr.scam.client.http.command
Class FreetextSearch
java.lang.Object
se.kmr.scam.client.http.command.FreetextSearch
- All Implemented Interfaces:
- Command
- public class FreetextSearch
- extends Object
- implements Command
Perform a freetext search.
Parameters:
Arguments:
"pattern" -> java.lang.String
- Text to search for
"operator" -> java.lang.String
- Operator ("ILIKE", "LIKE")
Result:
SearchBean in session scope
ListResultBean in session scope
- Version:
- 1.0
- Author:
- jand
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FreetextSearch
public FreetextSearch()
execute
public CommandResponse execute(HttpServletRequest request,
HttpServletResponse response)
throws HttpException
- Description copied from interface:
Command
- Execute the command.
- Specified by:
execute
in interface Command
- Parameters:
request
- holds information from the client.response
- holds response information sent to the client.
- Returns:
- Returns an CommandResponse object.
- Throws:
HttpException
- thrown in case of an exception during execution
of the command.
init
public void init(Map args)
- Description copied from interface:
Command
- Initialize the command with arguments.
- Specified by:
init
in interface Command
- Parameters:
args
- command arguments.
Copyright © 2003 SCAM. All Rights Reserved.