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 instancecopyDeep()static SearchFilterExpressiondeepCopy(SearchFilterExpression template) factory method to create a deep copy of SearchFilterExpression@NotNull @Valid List<SearchQueryExpression>static SearchFilterExpressionof()factory methodstatic SearchFilterExpressionof(SearchFilterExpression template) factory method to create a shallow copy SearchFilterExpressionvoidsetFilter(SearchQueryExpression... filter) set filtervoidsetFilter(List<SearchQueryExpression> filter) set filterstatic com.fasterxml.jackson.core.type.TypeReference<SearchFilterExpression>gives a TypeReference for usage with Jackson DataBinddefault <T> Taccessor map functionMethods inherited from interface com.commercetools.api.models.search.SearchCompoundExpression
withSearchCompoundExpressionMethods 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
-
copyDeep
SearchFilterExpression copyDeep()- Specified by:
copyDeepin interfaceSearchCompoundExpression- Specified by:
copyDeepin interfaceSearchQuery
-
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
-