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

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

public class LOMSort
extends Object
implements Command

Orders a set of subjects in a predefined order. The subjects are provided by a ListResultBean and a PreferenceBean provides current sortcriterias
Parameters are initialized through the method init(java.util.Map) . Arguments are run-time attributes.

Parameters:

Arguments:
ListResultBean - contains the set of subjects to sort
PreferenceBean - contains the sort criteria
ManifestIDBean - defines the working manifest

Result:
ListResultBean - bean representing the orderd set of subbjects

Version:
$Revision: 1.8 $
Author:
Jöran
Created:
den 23 augusti 2002

Constructor Summary
LOMSort()
           
 
Method Summary
 CommandResponse execute(HttpServletRequest request, HttpServletResponse response)
          Execute the command.
 void init(Map args)
          Description of the Method
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LOMSort

public LOMSort()
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 args)
Description of the Method

Specified by:
init in interface Command
Parameters:
args - Description of the Parameter


Copyright © 2003 SCAM. All Rights Reserved.