se.portfolio.scam.http.command
Class AddToHistory

java.lang.Object
  extended byse.portfolio.scam.http.command.AddToHistory
All Implemented Interfaces:
Command

public class AddToHistory
extends Object
implements Command

Title:

Description:

Copyright: Copyright (c) 2003

Company:

Version:
1.0
Author:
jand

Constructor Summary
AddToHistory()
           
 
Method Summary
 CommandResponse execute(HttpServletRequest request, HttpServletResponse response)
          Execute the command.
 void init(Map map)
          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

AddToHistory

public AddToHistory()
Method Detail

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 map)
Description copied from interface: Command
Initialize the command with arguments.

Specified by:
init in interface Command
Parameters:
map - command arguments.


Copyright © 2003 SCAM. All Rights Reserved.