se.kmr.scam.client.http.command
Class SaveModelInCache
java.lang.Object
se.kmr.scam.client.http.command.SaveModelInCache
- All Implemented Interfaces:
- Command
- public class SaveModelInCache
- extends Object
- implements Command
Updates the local, cached, model with values from the request and makes the updated
model available in session context scoope. Request parameters starting
with "id_" is treated as parameters to be written to the cached model.
Parameters are initialized through the method
init(java.util.Map)
.
Arguments are run-time attributes.
Parameters:
Arguments:
"map"
- Identifies the mapping between property-identities and properties.
"id_xxxx"
- Identififies the value of a property with identity "id_xxxx"
Result:
ModelBean.NAME
- Identifies the object holding the updated model
- Version:
- $Revision: 1.12 $
- Author:
- Jöran
- Created:
- den 21 augusti 2002
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SaveModelInCache
public SaveModelInCache()
init
public void init(Map parml)
- Description of the Method
- Specified by:
init
in interface Command
- Parameters:
parml
- Description of the Parameter
execute
public CommandResponse execute(HttpServletRequest request,
HttpServletResponse response)
throws HttpException
- Description of the Method
- Specified by:
execute
in interface Command
- Parameters:
request
- Description of the Parameterresponse
- Description of the Parameter
- Returns:
- Returns an CommandResponse object.
- Throws:
HttpException
- Description of the Exception
Copyright © 2003 SCAM. All Rights Reserved.