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:
Serializable
Generated model class for type SearchBoxComponent first defined at extension acceleratorcms.
Represents the search box component.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
AbstractItemModel.NewModelContextFactory -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringGenerated model type code constant.static final StringGenerated constant - Attribute key ofSearchBoxComponent.displayProductImagesattribute defined at extensionacceleratorcms.static final StringGenerated constant - Attribute key ofSearchBoxComponent.displayProductsattribute defined at extensionacceleratorcms.static final StringGenerated constant - Attribute key ofSearchBoxComponent.displaySuggestionsattribute defined at extensionacceleratorcms.static final StringGenerated constant - Attribute key ofSearchBoxComponent.maxProductsattribute defined at extensionacceleratorcms.static final StringGenerated constant - Attribute key ofSearchBoxComponent.maxSuggestionsattribute defined at extensionacceleratorcms.static final StringGenerated constant - Attribute key ofSearchBoxComponent.minCharactersBeforeRequestattribute defined at extensionacceleratorcms.static final StringGenerated constant - Attribute key ofSearchBoxComponent.waitTimeBeforeRequestattribute defined at extensionacceleratorcms.Fields inherited from class de.hybris.platform.cms2.model.contents.components.SimpleCMSComponentModel
_ELEMENTSFORCONTAINER, CONTAINERSFields inherited from class de.hybris.platform.cms2.model.contents.components.AbstractCMSComponentModel
_CMSCOMPONENTCHILDRENFORCMSCOMPONENT, _ELEMENTSFORSLOT, ACTIONS, CHILDREN, CONTAINER, ONLYONERESTRICTIONMUSTAPPLY, PARENTS, RESTRICTED, RESTRICTIONS, SLOTS, STYLECLASSES, TYPE, TYPECODE, VISIBLEFields inherited from class de.hybris.platform.cms2.model.contents.CMSItemModel
CATALOGVERSION, NAME, SYNCHRONIZATIONBLOCKED, UIDFields inherited from class de.hybris.platform.core.model.ItemModel
_COMMENTITEMRELATION, COMMENTS, CREATIONTIME, ITEMTYPE, MODIFIEDTIME, OWNER, PK, SEALEDFields inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
LANGUAGE_FALLBACK_ENABLED_SERVICE_LAYER, MODEL_CONTEXT_FACTORY -
Constructor Summary
ConstructorsConstructorDescriptionGenerated constructor - Default constructor for generic creation.SearchBoxComponentModel(CatalogVersionModel _catalogVersion, ItemModel _owner, 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, 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 - Default constructor for creation with existing context -
Method Summary
Modifier and TypeMethodDescriptionGenerated method - Getter of theSearchBoxComponent.maxProductsattribute defined at extensionacceleratorcms.Generated method - Getter of theSearchBoxComponent.maxSuggestionsattribute defined at extensionacceleratorcms.Generated method - Getter of theSearchBoxComponent.minCharactersBeforeRequestattribute defined at extensionacceleratorcms.Generated method - Getter of theSearchBoxComponent.waitTimeBeforeRequestattribute defined at extensionacceleratorcms.booleanGenerated method - Getter of theSearchBoxComponent.displayProductImagesattribute defined at extensionacceleratorcms.booleanGenerated method - Getter of theSearchBoxComponent.displayProductsattribute defined at extensionacceleratorcms.booleanGenerated 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(Integer value) Generated method - Setter ofSearchBoxComponent.maxProductsattribute defined at extensionacceleratorcms.voidsetMaxSuggestions(Integer value) Generated method - Setter ofSearchBoxComponent.maxSuggestionsattribute defined at extensionacceleratorcms.voidGenerated method - Setter ofSearchBoxComponent.minCharactersBeforeRequestattribute defined at extensionacceleratorcms.voidsetWaitTimeBeforeRequest(Integer value) Generated method - Setter ofSearchBoxComponent.waitTimeBeforeRequestattribute defined at extensionacceleratorcms.Methods inherited from class de.hybris.platform.cms2.model.contents.components.SimpleCMSComponentModel
getContainers, setContainersMethods inherited from class de.hybris.platform.cms2.model.contents.components.AbstractCMSComponentModel
getActions, getChildren, getParents, getRestrictions, getSlots, getStyleClasses, getType, getType, getTypeCode, getVisible, isContainer, isOnlyOneRestrictionMustApply, isRestricted, setActions, setChildren, setOnlyOneRestrictionMustApply, setParents, setRestrictions, setSlots, setStyleClasses, setVisibleMethods inherited from class de.hybris.platform.cms2.model.contents.CMSItemModel
getCatalogVersion, getName, getUid, isSynchronizationBlocked, setCatalogVersion, setName, setSynchronizationBlocked, setUidMethods inherited from class de.hybris.platform.core.model.ItemModel
getComments, getCreationtime, getModifiedtime, getOwner, isSealed, setComments, setCreationtime, setModifiedtime, setOwnerMethods 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 Details
-
_TYPECODE
Generated model type code constant.- See Also:
-
DISPLAYSUGGESTIONS
Generated constant - Attribute key ofSearchBoxComponent.displaySuggestionsattribute defined at extensionacceleratorcms.- See Also:
-
DISPLAYPRODUCTS
Generated constant - Attribute key ofSearchBoxComponent.displayProductsattribute defined at extensionacceleratorcms.- See Also:
-
DISPLAYPRODUCTIMAGES
Generated constant - Attribute key ofSearchBoxComponent.displayProductImagesattribute defined at extensionacceleratorcms.- See Also:
-
MAXSUGGESTIONS
Generated constant - Attribute key ofSearchBoxComponent.maxSuggestionsattribute defined at extensionacceleratorcms.- See Also:
-
MAXPRODUCTS
Generated constant - Attribute key ofSearchBoxComponent.maxProductsattribute defined at extensionacceleratorcms.- See Also:
-
MINCHARACTERSBEFOREREQUEST
Generated constant - Attribute key ofSearchBoxComponent.minCharactersBeforeRequestattribute defined at extensionacceleratorcms.- See Also:
-
WAITTIMEBEFOREREQUEST
Generated constant - Attribute key ofSearchBoxComponent.waitTimeBeforeRequestattribute defined at extensionacceleratorcms.- See Also:
-
-
Constructor Details
-
SearchBoxComponentModel
public SearchBoxComponentModel()Generated constructor - Default constructor for generic creation. -
SearchBoxComponentModel
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, 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, 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 Details
-
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
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 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
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
Generated method - Getter of theSearchBoxComponent.displayProductImagesattribute defined at extensionacceleratorcms.- Returns:
- the displayProductImages - Determines if product images are shown.
-
isDisplayProducts
Generated method - Getter of theSearchBoxComponent.displayProductsattribute defined at extensionacceleratorcms.- Returns:
- the displayProducts - Determines if product results are displayed in the component.
-
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
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
Generated method - Setter ofSearchBoxComponent.maxProductsattribute defined at extensionacceleratorcms.- Parameters:
value- the maxProducts - Determines the max number of products to display in the component.
-
setMaxSuggestions
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(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(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.
-