org.jboss.errai.samples.restdemo.client.shared
Interface CustomerService

All Known Implementing Classes:
CustomerServiceImpl

public interface CustomerService

JAX-RS service interface

Author:
Christian Sadilek

Method Summary
 long createCustomer(Customer customer)
           
 void deleteCustomer(long id)
           
 List<Customer> listAllCustomers()
           
 Customer retrieveCustomerById(long id)
           
 Customer updateCustomer(long id, Customer customer)
           
 

Method Detail

listAllCustomers

List<Customer> listAllCustomers()

createCustomer

long createCustomer(Customer customer)

updateCustomer

Customer updateCustomer(long id,
                        Customer customer)

deleteCustomer

void deleteCustomer(long id)

retrieveCustomerById

Customer retrieveCustomerById(long id)


Copyright © 2011 JBoss, a division of Red Hat. All Rights Reserved.