com.sdm.quasar.client.showcase.jsf.data
Class OrderRegistry

java.lang.Object
  extended bycom.sdm.quasar.client.showcase.jsf.data.OrderRegistry
All Implemented Interfaces:
java.io.Serializable

public class OrderRegistry
extends java.lang.Object
implements java.io.Serializable

Registers and manages orders

Author:
Erika Buchholz
See Also:
Serialized Form

Method Summary
 void addArticle(Order newOrder)
          Adds an article to the orders list.
static OrderRegistry getInstance()
           
 java.util.List getOrders()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static OrderRegistry getInstance()

addArticle

public void addArticle(Order newOrder)
Adds an article to the orders list.


getOrders

public java.util.List getOrders()
Returns:
a List of ordered articles