deegree 2.5 (2011/06/29 09:44 build-8-official)

org.deegree.portal.standard.csw.model
Class ShoppingCart

java.lang.Object
  extended by org.deegree.portal.standard.csw.model.ShoppingCart

public class ShoppingCart
extends java.lang.Object

A ${type_name} class.
TODO class description

Version:
$Revision: 18195 $, $Date: 2009-06-18 17:55:39 +0200 (Do, 18 Jun 2009) $
Author:
Judit Mays, last edited by: $Author: mschneider $

Constructor Summary
ShoppingCart()
           
ShoppingCart(java.util.List contents)
           
 
Method Summary
 void add(SessionRecord sr)
           
 void clear()
           
 java.util.List getContents()
           
 void remove(SessionRecord sr)
           
 void removeAll(java.util.List sessionRecords)
           
 void setContents(java.util.List contents)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ShoppingCart

public ShoppingCart()

ShoppingCart

public ShoppingCart(java.util.List contents)
Parameters:
contents - A List of SessionRecord elements.
Method Detail

add

public void add(SessionRecord sr)
Parameters:
sr - A SessionRecord to add to the ShoppingCart contents. Cannot be null.

remove

public void remove(SessionRecord sr)
Parameters:
sr -

removeAll

public void removeAll(java.util.List sessionRecords)
Parameters:
sessionRecords -

clear

public void clear()

getContents

public java.util.List getContents()
Returns:
Returns the contents of the ShoppingCart.

setContents

public void setContents(java.util.List contents)
Parameters:
contents - The contents to set.
Throws:
java.lang.RuntimeException - if the passed List contains elements other than SessionRecord.

deegree 2.5 (2011/06/29 09:44 build-8-official)

an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org