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

java.lang.Object
  extended byse.kmr.scam.client.http.command.CreateLink
All Implemented Interfaces:
Command

public class CreateLink
extends Object
implements Command

Creates a new IMS Item with IMSCP.content link.
Parameters:

Arguments:
"uri" -> java.lang.String - URI of links (multiplicity OK) "inModel" -> java.lang.String - SCAM.inModel

Result:

Version:
$Revision: 1.4 $
Author:
jand
Created:
den 23 augusti 2002

Constructor Summary
CreateLink()
           
 
Method Summary
 CommandResponse execute(HttpServletRequest request, HttpServletResponse response)
          Execute this command
static String getToday(String pattern)
           
 void init(Map args)
          Initialize this object with parameters from a Map object
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CreateLink

public CreateLink()
Method Detail

execute

public CommandResponse execute(HttpServletRequest request,
                               HttpServletResponse response)
                        throws HttpException
Execute this command

Specified by:
execute in interface Command
Parameters:
request - Current request object
response - Current response object
Returns:
null
Throws:
HttpException - Thrown in case of exception executing this command

init

public void init(Map args)
Initialize this object with parameters from a Map object

Specified by:
init in interface Command
Parameters:
args - Use these arguemnts as parameters.

getToday

public static String getToday(String pattern)


Copyright © 2003 SCAM. All Rights Reserved.