Interface SearchFilterExpression
- All Superinterfaces:
SearchCompoundExpression
,SearchQuery
SearchFilterExpression
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
SearchFilterExpression searchFilterExpression = SearchFilterExpression.builder()
.plusFilter(filterBuilder -> filterBuilder)
.build()
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
builder factory method for SearchFilterExpressionbuilder
(SearchFilterExpression template) create builder for SearchFilterExpression instancestatic SearchFilterExpression
deepCopy
(SearchFilterExpression template) factory method to create a deep copy of SearchFilterExpression@NotNull @Valid List<SearchQueryExpression>
static SearchFilterExpression
of()
factory methodstatic SearchFilterExpression
of
(SearchFilterExpression template) factory method to create a shallow copy SearchFilterExpressionvoid
setFilter
(SearchQueryExpression... filter) set filtervoid
setFilter
(List<SearchQueryExpression> filter) set filterstatic com.fasterxml.jackson.core.type.TypeReference<SearchFilterExpression>
gives a TypeReference for usage with Jackson DataBinddefault <T> T
accessor map functionMethods inherited from interface com.commercetools.api.models.search.SearchCompoundExpression
withSearchCompoundExpression
Methods inherited from interface com.commercetools.api.models.search.SearchQuery
withSearchQuery
-
Method Details
-
getFilter
- Returns:
- filter
-
setFilter
set filter- Parameters:
filter
- values to be set
-
setFilter
set filter- Parameters:
filter
- values to be set
-
of
factory method- Returns:
- instance of SearchFilterExpression
-
of
factory method to create a shallow copy SearchFilterExpression- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
deepCopy
factory method to create a deep copy of SearchFilterExpression- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for SearchFilterExpression- Returns:
- builder
-
builder
create builder for SearchFilterExpression instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-
withSearchFilterExpression
accessor map function- Type Parameters:
T
- mapped type- Parameters:
helper
- function to map the object- Returns:
- mapped value
-
typeReference
gives a TypeReference for usage with Jackson DataBind- Returns:
- TypeReference
-