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

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

public class SearchFacetWrapper
extends BaseWrapper
implements APIWrapper<SearchFacetDTO>

This wrapper provides information about the search facets available for use with a search. Search facets are typically returned from a catalog search as part of the result. You can use facets to narrow a search.

Author:
Kelly Tisdell

Field Summary
protected  Boolean active
           
protected  String fieldName
           
protected  List<SearchFacetValueWrapper> values
           
 
Fields inherited from class org.broadleafcommerce.core.web.api.wrapper.BaseWrapper
context
 
Constructor Summary
SearchFacetWrapper()
           
 
Method Summary
 void wrapDetails(SearchFacetDTO model, javax.servlet.http.HttpServletRequest request)
           
 void wrapSummary(SearchFacetDTO 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

fieldName

protected String fieldName

active

protected Boolean active

values

protected List<SearchFacetValueWrapper> values
Constructor Detail

SearchFacetWrapper

public SearchFacetWrapper()
Method Detail

wrapDetails

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

wrapSummary

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


Copyright © 2013. All Rights Reserved.