com.sun.j2ee.blueprints.petstoreadmin.control.web
Class ManageOrdersBean
java.lang.Object
|
+--com.sun.j2ee.blueprints.petstoreadmin.control.web.ManageOrdersBean
- public class ManageOrdersBean
- extends java.lang.Object
This class is used to retrieve the number of "pending" orders that
have been placed for the Administrator.
This class is also used to support the interoperability demo
using MS Excel to view a placed order. For more information
about the MS Excel demo for the pet store, see the readme.html
file that comes with the petstore download.
This class is used to retrieve a set number of orders that
have been placed.
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
ManageOrdersBean
public ManageOrdersBean()
init
public void init()
getPendingOrders
public java.util.Collection getPendingOrders()
getPendingOrdersXML
public java.lang.String getPendingOrdersXML()
getPendingOrdersXML
public java.lang.String getPendingOrdersXML(int max)
- Parameters:
max
- (if >= 0) specifies the maximum
number of orders to return.
-1 (or < 0) if unlimited.
Copyright © 2000 Sun Microsystems Inc. All Rights Reserved.