Class ProductTypeChangeIsSearchableActionImpl
- All Implemented Interfaces:
ProductTypeChangeIsSearchableAction
,ProductTypeUpdateAction
,ResourceUpdateAction<ProductTypeUpdateAction>
,io.vrap.rmf.base.client.ModelBase
Following this update the Products are reindexed asynchronously to reflect this change on the search endpoint. When enabling search on an existing Attribute type definition, the constraint regarding the maximum size of a searchable Attribute will not be enforced. Instead, Product AttributeDefinitions exceeding this limit will be treated as not searchable and will not be available for full-text search.
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.vrap.rmf.base.client.ModelBase
io.vrap.rmf.base.client.ModelBase.FilteredRecursiveToStringStyle
-
Field Summary
Fields inherited from interface com.commercetools.api.models.product_type.ProductTypeChangeIsSearchableAction
CHANGE_IS_SEARCHABLE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Name of the AttributeDefinition to update.Determines whether the Attribute's values can be used in full-text search queries, filters, and facets.int
hashCode()
void
setAttributeName
(String attributeName) Name of the AttributeDefinition to update.void
setIsSearchable
(Boolean isSearchable) Determines whether the Attribute's values can be used in full-text search queries, filters, and facets.Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface io.vrap.rmf.base.client.ModelBase
reflectionString, reflectionString
Methods inherited from interface com.commercetools.api.models.product_type.ProductTypeChangeIsSearchableAction
withProductTypeChangeIsSearchableAction
Methods inherited from interface com.commercetools.api.models.product_type.ProductTypeUpdateAction
withProductTypeUpdateAction
Methods inherited from interface com.commercetools.api.models.ResourceUpdateAction
get
-
Constructor Details
-
ProductTypeChangeIsSearchableActionImpl
create empty instance
-
-
Method Details
-
getAction
- Specified by:
getAction
in interfaceProductTypeUpdateAction
- Specified by:
getAction
in interfaceResourceUpdateAction<ProductTypeUpdateAction>
- Returns:
- action
-
getAttributeName
Name of the AttributeDefinition to update.
- Specified by:
getAttributeName
in interfaceProductTypeChangeIsSearchableAction
- Returns:
- attributeName
-
getIsSearchable
Determines whether the Attribute's values can be used in full-text search queries, filters, and facets. See AttributeDefinition for details.
- Specified by:
getIsSearchable
in interfaceProductTypeChangeIsSearchableAction
- Returns:
- isSearchable
-
setAttributeName
Description copied from interface:ProductTypeChangeIsSearchableAction
Name of the AttributeDefinition to update.
- Specified by:
setAttributeName
in interfaceProductTypeChangeIsSearchableAction
- Parameters:
attributeName
- value to be set
-
setIsSearchable
Description copied from interface:ProductTypeChangeIsSearchableAction
Determines whether the Attribute's values can be used in full-text search queries, filters, and facets. See AttributeDefinition for details.
- Specified by:
setIsSearchable
in interfaceProductTypeChangeIsSearchableAction
- Parameters:
isSearchable
- value to be set
-
equals
-
hashCode
-