com.ibm.websphere.samples.pbw.war
Class Populate

java.lang.Object
  extended by com.ibm.websphere.samples.pbw.war.Populate

public class Populate
extends Object

A basic POJO class for resetting the database.


Constructor Summary
Populate()
           
Populate(ResetDBBean resetDB, CatalogMgr c, CustomerMgr l, BackOrderMgr b, SuppliersBean s)
           
 
Method Summary
static void addImage(String itemID, String fileName, CatalogMgr catalog)
           
 void doPopulate()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Populate

public Populate()

Populate

public Populate(ResetDBBean resetDB,
                CatalogMgr c,
                CustomerMgr l,
                BackOrderMgr b,
                SuppliersBean s)
Method Detail

addImage

public static void addImage(String itemID,
                            String fileName,
                            CatalogMgr catalog)
                     throws FileNotFoundException,
                            IOException
Parameters:
itemID -
fileName -
catalog -
Throws:
FileNotFoundException
IOException

doPopulate

public void doPopulate()


Copyright © 2011. All Rights Reserved.