com.ibm.websphere.samples.pbw.ejb
Class SuppliersBean

java.lang.Object
  extended by com.ibm.websphere.samples.pbw.ejb.SuppliersBean

public class SuppliersBean
extends Object

Bean implementation class for Enterprise Bean: Suppliers


Constructor Summary
SuppliersBean()
           
 
Method Summary
 void createSupplier(String supplierID, String name, String street, String city, String state, String zip, String phone, String url)
           
 Supplier getSupplier()
           
 Supplier updateSupplier(String supplierID, String name, String street, String city, String state, String zip, String phone, String url)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SuppliersBean

public SuppliersBean()
Method Detail

createSupplier

public void createSupplier(String supplierID,
                           String name,
                           String street,
                           String city,
                           String state,
                           String zip,
                           String phone,
                           String url)
Parameters:
supplierID -
name -
street -
city -
state -
zip -
phone -
url -

getSupplier

public Supplier getSupplier()
Returns:
Supplier

updateSupplier

public Supplier updateSupplier(String supplierID,
                               String name,
                               String street,
                               String city,
                               String state,
                               String zip,
                               String phone,
                               String url)
Parameters:
supplierID -
name -
street -
city -
state -
zip -
phone -
url -
Returns:
supplierInfo


Copyright © 2011. All Rights Reserved.