Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.obs.client.vendor.delegates
Class VendorManagementDelegate  view VendorManagementDelegate download VendorManagementDelegate.java

java.lang.Object
  extended bycom.obs.client.vendor.delegates.VendorManagementDelegate
All Implemented Interfaces:
com.obs.client.templates.EJBDelegate

public class VendorManagementDelegate
extends java.lang.Object
implements com.obs.client.templates.EJBDelegate


Field Summary
private  javax.ejb.Handle handle
           
private  javax.naming.InitialContext ictx
           
private  com.obs.ejb.vendor.interfaces.VendorManagement vendorManagement
           
 
Constructor Summary
VendorManagementDelegate()
           
 
Method Summary
 void activate()
           
 void addContactToVendor(java.lang.String contactId, java.lang.String vendorId)
           
 com.obs.common.vendor.views.VendorView createVendor(com.obs.common.vendor.views.VendorView vendorView, com.obs.common.contact.views.AddressView shipToView, com.obs.common.contact.views.AddressView remitToView, com.obs.common.contact.views.AddressView mailToView, com.obs.common.contact.views.PhoneView phoneView, com.obs.common.contact.views.PhoneView faxView, com.obs.common.contact.views.WebSiteView websiteView)
           
 void destroy()
           
 void passivate()
           
 void removeContactFromVendor(java.lang.String contactId, java.lang.String vendorId)
           
 com.obs.common.vendor.views.VendorView updateVendor(com.obs.common.vendor.views.VendorView vendorView)
           
 void updateVendorMailTo(com.obs.common.contact.views.AddressView mailTo, java.lang.String vendorId)
           
 void updateVendorRemitTo(com.obs.common.contact.views.AddressView remitTo, java.lang.String vendorId)
           
 void updateVendorShipTo(com.obs.common.contact.views.AddressView shipTo, java.lang.String vendorId)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ictx

private javax.naming.InitialContext ictx

vendorManagement

private com.obs.ejb.vendor.interfaces.VendorManagement vendorManagement

handle

private javax.ejb.Handle handle
Constructor Detail

VendorManagementDelegate

public VendorManagementDelegate()
Method Detail

createVendor

public com.obs.common.vendor.views.VendorView createVendor(com.obs.common.vendor.views.VendorView vendorView,
                                                           com.obs.common.contact.views.AddressView shipToView,
                                                           com.obs.common.contact.views.AddressView remitToView,
                                                           com.obs.common.contact.views.AddressView mailToView,
                                                           com.obs.common.contact.views.PhoneView phoneView,
                                                           com.obs.common.contact.views.PhoneView faxView,
                                                           com.obs.common.contact.views.WebSiteView websiteView)

updateVendor

public com.obs.common.vendor.views.VendorView updateVendor(com.obs.common.vendor.views.VendorView vendorView)

updateVendorShipTo

public void updateVendorShipTo(com.obs.common.contact.views.AddressView shipTo,
                               java.lang.String vendorId)

updateVendorRemitTo

public void updateVendorRemitTo(com.obs.common.contact.views.AddressView remitTo,
                                java.lang.String vendorId)

updateVendorMailTo

public void updateVendorMailTo(com.obs.common.contact.views.AddressView mailTo,
                               java.lang.String vendorId)

addContactToVendor

public void addContactToVendor(java.lang.String contactId,
                               java.lang.String vendorId)

removeContactFromVendor

public void removeContactFromVendor(java.lang.String contactId,
                                    java.lang.String vendorId)

passivate

public void passivate()
               throws com.obs.common.exceptions.ServerContactException
Specified by:
passivate in interface com.obs.client.templates.EJBDelegate

activate

public void activate()
              throws com.obs.common.exceptions.ServerContactException
Specified by:
activate in interface com.obs.client.templates.EJBDelegate

destroy

public void destroy()
             throws com.obs.common.exceptions.ServerContactException
Specified by:
destroy in interface com.obs.client.templates.EJBDelegate