org.broadleafcommerce.core.web.api.wrapper
Class ProductWrapper
java.lang.Object
org.broadleafcommerce.core.web.api.wrapper.BaseWrapper
org.broadleafcommerce.core.web.api.wrapper.ProductWrapper
- All Implemented Interfaces:
- APIWrapper<Product>, org.springframework.beans.factory.Aware, org.springframework.context.ApplicationContextAware
public class ProductWrapper
- extends BaseWrapper
- implements APIWrapper<Product>
This is a JAXB wrapper around Product.
User: Kelly Tisdell
Date: 4/10/12
| 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
description
protected String description
longDescription
protected String longDescription
retailPrice
protected Money retailPrice
salePrice
protected Money salePrice
primaryMedia
protected MediaWrapper primaryMedia
active
protected Boolean active
productOptions
protected List<ProductOptionWrapper> productOptions
priority
protected Integer priority
bundleItemsRetailPrice
protected Money bundleItemsRetailPrice
bundleItemsSalePrice
protected Money bundleItemsSalePrice
activeStartDate
protected Date activeStartDate
activeEndDate
protected Date activeEndDate
manufacturer
protected String manufacturer
model
protected String model
promoMessage
protected String promoMessage
defaultCategoryId
protected Long defaultCategoryId
upsaleProducts
protected List<RelatedProductWrapper> upsaleProducts
crossSaleProducts
protected List<RelatedProductWrapper> crossSaleProducts
productAttributes
protected List<ProductAttributeWrapper> productAttributes
media
protected List<MediaWrapper> media
skuBundleItems
protected List<SkuBundleItemWrapper> skuBundleItems
ProductWrapper
public ProductWrapper()
wrapDetails
public void wrapDetails(Product model,
javax.servlet.http.HttpServletRequest request)
- Specified by:
wrapDetails in interface APIWrapper<Product>
wrapSummary
public void wrapSummary(Product model,
javax.servlet.http.HttpServletRequest request)
- Specified by:
wrapSummary in interface APIWrapper<Product>
Copyright © 2013. All Rights Reserved.