Class GeneratedSearchBoxComponent

All Implemented Interfaces:
Serializable, Comparable
Direct Known Subclasses:
SearchBoxComponent

public abstract class GeneratedSearchBoxComponent extends SimpleCMSComponent
Generated class for type SearchBoxComponent.
See Also:
  • Field Details

    • DISPLAYSUGGESTIONS

      public static final String DISPLAYSUGGESTIONS
      Qualifier of the SearchBoxComponent.displaySuggestions attribute
      See Also:
    • DISPLAYPRODUCTS

      public static final String DISPLAYPRODUCTS
      Qualifier of the SearchBoxComponent.displayProducts attribute
      See Also:
    • DISPLAYPRODUCTIMAGES

      public static final String DISPLAYPRODUCTIMAGES
      Qualifier of the SearchBoxComponent.displayProductImages attribute
      See Also:
    • MAXSUGGESTIONS

      public static final String MAXSUGGESTIONS
      Qualifier of the SearchBoxComponent.maxSuggestions attribute
      See Also:
    • MAXPRODUCTS

      public static final String MAXPRODUCTS
      Qualifier of the SearchBoxComponent.maxProducts attribute
      See Also:
    • MINCHARACTERSBEFOREREQUEST

      public static final String MINCHARACTERSBEFOREREQUEST
      Qualifier of the SearchBoxComponent.minCharactersBeforeRequest attribute
      See Also:
    • WAITTIMEBEFOREREQUEST

      public static final String WAITTIMEBEFOREREQUEST
      Qualifier of the SearchBoxComponent.waitTimeBeforeRequest attribute
      See Also:
    • DEFAULT_INITIAL_ATTRIBUTES

      protected static final Map<String,Item.AttributeMode> DEFAULT_INITIAL_ATTRIBUTES
  • Constructor Details

    • GeneratedSearchBoxComponent

      public GeneratedSearchBoxComponent()
  • Method Details

    • getDefaultAttributeModes

      protected Map<String,Item.AttributeMode> getDefaultAttributeModes()
      Overrides:
      getDefaultAttributeModes in class GeneratedSimpleCMSComponent
    • isDisplayProductImages

      public Boolean isDisplayProductImages(SessionContext ctx)
      Generated method - Getter of the SearchBoxComponent.displayProductImages attribute.
      Returns:
      the displayProductImages - Determines if product images are shown.
    • isDisplayProductImages

      public Boolean isDisplayProductImages()
      Generated method - Getter of the SearchBoxComponent.displayProductImages attribute.
      Returns:
      the displayProductImages - Determines if product images are shown.
    • isDisplayProductImagesAsPrimitive

      public boolean isDisplayProductImagesAsPrimitive(SessionContext ctx)
      Generated method - Getter of the SearchBoxComponent.displayProductImages attribute.
      Returns:
      the displayProductImages - Determines if product images are shown.
    • isDisplayProductImagesAsPrimitive

      public boolean isDisplayProductImagesAsPrimitive()
      Generated method - Getter of the SearchBoxComponent.displayProductImages attribute.
      Returns:
      the displayProductImages - Determines if product images are shown.
    • setDisplayProductImages

      public void setDisplayProductImages(SessionContext ctx, Boolean value)
      Generated method - Setter of the SearchBoxComponent.displayProductImages attribute.
      Parameters:
      value - the displayProductImages - Determines if product images are shown.
    • setDisplayProductImages

      public void setDisplayProductImages(Boolean value)
      Generated method - Setter of the SearchBoxComponent.displayProductImages attribute.
      Parameters:
      value - the displayProductImages - Determines if product images are shown.
    • setDisplayProductImages

      public void setDisplayProductImages(SessionContext ctx, boolean value)
      Generated method - Setter of the SearchBoxComponent.displayProductImages attribute.
      Parameters:
      value - the displayProductImages - Determines if product images are shown.
    • setDisplayProductImages

      public void setDisplayProductImages(boolean value)
      Generated method - Setter of the SearchBoxComponent.displayProductImages attribute.
      Parameters:
      value - the displayProductImages - Determines if product images are shown.
    • isDisplayProducts

      public Boolean isDisplayProducts(SessionContext ctx)
      Generated method - Getter of the SearchBoxComponent.displayProducts attribute.
      Returns:
      the displayProducts - Determines if product results are displayed in the component.
    • isDisplayProducts

      public Boolean isDisplayProducts()
      Generated method - Getter of the SearchBoxComponent.displayProducts attribute.
      Returns:
      the displayProducts - Determines if product results are displayed in the component.
    • isDisplayProductsAsPrimitive

      public boolean isDisplayProductsAsPrimitive(SessionContext ctx)
      Generated method - Getter of the SearchBoxComponent.displayProducts attribute.
      Returns:
      the displayProducts - Determines if product results are displayed in the component.
    • isDisplayProductsAsPrimitive

      public boolean isDisplayProductsAsPrimitive()
      Generated method - Getter of the SearchBoxComponent.displayProducts attribute.
      Returns:
      the displayProducts - Determines if product results are displayed in the component.
    • setDisplayProducts

      public void setDisplayProducts(SessionContext ctx, Boolean value)
      Generated method - Setter of the SearchBoxComponent.displayProducts attribute.
      Parameters:
      value - the displayProducts - Determines if product results are displayed in the component.
    • setDisplayProducts

      public void setDisplayProducts(Boolean value)
      Generated method - Setter of the SearchBoxComponent.displayProducts attribute.
      Parameters:
      value - the displayProducts - Determines if product results are displayed in the component.
    • setDisplayProducts

      public void setDisplayProducts(SessionContext ctx, boolean value)
      Generated method - Setter of the SearchBoxComponent.displayProducts attribute.
      Parameters:
      value - the displayProducts - Determines if product results are displayed in the component.
    • setDisplayProducts

      public void setDisplayProducts(boolean value)
      Generated method - Setter of the SearchBoxComponent.displayProducts attribute.
      Parameters:
      value - the displayProducts - Determines if product results are displayed in the component.
    • isDisplaySuggestions

      public Boolean isDisplaySuggestions(SessionContext ctx)
      Generated method - Getter of the SearchBoxComponent.displaySuggestions attribute.
      Returns:
      the displaySuggestions - Determines if suggested terms are displayed in the component.
    • isDisplaySuggestions

      public Boolean isDisplaySuggestions()
      Generated method - Getter of the SearchBoxComponent.displaySuggestions attribute.
      Returns:
      the displaySuggestions - Determines if suggested terms are displayed in the component.
    • isDisplaySuggestionsAsPrimitive

      public boolean isDisplaySuggestionsAsPrimitive(SessionContext ctx)
      Generated method - Getter of the SearchBoxComponent.displaySuggestions attribute.
      Returns:
      the displaySuggestions - Determines if suggested terms are displayed in the component.
    • isDisplaySuggestionsAsPrimitive

      public boolean isDisplaySuggestionsAsPrimitive()
      Generated method - Getter of the SearchBoxComponent.displaySuggestions attribute.
      Returns:
      the displaySuggestions - Determines if suggested terms are displayed in the component.
    • setDisplaySuggestions

      public void setDisplaySuggestions(SessionContext ctx, Boolean value)
      Generated method - Setter of the SearchBoxComponent.displaySuggestions attribute.
      Parameters:
      value - the displaySuggestions - Determines if suggested terms are displayed in the component.
    • setDisplaySuggestions

      public void setDisplaySuggestions(Boolean value)
      Generated method - Setter of the SearchBoxComponent.displaySuggestions attribute.
      Parameters:
      value - the displaySuggestions - Determines if suggested terms are displayed in the component.
    • setDisplaySuggestions

      public void setDisplaySuggestions(SessionContext ctx, boolean value)
      Generated method - Setter of the SearchBoxComponent.displaySuggestions attribute.
      Parameters:
      value - the displaySuggestions - Determines if suggested terms are displayed in the component.
    • setDisplaySuggestions

      public void setDisplaySuggestions(boolean value)
      Generated method - Setter of the SearchBoxComponent.displaySuggestions attribute.
      Parameters:
      value - the displaySuggestions - Determines if suggested terms are displayed in the component.
    • getMaxProducts

      public Integer getMaxProducts(SessionContext ctx)
      Generated method - Getter of the SearchBoxComponent.maxProducts attribute.
      Returns:
      the maxProducts - Determines the max number of products to display in the component.
    • getMaxProducts

      public Integer getMaxProducts()
      Generated method - Getter of the SearchBoxComponent.maxProducts attribute.
      Returns:
      the maxProducts - Determines the max number of products to display in the component.
    • getMaxProductsAsPrimitive

      public int getMaxProductsAsPrimitive(SessionContext ctx)
      Generated method - Getter of the SearchBoxComponent.maxProducts attribute.
      Returns:
      the maxProducts - Determines the max number of products to display in the component.
    • getMaxProductsAsPrimitive

      public int getMaxProductsAsPrimitive()
      Generated method - Getter of the SearchBoxComponent.maxProducts attribute.
      Returns:
      the maxProducts - Determines the max number of products to display in the component.
    • setMaxProducts

      public void setMaxProducts(SessionContext ctx, Integer value)
      Generated method - Setter of the SearchBoxComponent.maxProducts attribute.
      Parameters:
      value - the maxProducts - Determines the max number of products to display in the component.
    • setMaxProducts

      public void setMaxProducts(Integer value)
      Generated method - Setter of the SearchBoxComponent.maxProducts attribute.
      Parameters:
      value - the maxProducts - Determines the max number of products to display in the component.
    • setMaxProducts

      public void setMaxProducts(SessionContext ctx, int value)
      Generated method - Setter of the SearchBoxComponent.maxProducts attribute.
      Parameters:
      value - the maxProducts - Determines the max number of products to display in the component.
    • setMaxProducts

      public void setMaxProducts(int value)
      Generated method - Setter of the SearchBoxComponent.maxProducts attribute.
      Parameters:
      value - the maxProducts - Determines the max number of products to display in the component.
    • getMaxSuggestions

      public Integer getMaxSuggestions(SessionContext ctx)
      Generated method - Getter of the SearchBoxComponent.maxSuggestions attribute.
      Returns:
      the maxSuggestions - Determines the max number of suggestions to display in the component.
    • getMaxSuggestions

      public Integer getMaxSuggestions()
      Generated method - Getter of the SearchBoxComponent.maxSuggestions attribute.
      Returns:
      the maxSuggestions - Determines the max number of suggestions to display in the component.
    • getMaxSuggestionsAsPrimitive

      public int getMaxSuggestionsAsPrimitive(SessionContext ctx)
      Generated method - Getter of the SearchBoxComponent.maxSuggestions attribute.
      Returns:
      the maxSuggestions - Determines the max number of suggestions to display in the component.
    • getMaxSuggestionsAsPrimitive

      public int getMaxSuggestionsAsPrimitive()
      Generated method - Getter of the SearchBoxComponent.maxSuggestions attribute.
      Returns:
      the maxSuggestions - Determines the max number of suggestions to display in the component.
    • setMaxSuggestions

      public void setMaxSuggestions(SessionContext ctx, Integer value)
      Generated method - Setter of the SearchBoxComponent.maxSuggestions attribute.
      Parameters:
      value - the maxSuggestions - Determines the max number of suggestions to display in the component.
    • setMaxSuggestions

      public void setMaxSuggestions(Integer value)
      Generated method - Setter of the SearchBoxComponent.maxSuggestions attribute.
      Parameters:
      value - the maxSuggestions - Determines the max number of suggestions to display in the component.
    • setMaxSuggestions

      public void setMaxSuggestions(SessionContext ctx, int value)
      Generated method - Setter of the SearchBoxComponent.maxSuggestions attribute.
      Parameters:
      value - the maxSuggestions - Determines the max number of suggestions to display in the component.
    • setMaxSuggestions

      public void setMaxSuggestions(int value)
      Generated method - Setter of the SearchBoxComponent.maxSuggestions attribute.
      Parameters:
      value - the maxSuggestions - Determines the max number of suggestions to display in the component.
    • getMinCharactersBeforeRequest

      public Integer getMinCharactersBeforeRequest(SessionContext ctx)
      Generated method - Getter of the SearchBoxComponent.minCharactersBeforeRequest attribute.
      Returns:
      the minCharactersBeforeRequest - Determines the min number of characters to enter before submitting a search request.
    • getMinCharactersBeforeRequest

      public Integer getMinCharactersBeforeRequest()
      Generated method - Getter of the SearchBoxComponent.minCharactersBeforeRequest attribute.
      Returns:
      the minCharactersBeforeRequest - Determines the min number of characters to enter before submitting a search request.
    • getMinCharactersBeforeRequestAsPrimitive

      public int getMinCharactersBeforeRequestAsPrimitive(SessionContext ctx)
      Generated method - Getter of the SearchBoxComponent.minCharactersBeforeRequest attribute.
      Returns:
      the minCharactersBeforeRequest - Determines the min number of characters to enter before submitting a search request.
    • getMinCharactersBeforeRequestAsPrimitive

      public int getMinCharactersBeforeRequestAsPrimitive()
      Generated method - Getter of the SearchBoxComponent.minCharactersBeforeRequest attribute.
      Returns:
      the minCharactersBeforeRequest - Determines the min number of characters to enter before submitting a search request.
    • setMinCharactersBeforeRequest

      public void setMinCharactersBeforeRequest(SessionContext ctx, Integer value)
      Generated method - Setter of the SearchBoxComponent.minCharactersBeforeRequest attribute.
      Parameters:
      value - the minCharactersBeforeRequest - Determines the min number of characters to enter before submitting a search request.
    • setMinCharactersBeforeRequest

      public void setMinCharactersBeforeRequest(Integer value)
      Generated method - Setter of the SearchBoxComponent.minCharactersBeforeRequest attribute.
      Parameters:
      value - the minCharactersBeforeRequest - Determines the min number of characters to enter before submitting a search request.
    • setMinCharactersBeforeRequest

      public void setMinCharactersBeforeRequest(SessionContext ctx, int value)
      Generated method - Setter of the SearchBoxComponent.minCharactersBeforeRequest attribute.
      Parameters:
      value - the minCharactersBeforeRequest - Determines the min number of characters to enter before submitting a search request.
    • setMinCharactersBeforeRequest

      public void setMinCharactersBeforeRequest(int value)
      Generated method - Setter of the SearchBoxComponent.minCharactersBeforeRequest attribute.
      Parameters:
      value - the minCharactersBeforeRequest - Determines the min number of characters to enter before submitting a search request.
    • getWaitTimeBeforeRequest

      public Integer getWaitTimeBeforeRequest(SessionContext ctx)
      Generated method - Getter of the SearchBoxComponent.waitTimeBeforeRequest attribute.
      Returns:
      the waitTimeBeforeRequest - Determines the wait time after the search term has been altered before resubmitting the search request.
    • getWaitTimeBeforeRequest

      public Integer getWaitTimeBeforeRequest()
      Generated method - Getter of the SearchBoxComponent.waitTimeBeforeRequest attribute.
      Returns:
      the waitTimeBeforeRequest - Determines the wait time after the search term has been altered before resubmitting the search request.
    • getWaitTimeBeforeRequestAsPrimitive

      public int getWaitTimeBeforeRequestAsPrimitive(SessionContext ctx)
      Generated method - Getter of the SearchBoxComponent.waitTimeBeforeRequest attribute.
      Returns:
      the waitTimeBeforeRequest - Determines the wait time after the search term has been altered before resubmitting the search request.
    • getWaitTimeBeforeRequestAsPrimitive

      public int getWaitTimeBeforeRequestAsPrimitive()
      Generated method - Getter of the SearchBoxComponent.waitTimeBeforeRequest attribute.
      Returns:
      the waitTimeBeforeRequest - Determines the wait time after the search term has been altered before resubmitting the search request.
    • setWaitTimeBeforeRequest

      public void setWaitTimeBeforeRequest(SessionContext ctx, Integer value)
      Generated method - Setter of the SearchBoxComponent.waitTimeBeforeRequest attribute.
      Parameters:
      value - the waitTimeBeforeRequest - Determines the wait time after the search term has been altered before resubmitting the search request.
    • setWaitTimeBeforeRequest

      public void setWaitTimeBeforeRequest(Integer value)
      Generated method - Setter of the SearchBoxComponent.waitTimeBeforeRequest attribute.
      Parameters:
      value - the waitTimeBeforeRequest - Determines the wait time after the search term has been altered before resubmitting the search request.
    • setWaitTimeBeforeRequest

      public void setWaitTimeBeforeRequest(SessionContext ctx, int value)
      Generated method - Setter of the SearchBoxComponent.waitTimeBeforeRequest attribute.
      Parameters:
      value - the waitTimeBeforeRequest - Determines the wait time after the search term has been altered before resubmitting the search request.
    • setWaitTimeBeforeRequest

      public void setWaitTimeBeforeRequest(int value)
      Generated method - Setter of the SearchBoxComponent.waitTimeBeforeRequest attribute.
      Parameters:
      value - the waitTimeBeforeRequest - Determines the wait time after the search term has been altered before resubmitting the search request.