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

java.lang.Object
  extended by org.broadleafcommerce.core.web.api.wrapper.BaseWrapper
      extended by org.broadleafcommerce.core.web.api.wrapper.CategoriesWrapper
All Implemented Interfaces:
APIWrapper<List<Category>>, org.springframework.beans.factory.Aware, org.springframework.context.ApplicationContextAware

public class CategoriesWrapper
extends BaseWrapper
implements APIWrapper<List<Category>>

This is a JAXB wrapper class for wrapping a collection of categories.


Field Summary
protected  List<CategoryWrapper> categories
           
 
Fields inherited from class org.broadleafcommerce.core.web.api.wrapper.BaseWrapper
context
 
Constructor Summary
CategoriesWrapper()
           
 
Method Summary
 void wrapDetails(List<Category> cats, javax.servlet.http.HttpServletRequest request)
           
 void wrapSummary(List<Category> cats, 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

categories

protected List<CategoryWrapper> categories
Constructor Detail

CategoriesWrapper

public CategoriesWrapper()
Method Detail

wrapDetails

public void wrapDetails(List<Category> cats,
                        javax.servlet.http.HttpServletRequest request)
Specified by:
wrapDetails in interface APIWrapper<List<Category>>

wrapSummary

public void wrapSummary(List<Category> cats,
                        javax.servlet.http.HttpServletRequest request)
Specified by:
wrapSummary in interface APIWrapper<List<Category>>


Copyright © 2013. All Rights Reserved.