java.lang.Object
com.obs.client.templates.EJBDelegateHelper
com.obs.client.customer.delegates.CustomerMgmtDelegate
- All Implemented Interfaces:
- com.obs.client.templates.IEJBDelegate
- public class CustomerMgmtDelegate
- extends com.obs.client.templates.EJBDelegateHelper
- implements com.obs.client.templates.IEJBDelegate
|
Method Summary |
void |
activate()
|
void |
addContactToCustomer(java.lang.String contactId,
java.lang.String vendorId)
|
com.obs.common.customer.views.CustomerView |
createCustomer(com.obs.common.customer.views.CustomerView customerView,
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()
|
private void |
init()
|
void |
passivate()
|
void |
removeContactFromCustomer(java.lang.String contactId,
java.lang.String vendorId)
|
com.obs.common.customer.views.CustomerView |
updateCustomer(com.obs.common.customer.views.CustomerView customerView)
|
void |
updateCustomerMailTo(com.obs.common.contact.views.AddressView mailTo,
java.lang.String vendorId)
|
void |
updateCustomerRemitTo(com.obs.common.contact.views.AddressView remitTo,
java.lang.String vendorId)
|
void |
updateCustomerShipTo(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 |
remote
private com.obs.ejb.customer.interfaces.CustomerMgmt remote
jndiREF
private java.lang.String jndiREF
CustomerMgmtDelegate
public CustomerMgmtDelegate()
throws com.obs.common.shared.exceptions.ServerContactException
CustomerMgmtDelegate
public CustomerMgmtDelegate(java.util.Properties props)
throws com.obs.common.shared.exceptions.ServerContactException
createCustomer
public com.obs.common.customer.views.CustomerView createCustomer(com.obs.common.customer.views.CustomerView customerView,
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)
updateCustomer
public com.obs.common.customer.views.CustomerView updateCustomer(com.obs.common.customer.views.CustomerView customerView)
updateCustomerShipTo
public void updateCustomerShipTo(com.obs.common.contact.views.AddressView shipTo,
java.lang.String vendorId)
updateCustomerRemitTo
public void updateCustomerRemitTo(com.obs.common.contact.views.AddressView remitTo,
java.lang.String vendorId)
updateCustomerMailTo
public void updateCustomerMailTo(com.obs.common.contact.views.AddressView mailTo,
java.lang.String vendorId)
addContactToCustomer
public void addContactToCustomer(java.lang.String contactId,
java.lang.String vendorId)
removeContactFromCustomer
public void removeContactFromCustomer(java.lang.String contactId,
java.lang.String vendorId)
init
private void init()
throws com.obs.common.shared.exceptions.ServerContactException
passivate
public void passivate()
throws com.obs.common.shared.exceptions.ServerContactException
- Specified by:
passivate in interface com.obs.client.templates.IEJBDelegate
activate
public void activate()
throws com.obs.common.shared.exceptions.ServerContactException
- Specified by:
activate in interface com.obs.client.templates.IEJBDelegate
destroy
public void destroy()
throws com.obs.common.shared.exceptions.ServerContactException
- Specified by:
destroy in interface com.obs.client.templates.IEJBDelegate