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

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

public class CustomerAttributeWrapper
extends BaseWrapper
implements APIWrapper<CustomerAttribute>, APIUnwrapper<CustomerAttribute>

API wrapper to wrap Customer Attributes.

Author:
Priyesh Patel

Field Summary
protected  Long customerId
           
protected  Long id
           
protected  String name
           
protected  String value
           
 
Fields inherited from class org.broadleafcommerce.core.web.api.wrapper.BaseWrapper
context
 
Constructor Summary
CustomerAttributeWrapper()
           
 
Method Summary
 CustomerAttribute unwrap(javax.servlet.http.HttpServletRequest request, org.springframework.context.ApplicationContext context)
           
 void wrapDetails(CustomerAttribute model, javax.servlet.http.HttpServletRequest request)
           
 void wrapSummary(CustomerAttribute 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

name

protected String name

value

protected String value

customerId

protected Long customerId
Constructor Detail

CustomerAttributeWrapper

public CustomerAttributeWrapper()
Method Detail

wrapDetails

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

wrapSummary

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

unwrap

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


Copyright © 2013. All Rights Reserved.