com.restfully.shop.services
Class CustomerResourceBean
java.lang.Object
com.restfully.shop.services.CustomerResourceBean
@Transactional
public class CustomerResourceBean
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CustomerResourceBean
public CustomerResourceBean()
setEntityManager
public void setEntityManager(javax.persistence.EntityManager em)
createCustomer
public Response createCustomer(Customer customer,
UriInfo uriInfo)
domain2entity
public static void domain2entity(CustomerEntity entity,
Customer customer)
entity2domain
public static Customer entity2domain(CustomerEntity entity)
getCustomers
public Customers getCustomers(int start,
int size,
String firstName,
String lastName,
UriInfo uriInfo)
getCustomer
public Customer getCustomer(int id)
Copyright © 2011. All Rights Reserved.