View Javadoc
1   package ejava.examples.ejbwar.customer.client;
2   
3   import ejava.examples.ejbwar.customer.bo.Customer;
4   import ejava.examples.ejbwar.customer.bo.Customers;
5   
6   /**
7    * Defines an interface to the customer business logic using JAX-RS
8    * resources.
9    */
10  public interface CustomerClient {
11  	Customer addCustomer(Customer customer);
12  	Customers findCustomersByName(String firstName, String lastName, int offset, int limit);
13  	Customer getCustomer(int id);
14  	boolean deleteCustomer(int id);
15  }