se.kmr.scam.client.http.command
Class LOMSearch
java.lang.Object
se.kmr.scam.client.http.command.LOMSearch
- All Implemented Interfaces:
- Command
- public class LOMSearch
- extends Object
- implements Command
Cretaes a RDQL expression from arguments.
Parameters are initialized through the method
init(java.util.Map)
.
Arguments are run-time attributes.
Parameters:
"QueryId"
- Identifies the value to wich the result is associated.
Arguments:
DC.creator -> java.lang.String
- Identifies the value for DC.creator properties
DC.format -> java.lang.String
- Identifies the value for DC.format properties
DC.subject -> java.lang.String
- Identifies the value for DC.subject properties
"property" -> java.lang.String
- Idenfies a name of a property (for free text search)
"value" -> java.lang.String
- Identifies a value for free text search
Result:
QueryId -> java.lang.String
- Identifies the object holding the RDQL-query
- Version:
- $Revision: 1.18 $
- Author:
- Jöran
- Created:
- den 23 augusti 2002
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LOMSearch
public LOMSearch()
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.