© 2002 BEA Systems, Inc.


examples.e2e.common
Class TestInventoryFactory

java.lang.Object
  |
  +--examples.e2e.common.TestInventoryFactory

public class TestInventoryFactory
extends java.lang.Object

TestInventoryFactory returns hard-coded objects in response to calls to its methods. This class is intended as a way to utilize the front-end portlet without deploying the back-end application integration (AI) components.


Constructor Summary
TestInventoryFactory()
           
 
Method Summary
static java.util.List createPart(java.lang.String id)
          Returns a hard-coded List of Inventory objects that represent parts.
static java.util.List createProduct(java.util.List ids)
          Returns a hard-coded List of Inventory objects that represent products.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TestInventoryFactory

public TestInventoryFactory()
Method Detail

createProduct

public static java.util.List createProduct(java.util.List ids)
Returns a hard-coded List of Inventory objects that represent products.

createPart

public static java.util.List createPart(java.lang.String id)
Returns a hard-coded List of Inventory objects that represent parts.

© 2002 BEA Systems, Inc.

Copyright © 2002 BEA Systems, Inc. All Rights Reserved