com.ibm.websphere.samples.plantsbywebspherewar
Class Populate

java.lang.Object
  extended by com.ibm.websphere.samples.plantsbywebspherewar.Populate

public class Populate
extends java.lang.Object


Constructor Summary
Populate()
           
Populate(ResetDB resetDB, Catalog c, Login l, BackOrderStock b, Suppliers s)
           
 
Method Summary
static void addImage(java.lang.String itemID, java.lang.String fileName, Catalog 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(ResetDB resetDB,
                Catalog c,
                Login l,
                BackOrderStock b,
                Suppliers s)
Method Detail

addImage

public static void addImage(java.lang.String itemID,
                            java.lang.String fileName,
                            Catalog catalog)
                     throws java.io.FileNotFoundException,
                            java.io.IOException
Parameters:
itemID -
fileName -
catalog -
Throws:
java.io.FileNotFoundException
java.io.IOException

doPopulate

public void doPopulate()