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 wrap(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

wrap

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


Copyright © 2012. All Rights Reserved.