Class PurchasedCategorySuggestionComponentModel

All Implemented Interfaces:
Serializable

public class PurchasedCategorySuggestionComponentModel extends SimpleSuggestionComponentModel
Generated model class for type PurchasedCategorySuggestionComponent first defined at extension acceleratorcms.

Represents the suggestion component that displays product references that can be filtered by purchased or from specified category.

See Also:
  • Field Details

    • _TYPECODE

      public static final String _TYPECODE
      Generated model type code constant.
      See Also:
    • CATEGORY

      public static final String CATEGORY
      Generated constant - Attribute key of PurchasedCategorySuggestionComponent.category attribute defined at extension acceleratorcms.
      See Also:
  • Constructor Details

    • PurchasedCategorySuggestionComponentModel

      public PurchasedCategorySuggestionComponentModel()
      Generated constructor - Default constructor for generic creation.
    • PurchasedCategorySuggestionComponentModel

      public PurchasedCategorySuggestionComponentModel(ItemModelContext ctx)
      Generated constructor - Default constructor for creation with existing context
      Parameters:
      ctx - the model context to be injected, must not be null
    • PurchasedCategorySuggestionComponentModel

      @Deprecated(since="4.1.1", forRemoval=true) public PurchasedCategorySuggestionComponentModel(CatalogVersionModel _catalogVersion, CategoryModel _category, 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 parameters
      Generated constructor - Constructor with all mandatory attributes.
      Parameters:
      _catalogVersion - initial attribute declared by type CMSItem at extension cms2
      _category - initial attribute declared by type PurchasedCategorySuggestionComponent at extension acceleratorcms
      _uid - initial attribute declared by type CMSItem at extension cms2
    • PurchasedCategorySuggestionComponentModel

      @Deprecated(since="4.1.1", forRemoval=true) public PurchasedCategorySuggestionComponentModel(CatalogVersionModel _catalogVersion, CategoryModel _category, 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 parameters
      Generated constructor - for all mandatory and initial attributes.
      Parameters:
      _catalogVersion - initial attribute declared by type CMSItem at extension cms2
      _category - initial attribute declared by type PurchasedCategorySuggestionComponent at extension acceleratorcms
      _owner - initial attribute declared by type Item at extension core
      _uid - initial attribute declared by type CMSItem at extension cms2
  • Method Details

    • getCategory

      @Accessor(qualifier="category", type=GETTER) public CategoryModel getCategory()
      Generated method - Getter of the PurchasedCategorySuggestionComponent.category attribute defined at extension acceleratorcms.
      Returns:
      the category - Category to filter displayed references with.
    • setCategory

      @Accessor(qualifier="category", type=SETTER) public void setCategory(CategoryModel value)
      Generated method - Setter of PurchasedCategorySuggestionComponent.category attribute defined at extension acceleratorcms.
      Parameters:
      value - the category - Category to filter displayed references with.