se.kmr.scam.client.http.command
Class CreateViewByType
java.lang.Object
se.kmr.scam.client.http.command.CreateViewByType
- All Implemented Interfaces:
- Command
- public class CreateViewByType
- extends Object
- implements Command
Extracts an (static) view for a component. The component is the resource described in
a ModelBean instance (request scoop). The command returns a Forward response to
the page that will render the component.
- Version:
- $Revision: 1.15 $
- Author:
- Jöran
- Created:
- den 9 april 2003
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CreateViewByType
public CreateViewByType()
execute
public CommandResponse execute(HttpServletRequest request,
HttpServletResponse response)
throws HttpException
- 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)
- Initialize the command with arguments.
- Specified by:
init
in interface Command
- Parameters:
args
- command arguments.
Copyright © 2003 SCAM. All Rights Reserved.