org.broadleafcommerce.core.web.api.wrapper
Class CustomerAttributeWrapper
java.lang.Object
org.broadleafcommerce.core.web.api.wrapper.BaseWrapper
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
| Fields inherited from class org.broadleafcommerce.core.web.api.wrapper.BaseWrapper |
context |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
id
protected Long id
name
protected String name
value
protected String value
customerId
protected Long customerId
CustomerAttributeWrapper
public CustomerAttributeWrapper()
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.