se.portfolio.scam.http.command
Class UpdateContent

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

public class UpdateContent
extends Object
implements Command

Updates the file content for a File-component.
Parameters:

Arguments:
ModelBean.NAME -> se.kmr.scam.client.http.helper.ModelBean - Model for the File-component
ManifestIDBean.NAME -> se.kmr.scam.client.http.helper.ManifestIDBean - Information about current manifest
FileContentBean.NAME -> se.kmr.scam.client.http.helper.FileContentBean - The new file content

Result:
ModelBean.NAME -> se.kmr.scam.client.http.helper.ModelBean - Contains updated liveproperties for the File-component.

Version:
$Revision: 1.4 $
Author:
Jöran
Created:
den 16 september 2003

Constructor Summary
UpdateContent()
           
 
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

UpdateContent

public UpdateContent()
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.