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

Quick Search    Search Deep

com.obs.client.customer.delegates
Class CustomerMgmtDelegate  view CustomerMgmtDelegate download CustomerMgmtDelegate.java

java.lang.Object
  extended bycom.obs.client.templates.EJBDelegateHelper
      extended bycom.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


Field Summary
private  java.lang.String jndiREF
           
private  com.obs.ejb.customer.interfaces.CustomerMgmt remote
           
 
Fields inherited from class com.obs.client.templates.EJBDelegateHelper
handle, ictx, inited
 
Constructor Summary
CustomerMgmtDelegate()
           
CustomerMgmtDelegate(java.util.Properties props)
           
 
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 com.obs.client.templates.EJBDelegateHelper
gActivate, gDestroy, gPassivate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

remote

private com.obs.ejb.customer.interfaces.CustomerMgmt remote

jndiREF

private java.lang.String jndiREF
Constructor Detail

CustomerMgmtDelegate

public CustomerMgmtDelegate()
                     throws com.obs.common.shared.exceptions.ServerContactException

CustomerMgmtDelegate

public CustomerMgmtDelegate(java.util.Properties props)
                     throws com.obs.common.shared.exceptions.ServerContactException
Method Detail

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