org.broadleafcommerce.core.web.api.wrapper
Class CustomerWrapper

java.lang.Object
  extended by org.broadleafcommerce.core.web.api.wrapper.BaseWrapper
      extended by org.broadleafcommerce.core.web.api.wrapper.CustomerWrapper
All Implemented Interfaces:
APIUnwrapper<Customer>, APIWrapper<Customer>, org.springframework.beans.factory.Aware, org.springframework.context.ApplicationContextAware

public class CustomerWrapper
extends BaseWrapper
implements APIWrapper<Customer>, APIUnwrapper<Customer>

This is a JAXB wrapper around FulfillmentGroupItem. User: Elbert Bautista Date: 4/18/12


Field Summary
protected  List<CustomerAttributeWrapper> customerAttributes
           
protected  String emailAddress
           
protected  String firstName
           
protected  Long id
           
protected  String lastName
           
 
Fields inherited from class org.broadleafcommerce.core.web.api.wrapper.BaseWrapper
context
 
Constructor Summary
CustomerWrapper()
           
 
Method Summary
 Customer unwrap(javax.servlet.http.HttpServletRequest request, org.springframework.context.ApplicationContext context)
           
 void wrapDetails(Customer model, javax.servlet.http.HttpServletRequest request)
           
 void wrapSummary(Customer model, javax.servlet.http.HttpServletRequest request)
           
 
Methods inherited from class org.broadleafcommerce.core.web.api.wrapper.BaseWrapper
setApplicationContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

id

protected Long id

firstName

protected String firstName

lastName

protected String lastName

emailAddress

protected String emailAddress

customerAttributes

protected List<CustomerAttributeWrapper> customerAttributes
Constructor Detail

CustomerWrapper

public CustomerWrapper()
Method Detail

wrapDetails

public void wrapDetails(Customer model,
                        javax.servlet.http.HttpServletRequest request)
Specified by:
wrapDetails in interface APIWrapper<Customer>

wrapSummary

public void wrapSummary(Customer model,
                        javax.servlet.http.HttpServletRequest request)
Specified by:
wrapSummary in interface APIWrapper<Customer>

unwrap

public Customer unwrap(javax.servlet.http.HttpServletRequest request,
                       org.springframework.context.ApplicationContext context)
Specified by:
unwrap in interface APIUnwrapper<Customer>


Copyright © 2013. All Rights Reserved.