org.apache.servicemix.examples.cxf.jaxrs
Class CustomerService

java.lang.Object
  extended by org.apache.servicemix.examples.cxf.jaxrs.CustomerService

public class CustomerService
extends java.lang.Object


Constructor Summary
CustomerService()
           
 
Method Summary
 javax.ws.rs.core.Response addCustomer(Customer customer)
           
 javax.ws.rs.core.Response deleteCustomer(java.lang.String id)
           
 Customer getCustomer(java.lang.String id)
           
 Order getOrder(java.lang.String orderId)
           
 javax.ws.rs.core.Response updateCustomer(Customer customer)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CustomerService

public CustomerService()
Method Detail

getCustomer

public Customer getCustomer(java.lang.String id)

updateCustomer

public javax.ws.rs.core.Response updateCustomer(Customer customer)

addCustomer

public javax.ws.rs.core.Response addCustomer(Customer customer)

deleteCustomer

public javax.ws.rs.core.Response deleteCustomer(java.lang.String id)

getOrder

public Order getOrder(java.lang.String orderId)


Copyright © 2005-2010 The Apache Software Foundation. All Rights Reserved.