se.kmr.scam.client.http.command
Class CreateViewByType

java.lang.Object
  extended byse.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

Constructor Summary
CreateViewByType()
           
 
Method Summary
 CommandResponse execute(HttpServletRequest request, HttpServletResponse response)
          Execute the command.
 void init(Map args)
          Initialize the command with arguments.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CreateViewByType

public CreateViewByType()
Method Detail

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.