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_BUNDLETEMPLATERELATIONGenerated relation code constant for relationBundleTemplateRelationdefining source attributeparentTemplatein extensionconfigurablebundleservices.static java.lang.String_BUNDLETEMPLATESTATUSRELATIONGenerated relation code constant for relationBundleTemplateStatusRelationdefining source attributestatusin extensionconfigurablebundleservices.static java.lang.String_PRODUCTSBUNDLETEMPLATESRELATIONGenerated relation code constant for relationProductsBundleTemplatesRelationdefining source attributeproductsin extensionconfigurablebundleservices.static java.lang.String_REQUIREDBUNDLETEMPLATESDEPENDENTBUNDLETEMPLATESRELATIONGenerated relation code constant for relationRequiredBundleTemplatesDependentBundleTemplatesRelationdefining source attributerequiredBundleTemplatesin extensionconfigurablebundleservices.static java.lang.String_TYPECODEGenerated model type code constant.static java.lang.StringBUNDLESELECTIONCRITERIAGenerated constant - Attribute key ofBundleTemplate.bundleSelectionCriteriaattribute defined at extensionconfigurablebundleservices.static java.lang.StringCATALOGVERSIONGenerated constant - Attribute key ofBundleTemplate.catalogVersionattribute defined at extensionconfigurablebundleservices.static java.lang.StringCHANGEPRODUCTPRICEBUNDLERULESGenerated constant - Attribute key ofBundleTemplate.changeProductPriceBundleRulesattribute defined at extensionconfigurablebundleservices.static java.lang.StringCHILDTEMPLATESGenerated constant - Attribute key ofBundleTemplate.childTemplatesattribute defined at extensionconfigurablebundleservices.static java.lang.StringDEPENDENTBUNDLETEMPLATESGenerated constant - Attribute key ofBundleTemplate.dependentBundleTemplatesattribute defined at extensionconfigurablebundleservices.static java.lang.StringDESCRIPTIONGenerated constant - Attribute key ofBundleTemplate.descriptionattribute defined at extensionconfigurablebundleservices.static java.lang.StringDISABLEPRODUCTBUNDLERULESGenerated constant - Attribute key ofBundleTemplate.disableProductBundleRulesattribute defined at extensionconfigurablebundleservices.static java.lang.StringIDGenerated constant - Attribute key ofBundleTemplate.idattribute defined at extensionconfigurablebundleservices.static java.lang.StringNAMEGenerated constant - Attribute key ofBundleTemplate.nameattribute defined at extensionconfigurablebundleservices.static java.lang.StringPARENTTEMPLATEGenerated constant - Attribute key ofBundleTemplate.parentTemplateattribute defined at extensionconfigurablebundleservices.static java.lang.StringPARENTTEMPLATEPOSGenerated constant - Attribute key ofBundleTemplate.parentTemplatePOSattribute defined at extensionconfigurablebundleservices.static java.lang.StringPRODUCTSGenerated constant - Attribute key ofBundleTemplate.productsattribute defined at extensionconfigurablebundleservices.static java.lang.StringREQUIREDBUNDLETEMPLATESGenerated constant - Attribute key ofBundleTemplate.requiredBundleTemplatesattribute defined at extensionconfigurablebundleservices.static java.lang.StringSTATUSGenerated constant - Attribute key ofBundleTemplate.statusattribute defined at extensionconfigurablebundleservices.static java.lang.StringVERSIONGenerated constant - Attribute key ofBundleTemplate.versionattribute 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 BundleSelectionCriteriaModelgetBundleSelectionCriteria()Generated method - Getter of theBundleTemplate.bundleSelectionCriteriaattribute defined at extensionconfigurablebundleservices.CatalogVersionModelgetCatalogVersion()Generated method - Getter of theBundleTemplate.catalogVersionattribute defined at extensionconfigurablebundleservices.java.util.Collection<ChangeProductPriceBundleRuleModel>getChangeProductPriceBundleRules()Generated method - Getter of theBundleTemplate.changeProductPriceBundleRulesattribute defined at extensionconfigurablebundleservices.java.util.List<BundleTemplateModel>getChildTemplates()Generated method - Getter of theBundleTemplate.childTemplatesattribute defined at extensionconfigurablebundleservices.java.util.Collection<BundleTemplateModel>getDependentBundleTemplates()Generated method - Getter of theBundleTemplate.dependentBundleTemplatesattribute defined at extensionconfigurablebundleservices.java.lang.StringgetDescription()Generated method - Getter of theBundleTemplate.descriptionattribute defined at extensionconfigurablebundleservices.java.lang.StringgetDescription(java.util.Locale loc)Generated method - Getter of theBundleTemplate.descriptionattribute defined at extensionconfigurablebundleservices.java.util.Collection<DisableProductBundleRuleModel>getDisableProductBundleRules()Generated method - Getter of theBundleTemplate.disableProductBundleRulesattribute defined at extensionconfigurablebundleservices.java.lang.StringgetId()Generated method - Getter of theBundleTemplate.idattribute defined at extensionconfigurablebundleservices.java.lang.StringgetName()Generated method - Getter of theBundleTemplate.nameattribute defined at extensionconfigurablebundleservices.java.lang.StringgetName(java.util.Locale loc)Generated method - Getter of theBundleTemplate.nameattribute defined at extensionconfigurablebundleservices.BundleTemplateModelgetParentTemplate()Generated method - Getter of theBundleTemplate.parentTemplateattribute defined at extensionconfigurablebundleservices.java.util.List<ProductModel>getProducts()Generated method - Getter of theBundleTemplate.productsattribute defined at extensionconfigurablebundleservices.java.util.Collection<BundleTemplateModel>getRequiredBundleTemplates()Generated method - Getter of theBundleTemplate.requiredBundleTemplatesattribute defined at extensionconfigurablebundleservices.BundleTemplateStatusModelgetStatus()Generated method - Getter of theBundleTemplate.statusattribute defined at extensionconfigurablebundleservices.java.lang.StringgetVersion()Generated method - Getter of theBundleTemplate.versionattribute defined at extensionconfigurablebundleservices.voidsetBundleSelectionCriteria(BundleSelectionCriteriaModel value)Generated method - Setter ofBundleTemplate.bundleSelectionCriteriaattribute defined at extensionconfigurablebundleservices.voidsetCatalogVersion(CatalogVersionModel value)Generated method - Setter ofBundleTemplate.catalogVersionattribute defined at extensionconfigurablebundleservices.voidsetChangeProductPriceBundleRules(java.util.Collection<ChangeProductPriceBundleRuleModel> value)Generated method - Setter ofBundleTemplate.changeProductPriceBundleRulesattribute defined at extensionconfigurablebundleservices.voidsetChildTemplates(java.util.List<BundleTemplateModel> value)Generated method - Setter ofBundleTemplate.childTemplatesattribute defined at extensionconfigurablebundleservices.voidsetDependentBundleTemplates(java.util.Collection<BundleTemplateModel> value)Generated method - Setter ofBundleTemplate.dependentBundleTemplatesattribute defined at extensionconfigurablebundleservices.voidsetDescription(java.lang.String value)Generated method - Setter ofBundleTemplate.descriptionattribute defined at extensionconfigurablebundleservices.voidsetDescription(java.lang.String value, java.util.Locale loc)Generated method - Setter ofBundleTemplate.descriptionattribute defined at extensionconfigurablebundleservices.voidsetDisableProductBundleRules(java.util.Collection<DisableProductBundleRuleModel> value)Generated method - Setter ofBundleTemplate.disableProductBundleRulesattribute defined at extensionconfigurablebundleservices.voidsetId(java.lang.String value)Generated method - Initial setter ofBundleTemplate.idattribute defined at extensionconfigurablebundleservices.voidsetName(java.lang.String value)Generated method - Setter ofBundleTemplate.nameattribute defined at extensionconfigurablebundleservices.voidsetName(java.lang.String value, java.util.Locale loc)Generated method - Setter ofBundleTemplate.nameattribute defined at extensionconfigurablebundleservices.voidsetParentTemplate(BundleTemplateModel value)Generated method - Initial setter ofBundleTemplate.parentTemplateattribute defined at extensionconfigurablebundleservices.voidsetProducts(java.util.List<ProductModel> value)Generated method - Setter ofBundleTemplate.productsattribute defined at extensionconfigurablebundleservices.voidsetRequiredBundleTemplates(java.util.Collection<BundleTemplateModel> value)Generated method - Setter ofBundleTemplate.requiredBundleTemplatesattribute defined at extensionconfigurablebundleservices.voidsetStatus(BundleTemplateStatusModel value)Generated method - Setter ofBundleTemplate.statusattribute defined at extensionconfigurablebundleservices.voidsetVersion(java.lang.String value)Generated method - Setter ofBundleTemplate.versionattribute 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 relationBundleTemplateRelationdefining source attributeparentTemplatein extensionconfigurablebundleservices.- See Also:
- Constant Field Values
-
_PRODUCTSBUNDLETEMPLATESRELATION
public static final java.lang.String _PRODUCTSBUNDLETEMPLATESRELATION
Generated relation code constant for relationProductsBundleTemplatesRelationdefining source attributeproductsin extensionconfigurablebundleservices.- See Also:
- Constant Field Values
-
_REQUIREDBUNDLETEMPLATESDEPENDENTBUNDLETEMPLATESRELATION
public static final java.lang.String _REQUIREDBUNDLETEMPLATESDEPENDENTBUNDLETEMPLATESRELATION
Generated relation code constant for relationRequiredBundleTemplatesDependentBundleTemplatesRelationdefining source attributerequiredBundleTemplatesin extensionconfigurablebundleservices.- See Also:
- Constant Field Values
-
_BUNDLETEMPLATESTATUSRELATION
public static final java.lang.String _BUNDLETEMPLATESTATUSRELATION
Generated relation code constant for relationBundleTemplateStatusRelationdefining source attributestatusin extensionconfigurablebundleservices.- See Also:
- Constant Field Values
-
ID
public static final java.lang.String ID
Generated constant - Attribute key ofBundleTemplate.idattribute defined at extensionconfigurablebundleservices.- See Also:
- Constant Field Values
-
VERSION
public static final java.lang.String VERSION
Generated constant - Attribute key ofBundleTemplate.versionattribute defined at extensionconfigurablebundleservices.- See Also:
- Constant Field Values
-
CATALOGVERSION
public static final java.lang.String CATALOGVERSION
Generated constant - Attribute key ofBundleTemplate.catalogVersionattribute defined at extensionconfigurablebundleservices.- See Also:
- Constant Field Values
-
NAME
public static final java.lang.String NAME
Generated constant - Attribute key ofBundleTemplate.nameattribute defined at extensionconfigurablebundleservices.- See Also:
- Constant Field Values
-
DESCRIPTION
public static final java.lang.String DESCRIPTION
Generated constant - Attribute key ofBundleTemplate.descriptionattribute defined at extensionconfigurablebundleservices.- See Also:
- Constant Field Values
-
BUNDLESELECTIONCRITERIA
public static final java.lang.String BUNDLESELECTIONCRITERIA
Generated constant - Attribute key ofBundleTemplate.bundleSelectionCriteriaattribute defined at extensionconfigurablebundleservices.- See Also:
- Constant Field Values
-
PARENTTEMPLATEPOS
public static final java.lang.String PARENTTEMPLATEPOS
Generated constant - Attribute key ofBundleTemplate.parentTemplatePOSattribute defined at extensionconfigurablebundleservices.- See Also:
- Constant Field Values
-
PARENTTEMPLATE
public static final java.lang.String PARENTTEMPLATE
Generated constant - Attribute key ofBundleTemplate.parentTemplateattribute defined at extensionconfigurablebundleservices.- See Also:
- Constant Field Values
-
CHILDTEMPLATES
public static final java.lang.String CHILDTEMPLATES
Generated constant - Attribute key ofBundleTemplate.childTemplatesattribute defined at extensionconfigurablebundleservices.- See Also:
- Constant Field Values
-
PRODUCTS
public static final java.lang.String PRODUCTS
Generated constant - Attribute key ofBundleTemplate.productsattribute defined at extensionconfigurablebundleservices.- See Also:
- Constant Field Values
-
CHANGEPRODUCTPRICEBUNDLERULES
public static final java.lang.String CHANGEPRODUCTPRICEBUNDLERULES
Generated constant - Attribute key ofBundleTemplate.changeProductPriceBundleRulesattribute defined at extensionconfigurablebundleservices.- See Also:
- Constant Field Values
-
DISABLEPRODUCTBUNDLERULES
public static final java.lang.String DISABLEPRODUCTBUNDLERULES
Generated constant - Attribute key ofBundleTemplate.disableProductBundleRulesattribute defined at extensionconfigurablebundleservices.- See Also:
- Constant Field Values
-
REQUIREDBUNDLETEMPLATES
public static final java.lang.String REQUIREDBUNDLETEMPLATES
Generated constant - Attribute key ofBundleTemplate.requiredBundleTemplatesattribute defined at extensionconfigurablebundleservices.- See Also:
- Constant Field Values
-
DEPENDENTBUNDLETEMPLATES
public static final java.lang.String DEPENDENTBUNDLETEMPLATES
Generated constant - Attribute key ofBundleTemplate.dependentBundleTemplatesattribute defined at extensionconfigurablebundleservices.- See Also:
- Constant Field Values
-
STATUS
public static final java.lang.String STATUS
Generated constant - Attribute key ofBundleTemplate.statusattribute 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 typeBundleTemplateat extensionconfigurablebundleservices_id- initial attribute declared by typeBundleTemplateat extensionconfigurablebundleservices_version- initial attribute declared by typeBundleTemplateat 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 typeBundleTemplateat extensionconfigurablebundleservices_id- initial attribute declared by typeBundleTemplateat extensionconfigurablebundleservices_owner- initial attribute declared by typeItemat extensioncore_parentTemplate- initial attribute declared by typeBundleTemplateat extensionconfigurablebundleservices_version- initial attribute declared by typeBundleTemplateat extensionconfigurablebundleservices
-
-
Method Detail
-
getBundleSelectionCriteria
@Accessor(qualifier="bundleSelectionCriteria", type=GETTER) public BundleSelectionCriteriaModel getBundleSelectionCriteria()
Generated method - Getter of theBundleTemplate.bundleSelectionCriteriaattribute 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.catalogVersionattribute 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.changeProductPriceBundleRulesattribute 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.childTemplatesattribute 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.dependentBundleTemplatesattribute 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.descriptionattribute 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.descriptionattribute 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.disableProductBundleRulesattribute 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.idattribute defined at extensionconfigurablebundleservices.- Returns:
- the id - Identifier
-
getName
@Accessor(qualifier="name", type=GETTER) public java.lang.String getName()
Generated method - Getter of theBundleTemplate.nameattribute 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.nameattribute 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.parentTemplateattribute defined at extensionconfigurablebundleservices.- Returns:
- the parentTemplate
-
getProducts
@Accessor(qualifier="products", type=GETTER) public java.util.List<ProductModel> getProducts()
Generated method - Getter of theBundleTemplate.productsattribute 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.requiredBundleTemplatesattribute 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.statusattribute defined at extensionconfigurablebundleservices.- Returns:
- the status
-
getVersion
@Accessor(qualifier="version", type=GETTER) public java.lang.String getVersion()
Generated method - Getter of theBundleTemplate.versionattribute 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.bundleSelectionCriteriaattribute 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.catalogVersionattribute 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.changeProductPriceBundleRulesattribute 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.childTemplatesattribute 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.dependentBundleTemplatesattribute defined at extensionconfigurablebundleservices.- Parameters:
value- the dependentBundleTemplates
-
setDescription
@Accessor(qualifier="description", type=SETTER) public void setDescription(java.lang.String value)
Generated method - Setter ofBundleTemplate.descriptionattribute 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.descriptionattribute 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.disableProductBundleRulesattribute 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.idattribute 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.nameattribute 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.nameattribute 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.parentTemplateattribute 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.productsattribute 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.requiredBundleTemplatesattribute defined at extensionconfigurablebundleservices.- Parameters:
value- the requiredBundleTemplates
-
setStatus
@Accessor(qualifier="status", type=SETTER) public void setStatus(BundleTemplateStatusModel value)
Generated method - Setter ofBundleTemplate.statusattribute defined at extensionconfigurablebundleservices.- Parameters:
value- the status
-
setVersion
@Accessor(qualifier="version", type=SETTER) public void setVersion(java.lang.String value)
Generated method - Setter ofBundleTemplate.versionattribute defined at extensionconfigurablebundleservices.- Parameters:
value- the version - The version of the bundle template. Each clone of a BundleTemplate needs to have a different version.
-
-