public class CustomerWrapper extends BaseWrapper implements APIWrapper<Customer>, APIUnwrapper<Customer>
| Modifier and Type | Field and Description |
|---|---|
protected List<CustomerAttributeWrapper> |
customerAttributes |
protected String |
emailAddress |
protected String |
firstName |
protected Long |
id |
protected String |
lastName |
context| Constructor and Description |
|---|
CustomerWrapper() |
| Modifier and Type | Method and Description |
|---|---|
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) |
setApplicationContextprotected Long id
protected String firstName
protected String lastName
protected String emailAddress
protected List<CustomerAttributeWrapper> customerAttributes
public void wrapDetails(Customer model, javax.servlet.http.HttpServletRequest request)
wrapDetails in interface APIWrapper<Customer>public void wrapSummary(Customer model, javax.servlet.http.HttpServletRequest request)
wrapSummary in interface APIWrapper<Customer>public Customer unwrap(javax.servlet.http.HttpServletRequest request, org.springframework.context.ApplicationContext context)
unwrap in interface APIUnwrapper<Customer>Copyright © 2013. All Rights Reserved.