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:
java.io.Serializable
public class BundleTemplateModel extends ItemModel
Generated model class for type BundleTemplate first defined at extension configurablebundleservices.- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
AbstractItemModel.NewModelContextFactory
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
_BUNDLETEMPLATERELATION
Generated relation code constant for relationBundleTemplateRelation
defining source attributeparentTemplate
in extensionconfigurablebundleservices
.static java.lang.String
_BUNDLETEMPLATESTATUSRELATION
Generated relation code constant for relationBundleTemplateStatusRelation
defining source attributestatus
in extensionconfigurablebundleservices
.static java.lang.String
_PRODUCTSBUNDLETEMPLATESRELATION
Generated relation code constant for relationProductsBundleTemplatesRelation
defining source attributeproducts
in extensionconfigurablebundleservices
.static java.lang.String
_REQUIREDBUNDLETEMPLATESDEPENDENTBUNDLETEMPLATESRELATION
Generated relation code constant for relationRequiredBundleTemplatesDependentBundleTemplatesRelation
defining source attributerequiredBundleTemplates
in extensionconfigurablebundleservices
.static java.lang.String
_TYPECODE
Generated model type code constant.static java.lang.String
BUNDLESELECTIONCRITERIA
Generated constant - Attribute key ofBundleTemplate.bundleSelectionCriteria
attribute defined at extensionconfigurablebundleservices
.static java.lang.String
CATALOGVERSION
Generated constant - Attribute key ofBundleTemplate.catalogVersion
attribute defined at extensionconfigurablebundleservices
.static java.lang.String
CHANGEPRODUCTPRICEBUNDLERULES
Generated constant - Attribute key ofBundleTemplate.changeProductPriceBundleRules
attribute defined at extensionconfigurablebundleservices
.static java.lang.String
CHILDTEMPLATES
Generated constant - Attribute key ofBundleTemplate.childTemplates
attribute defined at extensionconfigurablebundleservices
.static java.lang.String
DEPENDENTBUNDLETEMPLATES
Generated constant - Attribute key ofBundleTemplate.dependentBundleTemplates
attribute defined at extensionconfigurablebundleservices
.static java.lang.String
DESCRIPTION
Generated constant - Attribute key ofBundleTemplate.description
attribute defined at extensionconfigurablebundleservices
.static java.lang.String
DISABLEPRODUCTBUNDLERULES
Generated constant - Attribute key ofBundleTemplate.disableProductBundleRules
attribute defined at extensionconfigurablebundleservices
.static java.lang.String
ID
Generated constant - Attribute key ofBundleTemplate.id
attribute defined at extensionconfigurablebundleservices
.static java.lang.String
NAME
Generated constant - Attribute key ofBundleTemplate.name
attribute defined at extensionconfigurablebundleservices
.static java.lang.String
PARENTTEMPLATE
Generated constant - Attribute key ofBundleTemplate.parentTemplate
attribute defined at extensionconfigurablebundleservices
.static java.lang.String
PARENTTEMPLATEPOS
Generated constant - Attribute key ofBundleTemplate.parentTemplatePOS
attribute defined at extensionconfigurablebundleservices
.static java.lang.String
PRODUCTS
Generated constant - Attribute key ofBundleTemplate.products
attribute defined at extensionconfigurablebundleservices
.static java.lang.String
REQUIREDBUNDLETEMPLATES
Generated constant - Attribute key ofBundleTemplate.requiredBundleTemplates
attribute defined at extensionconfigurablebundleservices
.static java.lang.String
STATUS
Generated constant - Attribute key ofBundleTemplate.status
attribute defined at extensionconfigurablebundleservices
.static java.lang.String
VERSION
Generated constant - Attribute key ofBundleTemplate.version
attribute defined at extensionconfigurablebundleservices
.-
Fields inherited from class de.hybris.platform.core.model.ItemModel
_COMMENTITEMRELATION, COMMENTS, CREATIONTIME, ITEMTYPE, MODIFIEDTIME, OWNER, PK, SEALED
-
Fields inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
LANGUAGE_FALLBACK_ENABLED_SERVICE_LAYER, MODEL_CONTEXT_FACTORY
-
-
Constructor Summary
Constructors Constructor Description BundleTemplateModel()
Generated constructor - Default constructor for generic creation.BundleTemplateModel(CatalogVersionModel _catalogVersion, java.lang.String _id, ItemModel _owner, BundleTemplateModel _parentTemplate, java.lang.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 parametersBundleTemplateModel(CatalogVersionModel _catalogVersion, java.lang.String _id, java.lang.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 parametersBundleTemplateModel(ItemModelContext ctx)
Generated constructor - Default constructor for creation with existing context
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BundleSelectionCriteriaModel
getBundleSelectionCriteria()
Generated method - Getter of theBundleTemplate.bundleSelectionCriteria
attribute defined at extensionconfigurablebundleservices
.CatalogVersionModel
getCatalogVersion()
Generated method - Getter of theBundleTemplate.catalogVersion
attribute defined at extensionconfigurablebundleservices
.java.util.Collection<ChangeProductPriceBundleRuleModel>
getChangeProductPriceBundleRules()
Generated method - Getter of theBundleTemplate.changeProductPriceBundleRules
attribute defined at extensionconfigurablebundleservices
.java.util.List<BundleTemplateModel>
getChildTemplates()
Generated method - Getter of theBundleTemplate.childTemplates
attribute defined at extensionconfigurablebundleservices
.java.util.Collection<BundleTemplateModel>
getDependentBundleTemplates()
Generated method - Getter of theBundleTemplate.dependentBundleTemplates
attribute defined at extensionconfigurablebundleservices
.java.lang.String
getDescription()
Generated method - Getter of theBundleTemplate.description
attribute defined at extensionconfigurablebundleservices
.java.lang.String
getDescription(java.util.Locale loc)
Generated method - Getter of theBundleTemplate.description
attribute defined at extensionconfigurablebundleservices
.java.util.Collection<DisableProductBundleRuleModel>
getDisableProductBundleRules()
Generated method - Getter of theBundleTemplate.disableProductBundleRules
attribute defined at extensionconfigurablebundleservices
.java.lang.String
getId()
Generated method - Getter of theBundleTemplate.id
attribute defined at extensionconfigurablebundleservices
.java.lang.String
getName()
Generated method - Getter of theBundleTemplate.name
attribute defined at extensionconfigurablebundleservices
.java.lang.String
getName(java.util.Locale loc)
Generated method - Getter of theBundleTemplate.name
attribute defined at extensionconfigurablebundleservices
.BundleTemplateModel
getParentTemplate()
Generated method - Getter of theBundleTemplate.parentTemplate
attribute defined at extensionconfigurablebundleservices
.java.util.List<ProductModel>
getProducts()
Generated method - Getter of theBundleTemplate.products
attribute defined at extensionconfigurablebundleservices
.java.util.Collection<BundleTemplateModel>
getRequiredBundleTemplates()
Generated method - Getter of theBundleTemplate.requiredBundleTemplates
attribute defined at extensionconfigurablebundleservices
.BundleTemplateStatusModel
getStatus()
Generated method - Getter of theBundleTemplate.status
attribute defined at extensionconfigurablebundleservices
.java.lang.String
getVersion()
Generated method - Getter of theBundleTemplate.version
attribute defined at extensionconfigurablebundleservices
.void
setBundleSelectionCriteria(BundleSelectionCriteriaModel value)
Generated method - Setter ofBundleTemplate.bundleSelectionCriteria
attribute defined at extensionconfigurablebundleservices
.void
setCatalogVersion(CatalogVersionModel value)
Generated method - Setter ofBundleTemplate.catalogVersion
attribute defined at extensionconfigurablebundleservices
.void
setChangeProductPriceBundleRules(java.util.Collection<ChangeProductPriceBundleRuleModel> value)
Generated method - Setter ofBundleTemplate.changeProductPriceBundleRules
attribute defined at extensionconfigurablebundleservices
.void
setChildTemplates(java.util.List<BundleTemplateModel> value)
Generated method - Setter ofBundleTemplate.childTemplates
attribute defined at extensionconfigurablebundleservices
.void
setDependentBundleTemplates(java.util.Collection<BundleTemplateModel> value)
Generated method - Setter ofBundleTemplate.dependentBundleTemplates
attribute defined at extensionconfigurablebundleservices
.void
setDescription(java.lang.String value)
Generated method - Setter ofBundleTemplate.description
attribute defined at extensionconfigurablebundleservices
.void
setDescription(java.lang.String value, java.util.Locale loc)
Generated method - Setter ofBundleTemplate.description
attribute defined at extensionconfigurablebundleservices
.void
setDisableProductBundleRules(java.util.Collection<DisableProductBundleRuleModel> value)
Generated method - Setter ofBundleTemplate.disableProductBundleRules
attribute defined at extensionconfigurablebundleservices
.void
setId(java.lang.String value)
Generated method - Initial setter ofBundleTemplate.id
attribute defined at extensionconfigurablebundleservices
.void
setName(java.lang.String value)
Generated method - Setter ofBundleTemplate.name
attribute defined at extensionconfigurablebundleservices
.void
setName(java.lang.String value, java.util.Locale loc)
Generated method - Setter ofBundleTemplate.name
attribute defined at extensionconfigurablebundleservices
.void
setParentTemplate(BundleTemplateModel value)
Generated method - Initial setter ofBundleTemplate.parentTemplate
attribute defined at extensionconfigurablebundleservices
.void
setProducts(java.util.List<ProductModel> value)
Generated method - Setter ofBundleTemplate.products
attribute defined at extensionconfigurablebundleservices
.void
setRequiredBundleTemplates(java.util.Collection<BundleTemplateModel> value)
Generated method - Setter ofBundleTemplate.requiredBundleTemplates
attribute defined at extensionconfigurablebundleservices
.void
setStatus(BundleTemplateStatusModel value)
Generated method - Setter ofBundleTemplate.status
attribute defined at extensionconfigurablebundleservices
.void
setVersion(java.lang.String value)
Generated method - Setter ofBundleTemplate.version
attribute defined at extensionconfigurablebundleservices
.-
Methods inherited from class de.hybris.platform.core.model.ItemModel
getComments, getCreationtime, getModifiedtime, getOwner, isSealed, setComments, setCreationtime, setModifiedtime, setOwner
-
Methods 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 Detail
-
_TYPECODE
public static final java.lang.String _TYPECODE
Generated model type code constant.- See Also:
- Constant Field Values
-
_BUNDLETEMPLATERELATION
public static final java.lang.String _BUNDLETEMPLATERELATION
Generated relation code constant for relationBundleTemplateRelation
defining source attributeparentTemplate
in extensionconfigurablebundleservices
.- See Also:
- Constant Field Values
-
_PRODUCTSBUNDLETEMPLATESRELATION
public static final java.lang.String _PRODUCTSBUNDLETEMPLATESRELATION
Generated relation code constant for relationProductsBundleTemplatesRelation
defining source attributeproducts
in extensionconfigurablebundleservices
.- See Also:
- Constant Field Values
-
_REQUIREDBUNDLETEMPLATESDEPENDENTBUNDLETEMPLATESRELATION
public static final java.lang.String _REQUIREDBUNDLETEMPLATESDEPENDENTBUNDLETEMPLATESRELATION
Generated relation code constant for relationRequiredBundleTemplatesDependentBundleTemplatesRelation
defining source attributerequiredBundleTemplates
in extensionconfigurablebundleservices
.- See Also:
- Constant Field Values
-
_BUNDLETEMPLATESTATUSRELATION
public static final java.lang.String _BUNDLETEMPLATESTATUSRELATION
Generated relation code constant for relationBundleTemplateStatusRelation
defining source attributestatus
in extensionconfigurablebundleservices
.- See Also:
- Constant Field Values
-
ID
public static final java.lang.String ID
Generated constant - Attribute key ofBundleTemplate.id
attribute defined at extensionconfigurablebundleservices
.- See Also:
- Constant Field Values
-
VERSION
public static final java.lang.String VERSION
Generated constant - Attribute key ofBundleTemplate.version
attribute defined at extensionconfigurablebundleservices
.- See Also:
- Constant Field Values
-
CATALOGVERSION
public static final java.lang.String CATALOGVERSION
Generated constant - Attribute key ofBundleTemplate.catalogVersion
attribute defined at extensionconfigurablebundleservices
.- See Also:
- Constant Field Values
-
NAME
public static final java.lang.String NAME
Generated constant - Attribute key ofBundleTemplate.name
attribute defined at extensionconfigurablebundleservices
.- See Also:
- Constant Field Values
-
DESCRIPTION
public static final java.lang.String DESCRIPTION
Generated constant - Attribute key ofBundleTemplate.description
attribute defined at extensionconfigurablebundleservices
.- See Also:
- Constant Field Values
-
BUNDLESELECTIONCRITERIA
public static final java.lang.String BUNDLESELECTIONCRITERIA
Generated constant - Attribute key ofBundleTemplate.bundleSelectionCriteria
attribute defined at extensionconfigurablebundleservices
.- See Also:
- Constant Field Values
-
PARENTTEMPLATEPOS
public static final java.lang.String PARENTTEMPLATEPOS
Generated constant - Attribute key ofBundleTemplate.parentTemplatePOS
attribute defined at extensionconfigurablebundleservices
.- See Also:
- Constant Field Values
-
PARENTTEMPLATE
public static final java.lang.String PARENTTEMPLATE
Generated constant - Attribute key ofBundleTemplate.parentTemplate
attribute defined at extensionconfigurablebundleservices
.- See Also:
- Constant Field Values
-
CHILDTEMPLATES
public static final java.lang.String CHILDTEMPLATES
Generated constant - Attribute key ofBundleTemplate.childTemplates
attribute defined at extensionconfigurablebundleservices
.- See Also:
- Constant Field Values
-
PRODUCTS
public static final java.lang.String PRODUCTS
Generated constant - Attribute key ofBundleTemplate.products
attribute defined at extensionconfigurablebundleservices
.- See Also:
- Constant Field Values
-
CHANGEPRODUCTPRICEBUNDLERULES
public static final java.lang.String CHANGEPRODUCTPRICEBUNDLERULES
Generated constant - Attribute key ofBundleTemplate.changeProductPriceBundleRules
attribute defined at extensionconfigurablebundleservices
.- See Also:
- Constant Field Values
-
DISABLEPRODUCTBUNDLERULES
public static final java.lang.String DISABLEPRODUCTBUNDLERULES
Generated constant - Attribute key ofBundleTemplate.disableProductBundleRules
attribute defined at extensionconfigurablebundleservices
.- See Also:
- Constant Field Values
-
REQUIREDBUNDLETEMPLATES
public static final java.lang.String REQUIREDBUNDLETEMPLATES
Generated constant - Attribute key ofBundleTemplate.requiredBundleTemplates
attribute defined at extensionconfigurablebundleservices
.- See Also:
- Constant Field Values
-
DEPENDENTBUNDLETEMPLATES
public static final java.lang.String DEPENDENTBUNDLETEMPLATES
Generated constant - Attribute key ofBundleTemplate.dependentBundleTemplates
attribute defined at extensionconfigurablebundleservices
.- See Also:
- Constant Field Values
-
STATUS
public static final java.lang.String STATUS
Generated constant - Attribute key ofBundleTemplate.status
attribute defined at extensionconfigurablebundleservices
.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
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, java.lang.String _id, java.lang.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 parametersGenerated constructor - Constructor with all mandatory attributes.- Parameters:
_catalogVersion
- initial attribute declared by typeBundleTemplate
at extensionconfigurablebundleservices
_id
- initial attribute declared by typeBundleTemplate
at extensionconfigurablebundleservices
_version
- initial attribute declared by typeBundleTemplate
at extensionconfigurablebundleservices
-
BundleTemplateModel
@Deprecated(since="4.1.1", forRemoval=true) public BundleTemplateModel(CatalogVersionModel _catalogVersion, java.lang.String _id, ItemModel _owner, BundleTemplateModel _parentTemplate, java.lang.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 parametersGenerated constructor - for all mandatory and initial attributes.- Parameters:
_catalogVersion
- initial attribute declared by typeBundleTemplate
at extensionconfigurablebundleservices
_id
- initial attribute declared by typeBundleTemplate
at extensionconfigurablebundleservices
_owner
- initial attribute declared by typeItem
at extensioncore
_parentTemplate
- initial attribute declared by typeBundleTemplate
at extensionconfigurablebundleservices
_version
- initial attribute declared by typeBundleTemplate
at extensionconfigurablebundleservices
-
-
Method Detail
-
getBundleSelectionCriteria
@Accessor(qualifier="bundleSelectionCriteria", type=GETTER) public BundleSelectionCriteriaModel getBundleSelectionCriteria()
Generated method - Getter of theBundleTemplate.bundleSelectionCriteria
attribute defined at extensionconfigurablebundleservices
.- 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 theBundleTemplate.catalogVersion
attribute defined at extensionconfigurablebundleservices
.- Returns:
- the catalogVersion - Catalog Version
-
getChangeProductPriceBundleRules
@Accessor(qualifier="changeProductPriceBundleRules", type=GETTER) public java.util.Collection<ChangeProductPriceBundleRuleModel> getChangeProductPriceBundleRules()
Generated method - Getter of theBundleTemplate.changeProductPriceBundleRules
attribute defined at extensionconfigurablebundleservices
. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the changeProductPriceBundleRules
-
getChildTemplates
@Accessor(qualifier="childTemplates", type=GETTER) public java.util.List<BundleTemplateModel> getChildTemplates()
Generated method - Getter of theBundleTemplate.childTemplates
attribute defined at extensionconfigurablebundleservices
. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the childTemplates
-
getDependentBundleTemplates
@Accessor(qualifier="dependentBundleTemplates", type=GETTER) public java.util.Collection<BundleTemplateModel> getDependentBundleTemplates()
Generated method - Getter of theBundleTemplate.dependentBundleTemplates
attribute defined at extensionconfigurablebundleservices
. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the dependentBundleTemplates
-
getDescription
@Accessor(qualifier="description", type=GETTER) public java.lang.String getDescription()
Generated method - Getter of theBundleTemplate.description
attribute defined at extensionconfigurablebundleservices
.- Returns:
- the description - Description of the bundle template
-
getDescription
@Accessor(qualifier="description", type=GETTER) public java.lang.String getDescription(java.util.Locale loc)
Generated method - Getter of theBundleTemplate.description
attribute defined at extensionconfigurablebundleservices
.- Parameters:
loc
- the value localization key- Returns:
- the description - Description of the bundle template
- Throws:
java.lang.IllegalArgumentException
- if localization key cannot be mapped to data language
-
getDisableProductBundleRules
@Accessor(qualifier="disableProductBundleRules", type=GETTER) public java.util.Collection<DisableProductBundleRuleModel> getDisableProductBundleRules()
Generated method - Getter of theBundleTemplate.disableProductBundleRules
attribute defined at extensionconfigurablebundleservices
. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the disableProductBundleRules
-
getId
@Accessor(qualifier="id", type=GETTER) public java.lang.String getId()
Generated method - Getter of theBundleTemplate.id
attribute defined at extensionconfigurablebundleservices
.- Returns:
- the id - Identifier
-
getName
@Accessor(qualifier="name", type=GETTER) public java.lang.String getName()
Generated method - Getter of theBundleTemplate.name
attribute defined at extensionconfigurablebundleservices
.- Returns:
- the name - Name of the bundle template
-
getName
@Accessor(qualifier="name", type=GETTER) public java.lang.String getName(java.util.Locale loc)
Generated method - Getter of theBundleTemplate.name
attribute defined at extensionconfigurablebundleservices
.- Parameters:
loc
- the value localization key- Returns:
- the name - Name of the bundle template
- Throws:
java.lang.IllegalArgumentException
- if localization key cannot be mapped to data language
-
getParentTemplate
@Accessor(qualifier="parentTemplate", type=GETTER) public BundleTemplateModel getParentTemplate()
Generated method - Getter of theBundleTemplate.parentTemplate
attribute defined at extensionconfigurablebundleservices
.- Returns:
- the parentTemplate
-
getProducts
@Accessor(qualifier="products", type=GETTER) public java.util.List<ProductModel> getProducts()
Generated method - Getter of theBundleTemplate.products
attribute defined at extensionconfigurablebundleservices
. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the products
-
getRequiredBundleTemplates
@Accessor(qualifier="requiredBundleTemplates", type=GETTER) public java.util.Collection<BundleTemplateModel> getRequiredBundleTemplates()
Generated method - Getter of theBundleTemplate.requiredBundleTemplates
attribute defined at extensionconfigurablebundleservices
. 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 theBundleTemplate.status
attribute defined at extensionconfigurablebundleservices
.- Returns:
- the status
-
getVersion
@Accessor(qualifier="version", type=GETTER) public java.lang.String getVersion()
Generated method - Getter of theBundleTemplate.version
attribute defined at extensionconfigurablebundleservices
.- 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 ofBundleTemplate.bundleSelectionCriteria
attribute defined at extensionconfigurablebundleservices
.- 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 ofBundleTemplate.catalogVersion
attribute defined at extensionconfigurablebundleservices
.- Parameters:
value
- the catalogVersion - Catalog Version
-
setChangeProductPriceBundleRules
@Accessor(qualifier="changeProductPriceBundleRules", type=SETTER) public void setChangeProductPriceBundleRules(java.util.Collection<ChangeProductPriceBundleRuleModel> value)
Generated method - Setter ofBundleTemplate.changeProductPriceBundleRules
attribute defined at extensionconfigurablebundleservices
.- Parameters:
value
- the changeProductPriceBundleRules
-
setChildTemplates
@Accessor(qualifier="childTemplates", type=SETTER) public void setChildTemplates(java.util.List<BundleTemplateModel> value)
Generated method - Setter ofBundleTemplate.childTemplates
attribute defined at extensionconfigurablebundleservices
.- Parameters:
value
- the childTemplates
-
setDependentBundleTemplates
@Accessor(qualifier="dependentBundleTemplates", type=SETTER) public void setDependentBundleTemplates(java.util.Collection<BundleTemplateModel> value)
Generated method - Setter ofBundleTemplate.dependentBundleTemplates
attribute defined at extensionconfigurablebundleservices
.- Parameters:
value
- the dependentBundleTemplates
-
setDescription
@Accessor(qualifier="description", type=SETTER) public void setDescription(java.lang.String value)
Generated method - Setter ofBundleTemplate.description
attribute defined at extensionconfigurablebundleservices
.- Parameters:
value
- the description - Description of the bundle template
-
setDescription
@Accessor(qualifier="description", type=SETTER) public void setDescription(java.lang.String value, java.util.Locale loc)
Generated method - Setter ofBundleTemplate.description
attribute defined at extensionconfigurablebundleservices
.- Parameters:
value
- the description - Description of the bundle templateloc
- the value localization key- Throws:
java.lang.IllegalArgumentException
- if localization key cannot be mapped to data language
-
setDisableProductBundleRules
@Accessor(qualifier="disableProductBundleRules", type=SETTER) public void setDisableProductBundleRules(java.util.Collection<DisableProductBundleRuleModel> value)
Generated method - Setter ofBundleTemplate.disableProductBundleRules
attribute defined at extensionconfigurablebundleservices
.- Parameters:
value
- the disableProductBundleRules
-
setId
@Accessor(qualifier="id", type=SETTER) public void setId(java.lang.String value)
Generated method - Initial setter ofBundleTemplate.id
attribute defined at extensionconfigurablebundleservices
. 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(java.lang.String value)
Generated method - Setter ofBundleTemplate.name
attribute defined at extensionconfigurablebundleservices
.- Parameters:
value
- the name - Name of the bundle template
-
setName
@Accessor(qualifier="name", type=SETTER) public void setName(java.lang.String value, java.util.Locale loc)
Generated method - Setter ofBundleTemplate.name
attribute defined at extensionconfigurablebundleservices
.- Parameters:
value
- the name - Name of the bundle templateloc
- the value localization key- Throws:
java.lang.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 ofBundleTemplate.parentTemplate
attribute defined at extensionconfigurablebundleservices
. Can only be used at creation of model - before first save.- Parameters:
value
- the parentTemplate
-
setProducts
@Accessor(qualifier="products", type=SETTER) public void setProducts(java.util.List<ProductModel> value)
Generated method - Setter ofBundleTemplate.products
attribute defined at extensionconfigurablebundleservices
.- Parameters:
value
- the products
-
setRequiredBundleTemplates
@Accessor(qualifier="requiredBundleTemplates", type=SETTER) public void setRequiredBundleTemplates(java.util.Collection<BundleTemplateModel> value)
Generated method - Setter ofBundleTemplate.requiredBundleTemplates
attribute defined at extensionconfigurablebundleservices
.- Parameters:
value
- the requiredBundleTemplates
-
setStatus
@Accessor(qualifier="status", type=SETTER) public void setStatus(BundleTemplateStatusModel value)
Generated method - Setter ofBundleTemplate.status
attribute defined at extensionconfigurablebundleservices
.- Parameters:
value
- the status
-
setVersion
@Accessor(qualifier="version", type=SETTER) public void setVersion(java.lang.String value)
Generated method - Setter ofBundleTemplate.version
attribute defined at extensionconfigurablebundleservices
.- Parameters:
value
- the version - The version of the bundle template. Each clone of a BundleTemplate needs to have a different version.
-
-