Class SearchBoxComponentModel
- java.lang.Object
-
- de.hybris.platform.servicelayer.model.AbstractItemModel
-
- de.hybris.platform.core.model.ItemModel
-
- de.hybris.platform.cms2.model.contents.CMSItemModel
-
- de.hybris.platform.cms2.model.contents.components.AbstractCMSComponentModel
-
- de.hybris.platform.cms2.model.contents.components.SimpleCMSComponentModel
-
- de.hybris.platform.acceleratorcms.model.components.SearchBoxComponentModel
-
- All Implemented Interfaces:
java.io.Serializable
public class SearchBoxComponentModel extends SimpleCMSComponentModel
Generated model class for type SearchBoxComponent first defined at extension acceleratorcms.Represents the search box component.
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
AbstractItemModel.NewModelContextFactory
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String_TYPECODEGenerated model type code constant.static java.lang.StringDISPLAYPRODUCTIMAGESGenerated constant - Attribute key ofSearchBoxComponent.displayProductImagesattribute defined at extensionacceleratorcms.static java.lang.StringDISPLAYPRODUCTSGenerated constant - Attribute key ofSearchBoxComponent.displayProductsattribute defined at extensionacceleratorcms.static java.lang.StringDISPLAYSUGGESTIONSGenerated constant - Attribute key ofSearchBoxComponent.displaySuggestionsattribute defined at extensionacceleratorcms.static java.lang.StringMAXPRODUCTSGenerated constant - Attribute key ofSearchBoxComponent.maxProductsattribute defined at extensionacceleratorcms.static java.lang.StringMAXSUGGESTIONSGenerated constant - Attribute key ofSearchBoxComponent.maxSuggestionsattribute defined at extensionacceleratorcms.static java.lang.StringMINCHARACTERSBEFOREREQUESTGenerated constant - Attribute key ofSearchBoxComponent.minCharactersBeforeRequestattribute defined at extensionacceleratorcms.static java.lang.StringWAITTIMEBEFOREREQUESTGenerated constant - Attribute key ofSearchBoxComponent.waitTimeBeforeRequestattribute defined at extensionacceleratorcms.-
Fields inherited from class de.hybris.platform.cms2.model.contents.components.SimpleCMSComponentModel
_ELEMENTSFORCONTAINER, CONTAINERS
-
Fields inherited from class de.hybris.platform.cms2.model.contents.components.AbstractCMSComponentModel
_ELEMENTSFORSLOT, ACTIONS, CONTAINER, ONLYONERESTRICTIONMUSTAPPLY, RESTRICTED, RESTRICTIONS, SLOTS, TYPE, TYPECODE, VISIBLE
-
Fields inherited from class de.hybris.platform.cms2.model.contents.CMSItemModel
CATALOGVERSION, NAME, UID
-
Fields inherited from class de.hybris.platform.core.model.ItemModel
_COMMENTITEMRELATION, COMMENTS, CREATIONTIME, ITEMTYPE, MODIFIEDTIME, OWNER, PK, SEALED
-
Fields inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
LANGUAGE_FALLBACK_ENABLED_SERVICE_LAYER, MODEL_CONTEXT_FACTORY
-
-
Constructor Summary
Constructors Constructor Description SearchBoxComponentModel()Generated constructor - Default constructor for generic creation.SearchBoxComponentModel(CatalogVersionModel _catalogVersion, ItemModel _owner, java.lang.String _uid)Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parametersSearchBoxComponentModel(CatalogVersionModel _catalogVersion, java.lang.String _uid)Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parametersSearchBoxComponentModel(ItemModelContext ctx)Generated constructor - Default constructor for creation with existing context
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.IntegergetMaxProducts()Generated method - Getter of theSearchBoxComponent.maxProductsattribute defined at extensionacceleratorcms.java.lang.IntegergetMaxSuggestions()Generated method - Getter of theSearchBoxComponent.maxSuggestionsattribute defined at extensionacceleratorcms.java.lang.IntegergetMinCharactersBeforeRequest()Generated method - Getter of theSearchBoxComponent.minCharactersBeforeRequestattribute defined at extensionacceleratorcms.java.lang.IntegergetWaitTimeBeforeRequest()Generated method - Getter of theSearchBoxComponent.waitTimeBeforeRequestattribute defined at extensionacceleratorcms.booleanisDisplayProductImages()Generated method - Getter of theSearchBoxComponent.displayProductImagesattribute defined at extensionacceleratorcms.booleanisDisplayProducts()Generated method - Getter of theSearchBoxComponent.displayProductsattribute defined at extensionacceleratorcms.booleanisDisplaySuggestions()Generated method - Getter of theSearchBoxComponent.displaySuggestionsattribute defined at extensionacceleratorcms.voidsetDisplayProductImages(boolean value)Generated method - Setter ofSearchBoxComponent.displayProductImagesattribute defined at extensionacceleratorcms.voidsetDisplayProducts(boolean value)Generated method - Setter ofSearchBoxComponent.displayProductsattribute defined at extensionacceleratorcms.voidsetDisplaySuggestions(boolean value)Generated method - Setter ofSearchBoxComponent.displaySuggestionsattribute defined at extensionacceleratorcms.voidsetMaxProducts(java.lang.Integer value)Generated method - Setter ofSearchBoxComponent.maxProductsattribute defined at extensionacceleratorcms.voidsetMaxSuggestions(java.lang.Integer value)Generated method - Setter ofSearchBoxComponent.maxSuggestionsattribute defined at extensionacceleratorcms.voidsetMinCharactersBeforeRequest(java.lang.Integer value)Generated method - Setter ofSearchBoxComponent.minCharactersBeforeRequestattribute defined at extensionacceleratorcms.voidsetWaitTimeBeforeRequest(java.lang.Integer value)Generated method - Setter ofSearchBoxComponent.waitTimeBeforeRequestattribute defined at extensionacceleratorcms.-
Methods inherited from class de.hybris.platform.cms2.model.contents.components.SimpleCMSComponentModel
getContainers, setContainers
-
Methods inherited from class de.hybris.platform.cms2.model.contents.components.AbstractCMSComponentModel
getActions, getRestrictions, getSlots, getType, getType, getTypeCode, getVisible, isContainer, isOnlyOneRestrictionMustApply, isRestricted, setActions, setOnlyOneRestrictionMustApply, setRestrictions, setSlots, setVisible
-
Methods inherited from class de.hybris.platform.cms2.model.contents.CMSItemModel
getCatalogVersion, getName, getUid, setCatalogVersion, setName, setUid
-
Methods inherited from class de.hybris.platform.core.model.ItemModel
getComments, getCreationtime, getModifiedtime, getOwner, isSealed, setComments, setCreationtime, setModifiedtime, setOwner
-
Methods inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
equals, getItemModelContext, getItemtype, getPersistenceContext, getPk, getProperty, getProperty, getTenantId, hashCode, readResolve, setProperty, setProperty, toObject, toObject, toObject, toObject, toObject, toObject, toObject, toObject, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toString, writeReplace
-
-
-
-
Field Detail
-
_TYPECODE
public static final java.lang.String _TYPECODE
Generated model type code constant.- See Also:
- Constant Field Values
-
DISPLAYSUGGESTIONS
public static final java.lang.String DISPLAYSUGGESTIONS
Generated constant - Attribute key ofSearchBoxComponent.displaySuggestionsattribute defined at extensionacceleratorcms.- See Also:
- Constant Field Values
-
DISPLAYPRODUCTS
public static final java.lang.String DISPLAYPRODUCTS
Generated constant - Attribute key ofSearchBoxComponent.displayProductsattribute defined at extensionacceleratorcms.- See Also:
- Constant Field Values
-
DISPLAYPRODUCTIMAGES
public static final java.lang.String DISPLAYPRODUCTIMAGES
Generated constant - Attribute key ofSearchBoxComponent.displayProductImagesattribute defined at extensionacceleratorcms.- See Also:
- Constant Field Values
-
MAXSUGGESTIONS
public static final java.lang.String MAXSUGGESTIONS
Generated constant - Attribute key ofSearchBoxComponent.maxSuggestionsattribute defined at extensionacceleratorcms.- See Also:
- Constant Field Values
-
MAXPRODUCTS
public static final java.lang.String MAXPRODUCTS
Generated constant - Attribute key ofSearchBoxComponent.maxProductsattribute defined at extensionacceleratorcms.- See Also:
- Constant Field Values
-
MINCHARACTERSBEFOREREQUEST
public static final java.lang.String MINCHARACTERSBEFOREREQUEST
Generated constant - Attribute key ofSearchBoxComponent.minCharactersBeforeRequestattribute defined at extensionacceleratorcms.- See Also:
- Constant Field Values
-
WAITTIMEBEFOREREQUEST
public static final java.lang.String WAITTIMEBEFOREREQUEST
Generated constant - Attribute key ofSearchBoxComponent.waitTimeBeforeRequestattribute defined at extensionacceleratorcms.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
SearchBoxComponentModel
public SearchBoxComponentModel()
Generated constructor - Default constructor for generic creation.
-
SearchBoxComponentModel
public SearchBoxComponentModel(ItemModelContext ctx)
Generated constructor - Default constructor for creation with existing context- Parameters:
ctx- the model context to be injected, must not be null
-
SearchBoxComponentModel
@Deprecated(since="4.1.1", forRemoval=true) public SearchBoxComponentModel(CatalogVersionModel _catalogVersion, java.lang.String _uid)Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parametersGenerated constructor - Constructor with all mandatory attributes.- Parameters:
_catalogVersion- initial attribute declared by typeCMSItemat extensioncms2_uid- initial attribute declared by typeCMSItemat extensioncms2
-
SearchBoxComponentModel
@Deprecated(since="4.1.1", forRemoval=true) public SearchBoxComponentModel(CatalogVersionModel _catalogVersion, ItemModel _owner, java.lang.String _uid)Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parametersGenerated constructor - for all mandatory and initial attributes.- Parameters:
_catalogVersion- initial attribute declared by typeCMSItemat extensioncms2_owner- initial attribute declared by typeItemat extensioncore_uid- initial attribute declared by typeCMSItemat extensioncms2
-
-
Method Detail
-
getMaxProducts
@Accessor(qualifier="maxProducts", type=GETTER) public java.lang.Integer getMaxProducts()
Generated method - Getter of theSearchBoxComponent.maxProductsattribute defined at extensionacceleratorcms.- Returns:
- the maxProducts - Determines the max number of products to display in the component.
-
getMaxSuggestions
@Accessor(qualifier="maxSuggestions", type=GETTER) public java.lang.Integer getMaxSuggestions()
Generated method - Getter of theSearchBoxComponent.maxSuggestionsattribute defined at extensionacceleratorcms.- Returns:
- the maxSuggestions - Determines the max number of suggestions to display in the component.
-
getMinCharactersBeforeRequest
@Accessor(qualifier="minCharactersBeforeRequest", type=GETTER) public java.lang.Integer getMinCharactersBeforeRequest()
Generated method - Getter of theSearchBoxComponent.minCharactersBeforeRequestattribute defined at extensionacceleratorcms.- Returns:
- the minCharactersBeforeRequest - Determines the min number of characters to enter before submitting a search request.
-
getWaitTimeBeforeRequest
@Accessor(qualifier="waitTimeBeforeRequest", type=GETTER) public java.lang.Integer getWaitTimeBeforeRequest()
Generated method - Getter of theSearchBoxComponent.waitTimeBeforeRequestattribute defined at extensionacceleratorcms.- Returns:
- the waitTimeBeforeRequest - Determines the wait time after the search term has been altered before resubmitting the search request.
-
isDisplayProductImages
@Accessor(qualifier="displayProductImages", type=GETTER) public boolean isDisplayProductImages()
Generated method - Getter of theSearchBoxComponent.displayProductImagesattribute defined at extensionacceleratorcms.- Returns:
- the displayProductImages - Determines if product images are shown.
-
isDisplayProducts
@Accessor(qualifier="displayProducts", type=GETTER) public boolean isDisplayProducts()
Generated method - Getter of theSearchBoxComponent.displayProductsattribute defined at extensionacceleratorcms.- Returns:
- the displayProducts - Determines if product results are displayed in the component.
-
isDisplaySuggestions
@Accessor(qualifier="displaySuggestions", type=GETTER) public boolean isDisplaySuggestions()
Generated method - Getter of theSearchBoxComponent.displaySuggestionsattribute defined at extensionacceleratorcms.- Returns:
- the displaySuggestions - Determines if suggested terms are displayed in the component.
-
setDisplayProductImages
@Accessor(qualifier="displayProductImages", type=SETTER) public void setDisplayProductImages(boolean value)
Generated method - Setter ofSearchBoxComponent.displayProductImagesattribute defined at extensionacceleratorcms.- Parameters:
value- the displayProductImages - Determines if product images are shown.
-
setDisplayProducts
@Accessor(qualifier="displayProducts", type=SETTER) public void setDisplayProducts(boolean value)
Generated method - Setter ofSearchBoxComponent.displayProductsattribute defined at extensionacceleratorcms.- Parameters:
value- the displayProducts - Determines if product results are displayed in the component.
-
setDisplaySuggestions
@Accessor(qualifier="displaySuggestions", type=SETTER) public void setDisplaySuggestions(boolean value)
Generated method - Setter ofSearchBoxComponent.displaySuggestionsattribute defined at extensionacceleratorcms.- Parameters:
value- the displaySuggestions - Determines if suggested terms are displayed in the component.
-
setMaxProducts
@Accessor(qualifier="maxProducts", type=SETTER) public void setMaxProducts(java.lang.Integer value)
Generated method - Setter ofSearchBoxComponent.maxProductsattribute defined at extensionacceleratorcms.- Parameters:
value- the maxProducts - Determines the max number of products to display in the component.
-
setMaxSuggestions
@Accessor(qualifier="maxSuggestions", type=SETTER) public void setMaxSuggestions(java.lang.Integer value)
Generated method - Setter ofSearchBoxComponent.maxSuggestionsattribute defined at extensionacceleratorcms.- Parameters:
value- the maxSuggestions - Determines the max number of suggestions to display in the component.
-
setMinCharactersBeforeRequest
@Accessor(qualifier="minCharactersBeforeRequest", type=SETTER) public void setMinCharactersBeforeRequest(java.lang.Integer value)
Generated method - Setter ofSearchBoxComponent.minCharactersBeforeRequestattribute defined at extensionacceleratorcms.- Parameters:
value- the minCharactersBeforeRequest - Determines the min number of characters to enter before submitting a search request.
-
setWaitTimeBeforeRequest
@Accessor(qualifier="waitTimeBeforeRequest", type=SETTER) public void setWaitTimeBeforeRequest(java.lang.Integer value)
Generated method - Setter ofSearchBoxComponent.waitTimeBeforeRequestattribute defined at extensionacceleratorcms.- Parameters:
value- the waitTimeBeforeRequest - Determines the wait time after the search term has been altered before resubmitting the search request.
-
-