Class SearchFacetValueWrapper
java.lang.Object
org.broadleafcommerce.common.rest.api.wrapper.BaseWrapper
com.broadleafcommerce.rest.api.wrapper.SearchFacetValueWrapper
- All Implemented Interfaces:
Serializable,org.broadleafcommerce.common.rest.api.wrapper.APIWrapper<org.broadleafcommerce.core.search.domain.SearchFacetResultDTO>,org.springframework.beans.factory.Aware,org.springframework.context.ApplicationContextAware
public class SearchFacetValueWrapper
extends org.broadleafcommerce.common.rest.api.wrapper.BaseWrapper
implements org.broadleafcommerce.common.rest.api.wrapper.APIWrapper<org.broadleafcommerce.core.search.domain.SearchFacetResultDTO>
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Booleanprotected BigDecimalprotected BigDecimalprotected Integerprotected Stringprotected StringFields inherited from class org.broadleafcommerce.common.rest.api.wrapper.BaseWrapper
context -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetValue()voidvoidsetMaxValue(BigDecimal maxValue) voidsetMinValue(BigDecimal minValue) voidsetQuantity(Integer quantity) voidvoidsetValueKey(String valueKey) voidwrapDetails(org.broadleafcommerce.core.search.domain.SearchFacetResultDTO model, jakarta.servlet.http.HttpServletRequest request) voidwrapSummary(org.broadleafcommerce.core.search.domain.SearchFacetResultDTO model, jakarta.servlet.http.HttpServletRequest request) Methods inherited from class org.broadleafcommerce.common.rest.api.wrapper.BaseWrapper
createElementWrappers, setApplicationContext, transferAdditionalFieldsFromWrapper
-
Field Details
-
active
-
value
-
valueKey
-
quantity
-
minValue
-
maxValue
-
-
Constructor Details
-
SearchFacetValueWrapper
public SearchFacetValueWrapper()
-
-
Method Details
-
wrapDetails
public void wrapDetails(org.broadleafcommerce.core.search.domain.SearchFacetResultDTO model, jakarta.servlet.http.HttpServletRequest request) - Specified by:
wrapDetailsin interfaceorg.broadleafcommerce.common.rest.api.wrapper.APIWrapper<org.broadleafcommerce.core.search.domain.SearchFacetResultDTO>
-
wrapSummary
public void wrapSummary(org.broadleafcommerce.core.search.domain.SearchFacetResultDTO model, jakarta.servlet.http.HttpServletRequest request) - Specified by:
wrapSummaryin interfaceorg.broadleafcommerce.common.rest.api.wrapper.APIWrapper<org.broadleafcommerce.core.search.domain.SearchFacetResultDTO>
-
getActive
- Returns:
- the active
-
setActive
- Parameters:
active- the active to set
-
getValue
- Returns:
- the value
-
setValue
- Parameters:
value- the value to set
-
getValueKey
- Returns:
- the valueKey
-
setValueKey
- Parameters:
valueKey- the valueKey to set
-
getQuantity
- Returns:
- the quantity
-
setQuantity
- Parameters:
quantity- the quantity to set
-
getMinValue
- Returns:
- the minValue
-
setMinValue
- Parameters:
minValue- the minValue to set
-
getMaxValue
- Returns:
- the maxValue
-
setMaxValue
- Parameters:
maxValue- the maxValue to set
-