java.lang.Object
com.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
|
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 |
ictx
private javax.naming.InitialContext ictx
vendorManagement
private com.obs.ejb.vendor.interfaces.VendorManagement vendorManagement
handle
private javax.ejb.Handle handle
VendorManagementDelegate
public VendorManagementDelegate()
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