se.kmr.scam.client.http
Interface Command

All Known Implementing Classes:
AbstractProcessModel, AddProperty, AddToHistory, BackupManifest, CreateAbstractView, CreateAbstractViewByType, CreateAnnotation, CreateItem, CreateLink, CreateManifest, CreateUser, CreateViewByType, Cut, FreetextSearch, GetHomeURI, GetIMSCPPath, GetManifestURI, GetParentURI, GetURIByProperty, InternalForward, InternalRedirect, Link, ListManifests, ListReferences, ListResult, ListUsers, Login, Logout, LOMSearch, LOMSort, MergeModel, Open, Open, ParseRDF, ParseUser, Paste, ProcessAcl, ReadModel, Remove, RemoveAnnotations, RemoveManifest, RemoveProperty, RemoveUser, RestoreManifest, SaveModelInCache, SavePreferences, Search, SortResult, StoreModel, StoreUpload, SyncManifest, UpdateContent, UpdateManifestCache

public interface Command

Defines a command interface.

Version:
$Revision: 1.4 $
Author:
Jöran Stark, jand
Created:
den 5 juni 2002

Method Summary
 CommandResponse execute(HttpServletRequest request, HttpServletResponse response)
          Execute the command.
 void init(Map args)
          Initialize the command with arguments.
 

Method Detail

execute

public CommandResponse execute(HttpServletRequest request,
                               HttpServletResponse response)
                        throws HttpException
Execute the 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.

Parameters:
args - command arguments.


Copyright © 2003 SCAM. All Rights Reserved.