public class SearchBoxComponentModel extends SimpleCMSComponentModel
Represents the search box component.
AbstractItemModel.NewModelContextFactory| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
_TYPECODE
Generated model type code constant.
|
static java.lang.String |
DISPLAYPRODUCTIMAGES
Generated constant - Attribute key of
SearchBoxComponent.displayProductImages attribute defined at extension acceleratorcms. |
static java.lang.String |
DISPLAYPRODUCTS
Generated constant - Attribute key of
SearchBoxComponent.displayProducts attribute defined at extension acceleratorcms. |
static java.lang.String |
DISPLAYSUGGESTIONS
Generated constant - Attribute key of
SearchBoxComponent.displaySuggestions attribute defined at extension acceleratorcms. |
static java.lang.String |
MAXPRODUCTS
Generated constant - Attribute key of
SearchBoxComponent.maxProducts attribute defined at extension acceleratorcms. |
static java.lang.String |
MAXSUGGESTIONS
Generated constant - Attribute key of
SearchBoxComponent.maxSuggestions attribute defined at extension acceleratorcms. |
static java.lang.String |
MINCHARACTERSBEFOREREQUEST
Generated constant - Attribute key of
SearchBoxComponent.minCharactersBeforeRequest attribute defined at extension acceleratorcms. |
static java.lang.String |
WAITTIMEBEFOREREQUEST
Generated constant - Attribute key of
SearchBoxComponent.waitTimeBeforeRequest attribute defined at extension acceleratorcms. |
_ELEMENTSFORCONTAINER, CONTAINERS_ELEMENTSFORSLOT, ACTIONS, CONTAINER, ONLYONERESTRICTIONMUSTAPPLY, RESTRICTED, RESTRICTIONS, SLOTS, TYPE, TYPECODE, VISIBLECATALOGVERSION, NAME, UID_COMMENTITEMRELATION, COMMENTS, CREATIONTIME, ITEMTYPE, MODIFIEDTIME, OWNER, PK, SEALEDLANGUAGE_FALLBACK_ENABLED_SERVICE_LAYER, MODEL_CONTEXT_FACTORY| Constructor and Description |
|---|
SearchBoxComponentModel()
Generated constructor - Default constructor for generic creation.
|
SearchBoxComponentModel(CatalogVersionModel _catalogVersion,
ItemModel _owner,
java.lang.String _uid)
Deprecated.
since 4.1.1 Please use the default constructor without parameters
|
SearchBoxComponentModel(CatalogVersionModel _catalogVersion,
java.lang.String _uid)
Deprecated.
since 4.1.1 Please use the default constructor without parameters
|
SearchBoxComponentModel(ItemModelContext ctx)
Generated constructor - Default constructor for creation with existing context
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Integer |
getMaxProducts()
Generated method - Getter of the
SearchBoxComponent.maxProducts attribute defined at extension acceleratorcms. |
java.lang.Integer |
getMaxSuggestions()
Generated method - Getter of the
SearchBoxComponent.maxSuggestions attribute defined at extension acceleratorcms. |
java.lang.Integer |
getMinCharactersBeforeRequest()
Generated method - Getter of the
SearchBoxComponent.minCharactersBeforeRequest attribute defined at extension acceleratorcms. |
java.lang.Integer |
getWaitTimeBeforeRequest()
Generated method - Getter of the
SearchBoxComponent.waitTimeBeforeRequest attribute defined at extension acceleratorcms. |
boolean |
isDisplayProductImages()
Generated method - Getter of the
SearchBoxComponent.displayProductImages attribute defined at extension acceleratorcms. |
boolean |
isDisplayProducts()
Generated method - Getter of the
SearchBoxComponent.displayProducts attribute defined at extension acceleratorcms. |
boolean |
isDisplaySuggestions()
Generated method - Getter of the
SearchBoxComponent.displaySuggestions attribute defined at extension acceleratorcms. |
void |
setDisplayProductImages(boolean value)
Generated method - Setter of
SearchBoxComponent.displayProductImages attribute defined at extension acceleratorcms. |
void |
setDisplayProducts(boolean value)
Generated method - Setter of
SearchBoxComponent.displayProducts attribute defined at extension acceleratorcms. |
void |
setDisplaySuggestions(boolean value)
Generated method - Setter of
SearchBoxComponent.displaySuggestions attribute defined at extension acceleratorcms. |
void |
setMaxProducts(java.lang.Integer value)
Generated method - Setter of
SearchBoxComponent.maxProducts attribute defined at extension acceleratorcms. |
void |
setMaxSuggestions(java.lang.Integer value)
Generated method - Setter of
SearchBoxComponent.maxSuggestions attribute defined at extension acceleratorcms. |
void |
setMinCharactersBeforeRequest(java.lang.Integer value)
Generated method - Setter of
SearchBoxComponent.minCharactersBeforeRequest attribute defined at extension acceleratorcms. |
void |
setWaitTimeBeforeRequest(java.lang.Integer value)
Generated method - Setter of
SearchBoxComponent.waitTimeBeforeRequest attribute defined at extension acceleratorcms. |
getContainers, setContainersgetActions, getRestrictions, getSlots, getType, getType, getTypeCode, getVisible, isContainer, isOnlyOneRestrictionMustApply, isRestricted, setActions, setOnlyOneRestrictionMustApply, setRestrictions, setSlots, setVisiblegetCatalogVersion, getName, getUid, setCatalogVersion, setName, setUidgetComments, getCreationtime, getModifiedtime, getOwner, isSealed, setComments, setCreationtime, setModifiedtime, setOwnerequals, 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, writeReplacepublic static final java.lang.String _TYPECODE
public static final java.lang.String DISPLAYSUGGESTIONS
SearchBoxComponent.displaySuggestions attribute defined at extension acceleratorcms.public static final java.lang.String DISPLAYPRODUCTS
SearchBoxComponent.displayProducts attribute defined at extension acceleratorcms.public static final java.lang.String DISPLAYPRODUCTIMAGES
SearchBoxComponent.displayProductImages attribute defined at extension acceleratorcms.public static final java.lang.String MAXSUGGESTIONS
SearchBoxComponent.maxSuggestions attribute defined at extension acceleratorcms.public static final java.lang.String MAXPRODUCTS
SearchBoxComponent.maxProducts attribute defined at extension acceleratorcms.public static final java.lang.String MINCHARACTERSBEFOREREQUEST
SearchBoxComponent.minCharactersBeforeRequest attribute defined at extension acceleratorcms.public static final java.lang.String WAITTIMEBEFOREREQUEST
SearchBoxComponent.waitTimeBeforeRequest attribute defined at extension acceleratorcms.public SearchBoxComponentModel()
public SearchBoxComponentModel(ItemModelContext ctx)
ctx - the model context to be injected, must not be null@Deprecated public SearchBoxComponentModel(CatalogVersionModel _catalogVersion, java.lang.String _uid)
_catalogVersion - initial attribute declared by type CMSItem at extension cms2_uid - initial attribute declared by type CMSItem at extension cms2@Deprecated public SearchBoxComponentModel(CatalogVersionModel _catalogVersion, ItemModel _owner, java.lang.String _uid)
_catalogVersion - initial attribute declared by type CMSItem at extension cms2_owner - initial attribute declared by type Item at extension core_uid - initial attribute declared by type CMSItem at extension cms2@Accessor(qualifier="maxProducts", type=GETTER) public java.lang.Integer getMaxProducts()
SearchBoxComponent.maxProducts attribute defined at extension acceleratorcms.@Accessor(qualifier="maxSuggestions", type=GETTER) public java.lang.Integer getMaxSuggestions()
SearchBoxComponent.maxSuggestions attribute defined at extension acceleratorcms.@Accessor(qualifier="minCharactersBeforeRequest", type=GETTER) public java.lang.Integer getMinCharactersBeforeRequest()
SearchBoxComponent.minCharactersBeforeRequest attribute defined at extension acceleratorcms.@Accessor(qualifier="waitTimeBeforeRequest", type=GETTER) public java.lang.Integer getWaitTimeBeforeRequest()
SearchBoxComponent.waitTimeBeforeRequest attribute defined at extension acceleratorcms.@Accessor(qualifier="displayProductImages", type=GETTER) public boolean isDisplayProductImages()
SearchBoxComponent.displayProductImages attribute defined at extension acceleratorcms.@Accessor(qualifier="displayProducts", type=GETTER) public boolean isDisplayProducts()
SearchBoxComponent.displayProducts attribute defined at extension acceleratorcms.@Accessor(qualifier="displaySuggestions", type=GETTER) public boolean isDisplaySuggestions()
SearchBoxComponent.displaySuggestions attribute defined at extension acceleratorcms.@Accessor(qualifier="displayProductImages", type=SETTER) public void setDisplayProductImages(boolean value)
SearchBoxComponent.displayProductImages attribute defined at extension acceleratorcms.value - the displayProductImages - Determines if product images are shown.@Accessor(qualifier="displayProducts", type=SETTER) public void setDisplayProducts(boolean value)
SearchBoxComponent.displayProducts attribute defined at extension acceleratorcms.value - the displayProducts - Determines if product results are displayed in the component.@Accessor(qualifier="displaySuggestions", type=SETTER) public void setDisplaySuggestions(boolean value)
SearchBoxComponent.displaySuggestions attribute defined at extension acceleratorcms.value - the displaySuggestions - Determines if suggested terms are displayed in the component.@Accessor(qualifier="maxProducts", type=SETTER) public void setMaxProducts(java.lang.Integer value)
SearchBoxComponent.maxProducts attribute defined at extension acceleratorcms.value - the maxProducts - Determines the max number of products to display in the component.@Accessor(qualifier="maxSuggestions", type=SETTER) public void setMaxSuggestions(java.lang.Integer value)
SearchBoxComponent.maxSuggestions attribute defined at extension acceleratorcms.value - the maxSuggestions - Determines the max number of suggestions to display in the component.@Accessor(qualifier="minCharactersBeforeRequest", type=SETTER) public void setMinCharactersBeforeRequest(java.lang.Integer value)
SearchBoxComponent.minCharactersBeforeRequest attribute defined at extension acceleratorcms.value - the minCharactersBeforeRequest - Determines the min number of characters to enter before submitting a search request.@Accessor(qualifier="waitTimeBeforeRequest", type=SETTER) public void setWaitTimeBeforeRequest(java.lang.Integer value)
SearchBoxComponent.waitTimeBeforeRequest attribute defined at extension acceleratorcms.value - the waitTimeBeforeRequest - Determines the wait time after the search term has been altered before resubmitting the search request.Copyright © 2018 SAP SE. All Rights Reserved.