com.example.customerservice.server
Class CustomerServiceImpl

java.lang.Object
  extended by com.example.customerservice.server.CustomerServiceImpl
All Implemented Interfaces:
CustomerService

public class CustomerServiceImpl
extends Object
implements CustomerService


Field Summary
protected  CustomerServiceWS m_Owner
          the ADAMS owner.
 
Constructor Summary
CustomerServiceImpl(CustomerServiceWS owner)
          Initializes the service.
 
Method Summary
 List<Customer> getCustomersByName(String name)
           
 void updateCustomer(Customer customer)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

m_Owner

protected CustomerServiceWS m_Owner
the ADAMS owner.

Constructor Detail

CustomerServiceImpl

public CustomerServiceImpl(CustomerServiceWS owner)
Initializes the service.

Method Detail

getCustomersByName

public List<Customer> getCustomersByName(String name)
                                  throws NoSuchCustomerException
Specified by:
getCustomersByName in interface CustomerService
Throws:
NoSuchCustomerException

updateCustomer

public void updateCustomer(Customer customer)
Specified by:
updateCustomer in interface CustomerService


Copyright © 2012 University of Waikato, Hamilton, NZ. All Rights Reserved.