se.kmr.scam.client.http.command
Class ReadModel
java.lang.Object
se.kmr.scam.client.http.command.ReadModel
- All Implemented Interfaces:
- Command
- public class ReadModel
- extends Object
- implements Command
Reads the model for a single uri from the repository.
Parameters:
"depth" - depth of retrieval (in case an IMSCP Folder)
"maxDepth" - maximum depth
Arguments:
"uri" -> java.lang.String - Idenitifies the object representing a URI.
Result:
ModelBean.NAME -> se.kmr.scam.client.http.helper.ModelBean -
- Version:
- $Revision: 1.14 $
- 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 |
ReadModel
public ReadModel()
execute
public CommandResponse execute(HttpServletRequest request,
HttpServletResponse response)
throws HttpException
- Execute this command
- Specified by:
execute in interface Command
- Parameters:
request - Current request objectresponse - Current response object
- Returns:
- Returns an CommandResponse object.
- Throws:
HttpException - Thrown in case of exception executing this command
init
public void init(Map args)
- Initialize this object with parameters from a
Map object
- Specified by:
init in interface Command
- Parameters:
args - Use these arguemnts as parameters.
Copyright © 2003 SCAM. All Rights Reserved.