org.broadleafcommerce.core.web.api.wrapper
Class PhoneWrapper
java.lang.Object
org.broadleafcommerce.core.web.api.wrapper.BaseWrapper
org.broadleafcommerce.core.web.api.wrapper.PhoneWrapper
- All Implemented Interfaces:
- APIUnwrapper<Phone>, APIWrapper<Phone>, org.springframework.beans.factory.Aware, org.springframework.context.ApplicationContextAware
public class PhoneWrapper
- extends BaseWrapper
- implements APIWrapper<Phone>, APIUnwrapper<Phone>
This is a JAXB wrapper around Phone.
User: Elbert Bautista
Date: 4/24/12
| Fields inherited from class org.broadleafcommerce.core.web.api.wrapper.BaseWrapper |
context |
|
Method Summary |
Phone |
unwrap(javax.servlet.http.HttpServletRequest request,
org.springframework.context.ApplicationContext appContext)
|
void |
wrapDetails(Phone model,
javax.servlet.http.HttpServletRequest request)
|
void |
wrapSummary(Phone model,
javax.servlet.http.HttpServletRequest request)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
id
protected Long id
phoneNumber
protected String phoneNumber
isActive
protected Boolean isActive
isDefault
protected Boolean isDefault
PhoneWrapper
public PhoneWrapper()
wrapDetails
public void wrapDetails(Phone model,
javax.servlet.http.HttpServletRequest request)
- Specified by:
wrapDetails in interface APIWrapper<Phone>
wrapSummary
public void wrapSummary(Phone model,
javax.servlet.http.HttpServletRequest request)
- Specified by:
wrapSummary in interface APIWrapper<Phone>
unwrap
public Phone unwrap(javax.servlet.http.HttpServletRequest request,
org.springframework.context.ApplicationContext appContext)
- Specified by:
unwrap in interface APIUnwrapper<Phone>
Copyright © 2013. All Rights Reserved.