Class BundleTemplateModel

java.lang.Object
de.hybris.platform.servicelayer.model.AbstractItemModel
de.hybris.platform.core.model.ItemModel
de.hybris.platform.configurablebundleservices.model.BundleTemplateModel
All Implemented Interfaces:
Serializable

public class BundleTemplateModel extends ItemModel
Generated model class for type BundleTemplate first defined at extension configurablebundleservices.
See Also:
  • Field Details

    • _TYPECODE

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

      public static final String _BUNDLETEMPLATERELATION
      Generated relation code constant for relation BundleTemplateRelation defining source attribute parentTemplate in extension configurablebundleservices.
      See Also:
    • _PRODUCTSBUNDLETEMPLATESRELATION

      public static final String _PRODUCTSBUNDLETEMPLATESRELATION
      Generated relation code constant for relation ProductsBundleTemplatesRelation defining source attribute products in extension configurablebundleservices.
      See Also:
    • _REQUIREDBUNDLETEMPLATESDEPENDENTBUNDLETEMPLATESRELATION

      public static final String _REQUIREDBUNDLETEMPLATESDEPENDENTBUNDLETEMPLATESRELATION
      Generated relation code constant for relation RequiredBundleTemplatesDependentBundleTemplatesRelation defining source attribute requiredBundleTemplates in extension configurablebundleservices.
      See Also:
    • _BUNDLETEMPLATESTATUSRELATION

      public static final String _BUNDLETEMPLATESTATUSRELATION
      Generated relation code constant for relation BundleTemplateStatusRelation defining source attribute status in extension configurablebundleservices.
      See Also:
    • ID

      public static final String ID
      Generated constant - Attribute key of BundleTemplate.id attribute defined at extension configurablebundleservices.
      See Also:
    • VERSION

      public static final String VERSION
      Generated constant - Attribute key of BundleTemplate.version attribute defined at extension configurablebundleservices.
      See Also:
    • CATALOGVERSION

      public static final String CATALOGVERSION
      Generated constant - Attribute key of BundleTemplate.catalogVersion attribute defined at extension configurablebundleservices.
      See Also:
    • NAME

      public static final String NAME
      Generated constant - Attribute key of BundleTemplate.name attribute defined at extension configurablebundleservices.
      See Also:
    • DESCRIPTION

      public static final String DESCRIPTION
      Generated constant - Attribute key of BundleTemplate.description attribute defined at extension configurablebundleservices.
      See Also:
    • BUNDLESELECTIONCRITERIA

      public static final String BUNDLESELECTIONCRITERIA
      Generated constant - Attribute key of BundleTemplate.bundleSelectionCriteria attribute defined at extension configurablebundleservices.
      See Also:
    • PARENTTEMPLATEPOS

      public static final String PARENTTEMPLATEPOS
      Generated constant - Attribute key of BundleTemplate.parentTemplatePOS attribute defined at extension configurablebundleservices.
      See Also:
    • PARENTTEMPLATE

      public static final String PARENTTEMPLATE
      Generated constant - Attribute key of BundleTemplate.parentTemplate attribute defined at extension configurablebundleservices.
      See Also:
    • CHILDTEMPLATES

      public static final String CHILDTEMPLATES
      Generated constant - Attribute key of BundleTemplate.childTemplates attribute defined at extension configurablebundleservices.
      See Also:
    • PRODUCTS

      public static final String PRODUCTS
      Generated constant - Attribute key of BundleTemplate.products attribute defined at extension configurablebundleservices.
      See Also:
    • CHANGEPRODUCTPRICEBUNDLERULES

      public static final String CHANGEPRODUCTPRICEBUNDLERULES
      Generated constant - Attribute key of BundleTemplate.changeProductPriceBundleRules attribute defined at extension configurablebundleservices.
      See Also:
    • DISABLEPRODUCTBUNDLERULES

      public static final String DISABLEPRODUCTBUNDLERULES
      Generated constant - Attribute key of BundleTemplate.disableProductBundleRules attribute defined at extension configurablebundleservices.
      See Also:
    • REQUIREDBUNDLETEMPLATES

      public static final String REQUIREDBUNDLETEMPLATES
      Generated constant - Attribute key of BundleTemplate.requiredBundleTemplates attribute defined at extension configurablebundleservices.
      See Also:
    • DEPENDENTBUNDLETEMPLATES

      public static final String DEPENDENTBUNDLETEMPLATES
      Generated constant - Attribute key of BundleTemplate.dependentBundleTemplates attribute defined at extension configurablebundleservices.
      See Also:
    • STATUS

      public static final String STATUS
      Generated constant - Attribute key of BundleTemplate.status attribute defined at extension configurablebundleservices.
      See Also:
  • Constructor Details

    • BundleTemplateModel

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

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

      @Deprecated(since="4.1.1", forRemoval=true) public BundleTemplateModel(CatalogVersionModel _catalogVersion, String _id, String _version)
      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 BundleTemplate at extension configurablebundleservices
      _id - initial attribute declared by type BundleTemplate at extension configurablebundleservices
      _version - initial attribute declared by type BundleTemplate at extension configurablebundleservices
    • BundleTemplateModel

      @Deprecated(since="4.1.1", forRemoval=true) public BundleTemplateModel(CatalogVersionModel _catalogVersion, String _id, ItemModel _owner, BundleTemplateModel _parentTemplate, String _version)
      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 BundleTemplate at extension configurablebundleservices
      _id - initial attribute declared by type BundleTemplate at extension configurablebundleservices
      _owner - initial attribute declared by type Item at extension core
      _parentTemplate - initial attribute declared by type BundleTemplate at extension configurablebundleservices
      _version - initial attribute declared by type BundleTemplate at extension configurablebundleservices
  • Method Details

    • getBundleSelectionCriteria

      @Accessor(qualifier="bundleSelectionCriteria", type=GETTER) public BundleSelectionCriteriaModel getBundleSelectionCriteria()
      Generated method - Getter of the BundleTemplate.bundleSelectionCriteria attribute defined at extension configurablebundleservices.
      Returns:
      the bundleSelectionCriteria - Criteria how many of the bundle's assigned products must/can be selected'
    • getCatalogVersion

      @Accessor(qualifier="catalogVersion", type=GETTER) public CatalogVersionModel getCatalogVersion()
      Generated method - Getter of the BundleTemplate.catalogVersion attribute defined at extension configurablebundleservices.
      Returns:
      the catalogVersion - Catalog Version
    • getChangeProductPriceBundleRules

      @Accessor(qualifier="changeProductPriceBundleRules", type=GETTER) public Collection<ChangeProductPriceBundleRuleModel> getChangeProductPriceBundleRules()
      Generated method - Getter of the BundleTemplate.changeProductPriceBundleRules attribute defined at extension configurablebundleservices. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.
      Returns:
      the changeProductPriceBundleRules
    • getChildTemplates

      @Accessor(qualifier="childTemplates", type=GETTER) public List<BundleTemplateModel> getChildTemplates()
      Generated method - Getter of the BundleTemplate.childTemplates attribute defined at extension configurablebundleservices. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.
      Returns:
      the childTemplates
    • getDependentBundleTemplates

      @Accessor(qualifier="dependentBundleTemplates", type=GETTER) public Collection<BundleTemplateModel> getDependentBundleTemplates()
      Generated method - Getter of the BundleTemplate.dependentBundleTemplates attribute defined at extension configurablebundleservices. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.
      Returns:
      the dependentBundleTemplates
    • getDescription

      @Accessor(qualifier="description", type=GETTER) public String getDescription()
      Generated method - Getter of the BundleTemplate.description attribute defined at extension configurablebundleservices.
      Returns:
      the description - Description of the bundle template
    • getDescription

      @Accessor(qualifier="description", type=GETTER) public String getDescription(Locale loc)
      Generated method - Getter of the BundleTemplate.description attribute defined at extension configurablebundleservices.
      Parameters:
      loc - the value localization key
      Returns:
      the description - Description of the bundle template
      Throws:
      IllegalArgumentException - if localization key cannot be mapped to data language
    • getDisableProductBundleRules

      @Accessor(qualifier="disableProductBundleRules", type=GETTER) public Collection<DisableProductBundleRuleModel> getDisableProductBundleRules()
      Generated method - Getter of the BundleTemplate.disableProductBundleRules attribute defined at extension configurablebundleservices. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.
      Returns:
      the disableProductBundleRules
    • getId

      @Accessor(qualifier="id", type=GETTER) public String getId()
      Generated method - Getter of the BundleTemplate.id attribute defined at extension configurablebundleservices.
      Returns:
      the id - Identifier
    • getName

      @Accessor(qualifier="name", type=GETTER) public String getName()
      Generated method - Getter of the BundleTemplate.name attribute defined at extension configurablebundleservices.
      Returns:
      the name - Name of the bundle template
    • getName

      @Accessor(qualifier="name", type=GETTER) public String getName(Locale loc)
      Generated method - Getter of the BundleTemplate.name attribute defined at extension configurablebundleservices.
      Parameters:
      loc - the value localization key
      Returns:
      the name - Name of the bundle template
      Throws:
      IllegalArgumentException - if localization key cannot be mapped to data language
    • getParentTemplate

      @Accessor(qualifier="parentTemplate", type=GETTER) public BundleTemplateModel getParentTemplate()
      Generated method - Getter of the BundleTemplate.parentTemplate attribute defined at extension configurablebundleservices.
      Returns:
      the parentTemplate
    • getProducts

      @Accessor(qualifier="products", type=GETTER) public List<ProductModel> getProducts()
      Generated method - Getter of the BundleTemplate.products attribute defined at extension configurablebundleservices. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.
      Returns:
      the products
    • getRequiredBundleTemplates

      @Accessor(qualifier="requiredBundleTemplates", type=GETTER) public Collection<BundleTemplateModel> getRequiredBundleTemplates()
      Generated method - Getter of the BundleTemplate.requiredBundleTemplates attribute defined at extension configurablebundleservices. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.
      Returns:
      the requiredBundleTemplates
    • getStatus

      @Accessor(qualifier="status", type=GETTER) public BundleTemplateStatusModel getStatus()
      Generated method - Getter of the BundleTemplate.status attribute defined at extension configurablebundleservices.
      Returns:
      the status
    • getVersion

      @Accessor(qualifier="version", type=GETTER) public String getVersion()
      Generated method - Getter of the BundleTemplate.version attribute defined at extension configurablebundleservices.
      Returns:
      the version - The version of the bundle template. Each clone of a BundleTemplate needs to have a different version.
    • setBundleSelectionCriteria

      @Accessor(qualifier="bundleSelectionCriteria", type=SETTER) public void setBundleSelectionCriteria(BundleSelectionCriteriaModel value)
      Generated method - Setter of BundleTemplate.bundleSelectionCriteria attribute defined at extension configurablebundleservices.
      Parameters:
      value - the bundleSelectionCriteria - Criteria how many of the bundle's assigned products must/can be selected'
    • setCatalogVersion

      @Accessor(qualifier="catalogVersion", type=SETTER) public void setCatalogVersion(CatalogVersionModel value)
      Generated method - Setter of BundleTemplate.catalogVersion attribute defined at extension configurablebundleservices.
      Parameters:
      value - the catalogVersion - Catalog Version
    • setChangeProductPriceBundleRules

      @Accessor(qualifier="changeProductPriceBundleRules", type=SETTER) public void setChangeProductPriceBundleRules(Collection<ChangeProductPriceBundleRuleModel> value)
      Generated method - Setter of BundleTemplate.changeProductPriceBundleRules attribute defined at extension configurablebundleservices.
      Parameters:
      value - the changeProductPriceBundleRules
    • setChildTemplates

      @Accessor(qualifier="childTemplates", type=SETTER) public void setChildTemplates(List<BundleTemplateModel> value)
      Generated method - Setter of BundleTemplate.childTemplates attribute defined at extension configurablebundleservices.
      Parameters:
      value - the childTemplates
    • setDependentBundleTemplates

      @Accessor(qualifier="dependentBundleTemplates", type=SETTER) public void setDependentBundleTemplates(Collection<BundleTemplateModel> value)
      Generated method - Setter of BundleTemplate.dependentBundleTemplates attribute defined at extension configurablebundleservices.
      Parameters:
      value - the dependentBundleTemplates
    • setDescription

      @Accessor(qualifier="description", type=SETTER) public void setDescription(String value)
      Generated method - Setter of BundleTemplate.description attribute defined at extension configurablebundleservices.
      Parameters:
      value - the description - Description of the bundle template
    • setDescription

      @Accessor(qualifier="description", type=SETTER) public void setDescription(String value, Locale loc)
      Generated method - Setter of BundleTemplate.description attribute defined at extension configurablebundleservices.
      Parameters:
      value - the description - Description of the bundle template
      loc - the value localization key
      Throws:
      IllegalArgumentException - if localization key cannot be mapped to data language
    • setDisableProductBundleRules

      @Accessor(qualifier="disableProductBundleRules", type=SETTER) public void setDisableProductBundleRules(Collection<DisableProductBundleRuleModel> value)
      Generated method - Setter of BundleTemplate.disableProductBundleRules attribute defined at extension configurablebundleservices.
      Parameters:
      value - the disableProductBundleRules
    • setId

      @Accessor(qualifier="id", type=SETTER) public void setId(String value)
      Generated method - Initial setter of BundleTemplate.id attribute defined at extension configurablebundleservices. Can only be used at creation of model - before first save.
      Parameters:
      value - the id - Identifier
    • setName

      @Accessor(qualifier="name", type=SETTER) public void setName(String value)
      Generated method - Setter of BundleTemplate.name attribute defined at extension configurablebundleservices.
      Parameters:
      value - the name - Name of the bundle template
    • setName

      @Accessor(qualifier="name", type=SETTER) public void setName(String value, Locale loc)
      Generated method - Setter of BundleTemplate.name attribute defined at extension configurablebundleservices.
      Parameters:
      value - the name - Name of the bundle template
      loc - the value localization key
      Throws:
      IllegalArgumentException - if localization key cannot be mapped to data language
    • setParentTemplate

      @Accessor(qualifier="parentTemplate", type=SETTER) public void setParentTemplate(BundleTemplateModel value)
      Generated method - Initial setter of BundleTemplate.parentTemplate attribute defined at extension configurablebundleservices. Can only be used at creation of model - before first save.
      Parameters:
      value - the parentTemplate
    • setProducts

      @Accessor(qualifier="products", type=SETTER) public void setProducts(List<ProductModel> value)
      Generated method - Setter of BundleTemplate.products attribute defined at extension configurablebundleservices.
      Parameters:
      value - the products
    • setRequiredBundleTemplates

      @Accessor(qualifier="requiredBundleTemplates", type=SETTER) public void setRequiredBundleTemplates(Collection<BundleTemplateModel> value)
      Generated method - Setter of BundleTemplate.requiredBundleTemplates attribute defined at extension configurablebundleservices.
      Parameters:
      value - the requiredBundleTemplates
    • setStatus

      @Accessor(qualifier="status", type=SETTER) public void setStatus(BundleTemplateStatusModel value)
      Generated method - Setter of BundleTemplate.status attribute defined at extension configurablebundleservices.
      Parameters:
      value - the status
    • setVersion

      @Accessor(qualifier="version", type=SETTER) public void setVersion(String value)
      Generated method - Setter of BundleTemplate.version attribute defined at extension configurablebundleservices.
      Parameters:
      value - the version - The version of the bundle template. Each clone of a BundleTemplate needs to have a different version.