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

java.lang.Object
  extended by org.broadleafcommerce.core.web.api.wrapper.BaseWrapper
      extended by org.broadleafcommerce.core.web.api.wrapper.ProductWrapper
All Implemented Interfaces:
APIWrapper<Product>, org.springframework.beans.factory.Aware, org.springframework.context.ApplicationContextAware
Direct Known Subclasses:
ProductBundleWrapper

public class ProductWrapper
extends BaseWrapper
implements APIWrapper<Product>

This is a JAXB wrapper around Product. User: Kelly Tisdell Date: 4/10/12


Field Summary
protected  Date activeEndDate
           
protected  Date activeStartDate
           
protected  SkuWrapper defaultSku
           
protected  String description
           
protected  Long id
           
protected  String manufacturer
           
protected  String model
           
protected  String name
           
protected  List<ProductOptionWrapper> productOptions
           
protected  String promoMessage
           
 
Fields inherited from class org.broadleafcommerce.core.web.api.wrapper.BaseWrapper
context
 
Constructor Summary
ProductWrapper()
           
 
Method Summary
 void wrap(Product 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

description

protected String description

activeStartDate

protected Date activeStartDate

activeEndDate

protected Date activeEndDate

manufacturer

protected String manufacturer

model

protected String model

promoMessage

protected String promoMessage

defaultSku

protected SkuWrapper defaultSku

productOptions

protected List<ProductOptionWrapper> productOptions
Constructor Detail

ProductWrapper

public ProductWrapper()
Method Detail

wrap

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


Copyright © 2013. All Rights Reserved.