Class CustomerServiceImpl
- java.lang.Object
-
- com.example.customerservice.server.CustomerServiceImpl
-
- All Implemented Interfaces:
CustomerService
public class CustomerServiceImpl extends Object implements CustomerService
-
-
Field Summary
Fields Modifier and Type Field Description protected CustomerServiceWS
m_Owner
the ADAMS owner.
-
Constructor Summary
Constructors Constructor Description CustomerServiceImpl(CustomerServiceWS owner)
Initializes the service.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<Customer>
getCustomersByName(String name)
void
updateCustomer(Customer customer)
-
-
-
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 interfaceCustomerService
- Throws:
NoSuchCustomerException
-
updateCustomer
public void updateCustomer(Customer customer)
- Specified by:
updateCustomer
in interfaceCustomerService
-
-