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
Generated model class for type BundleTemplate first defined at extension configurablebundleservices.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
AbstractItemModel.NewModelContextFactory -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringGenerated relation code constant for relationBundleTemplateRelationdefining source attributeparentTemplatein extensionconfigurablebundleservices.static final StringGenerated relation code constant for relationBundleTemplateStatusRelationdefining source attributestatusin extensionconfigurablebundleservices.static final StringGenerated relation code constant for relationProductsBundleTemplatesRelationdefining source attributeproductsin extensionconfigurablebundleservices.static final StringGenerated relation code constant for relationRequiredBundleTemplatesDependentBundleTemplatesRelationdefining source attributerequiredBundleTemplatesin extensionconfigurablebundleservices.static final StringGenerated model type code constant.static final StringGenerated constant - Attribute key ofBundleTemplate.bundleSelectionCriteriaattribute defined at extensionconfigurablebundleservices.static final StringGenerated constant - Attribute key ofBundleTemplate.catalogVersionattribute defined at extensionconfigurablebundleservices.static final StringGenerated constant - Attribute key ofBundleTemplate.changeProductPriceBundleRulesattribute defined at extensionconfigurablebundleservices.static final StringGenerated constant - Attribute key ofBundleTemplate.childTemplatesattribute defined at extensionconfigurablebundleservices.static final StringGenerated constant - Attribute key ofBundleTemplate.dependentBundleTemplatesattribute defined at extensionconfigurablebundleservices.static final StringGenerated constant - Attribute key ofBundleTemplate.descriptionattribute defined at extensionconfigurablebundleservices.static final StringGenerated constant - Attribute key ofBundleTemplate.disableProductBundleRulesattribute defined at extensionconfigurablebundleservices.static final StringGenerated constant - Attribute key ofBundleTemplate.idattribute defined at extensionconfigurablebundleservices.static final StringGenerated constant - Attribute key ofBundleTemplate.nameattribute defined at extensionconfigurablebundleservices.static final StringGenerated constant - Attribute key ofBundleTemplate.parentTemplateattribute defined at extensionconfigurablebundleservices.static final StringGenerated constant - Attribute key ofBundleTemplate.parentTemplatePOSattribute defined at extensionconfigurablebundleservices.static final StringGenerated constant - Attribute key ofBundleTemplate.productsattribute defined at extensionconfigurablebundleservices.static final StringGenerated constant - Attribute key ofBundleTemplate.requiredBundleTemplatesattribute defined at extensionconfigurablebundleservices.static final StringGenerated constant - Attribute key ofBundleTemplate.statusattribute defined at extensionconfigurablebundleservices.static final StringGenerated 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, SEALEDFields inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
LANGUAGE_FALLBACK_ENABLED_SERVICE_LAYER, MODEL_CONTEXT_FACTORY -
Constructor Summary
ConstructorsConstructorDescriptionGenerated constructor - Default constructor for generic creation.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 parametersBundleTemplateModel(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 parametersGenerated constructor - Default constructor for creation with existing context -
Method Summary
Modifier and TypeMethodDescriptionGenerated method - Getter of theBundleTemplate.bundleSelectionCriteriaattribute defined at extensionconfigurablebundleservices.Generated method - Getter of theBundleTemplate.catalogVersionattribute defined at extensionconfigurablebundleservices.Generated method - Getter of theBundleTemplate.changeProductPriceBundleRulesattribute defined at extensionconfigurablebundleservices.Generated method - Getter of theBundleTemplate.childTemplatesattribute defined at extensionconfigurablebundleservices.Generated method - Getter of theBundleTemplate.dependentBundleTemplatesattribute defined at extensionconfigurablebundleservices.Generated method - Getter of theBundleTemplate.descriptionattribute defined at extensionconfigurablebundleservices.getDescription(Locale loc) Generated method - Getter of theBundleTemplate.descriptionattribute defined at extensionconfigurablebundleservices.Generated method - Getter of theBundleTemplate.disableProductBundleRulesattribute defined at extensionconfigurablebundleservices.getId()Generated method - Getter of theBundleTemplate.idattribute defined at extensionconfigurablebundleservices.getName()Generated method - Getter of theBundleTemplate.nameattribute defined at extensionconfigurablebundleservices.Generated method - Getter of theBundleTemplate.nameattribute defined at extensionconfigurablebundleservices.Generated method - Getter of theBundleTemplate.parentTemplateattribute defined at extensionconfigurablebundleservices.Generated method - Getter of theBundleTemplate.productsattribute defined at extensionconfigurablebundleservices.Generated method - Getter of theBundleTemplate.requiredBundleTemplatesattribute defined at extensionconfigurablebundleservices.Generated method - Getter of theBundleTemplate.statusattribute defined at extensionconfigurablebundleservices.Generated method - Getter of theBundleTemplate.versionattribute defined at extensionconfigurablebundleservices.voidGenerated method - Setter ofBundleTemplate.bundleSelectionCriteriaattribute defined at extensionconfigurablebundleservices.voidGenerated method - Setter ofBundleTemplate.catalogVersionattribute defined at extensionconfigurablebundleservices.voidGenerated method - Setter ofBundleTemplate.changeProductPriceBundleRulesattribute defined at extensionconfigurablebundleservices.voidsetChildTemplates(List<BundleTemplateModel> value) Generated method - Setter ofBundleTemplate.childTemplatesattribute defined at extensionconfigurablebundleservices.voidGenerated method - Setter ofBundleTemplate.dependentBundleTemplatesattribute defined at extensionconfigurablebundleservices.voidsetDescription(String value) Generated method - Setter ofBundleTemplate.descriptionattribute defined at extensionconfigurablebundleservices.voidsetDescription(String value, Locale loc) Generated method - Setter ofBundleTemplate.descriptionattribute defined at extensionconfigurablebundleservices.voidGenerated method - Setter ofBundleTemplate.disableProductBundleRulesattribute defined at extensionconfigurablebundleservices.voidGenerated method - Initial setter ofBundleTemplate.idattribute defined at extensionconfigurablebundleservices.voidGenerated method - Setter ofBundleTemplate.nameattribute defined at extensionconfigurablebundleservices.voidGenerated method - Setter ofBundleTemplate.nameattribute defined at extensionconfigurablebundleservices.voidGenerated method - Initial setter ofBundleTemplate.parentTemplateattribute defined at extensionconfigurablebundleservices.voidsetProducts(List<ProductModel> value) Generated method - Setter ofBundleTemplate.productsattribute defined at extensionconfigurablebundleservices.voidGenerated method - Setter ofBundleTemplate.requiredBundleTemplatesattribute defined at extensionconfigurablebundleservices.voidGenerated method - Setter ofBundleTemplate.statusattribute defined at extensionconfigurablebundleservices.voidsetVersion(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, setOwnerMethods 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 Details
-
_TYPECODE
Generated model type code constant.- See Also:
-
_BUNDLETEMPLATERELATION
Generated relation code constant for relationBundleTemplateRelationdefining source attributeparentTemplatein extensionconfigurablebundleservices.- See Also:
-
_PRODUCTSBUNDLETEMPLATESRELATION
Generated relation code constant for relationProductsBundleTemplatesRelationdefining source attributeproductsin extensionconfigurablebundleservices.- See Also:
-
_REQUIREDBUNDLETEMPLATESDEPENDENTBUNDLETEMPLATESRELATION
Generated relation code constant for relationRequiredBundleTemplatesDependentBundleTemplatesRelationdefining source attributerequiredBundleTemplatesin extensionconfigurablebundleservices.- See Also:
-
_BUNDLETEMPLATESTATUSRELATION
Generated relation code constant for relationBundleTemplateStatusRelationdefining source attributestatusin extensionconfigurablebundleservices.- See Also:
-
ID
Generated constant - Attribute key ofBundleTemplate.idattribute defined at extensionconfigurablebundleservices.- See Also:
-
VERSION
Generated constant - Attribute key ofBundleTemplate.versionattribute defined at extensionconfigurablebundleservices.- See Also:
-
CATALOGVERSION
Generated constant - Attribute key ofBundleTemplate.catalogVersionattribute defined at extensionconfigurablebundleservices.- See Also:
-
NAME
Generated constant - Attribute key ofBundleTemplate.nameattribute defined at extensionconfigurablebundleservices.- See Also:
-
DESCRIPTION
Generated constant - Attribute key ofBundleTemplate.descriptionattribute defined at extensionconfigurablebundleservices.- See Also:
-
BUNDLESELECTIONCRITERIA
Generated constant - Attribute key ofBundleTemplate.bundleSelectionCriteriaattribute defined at extensionconfigurablebundleservices.- See Also:
-
PARENTTEMPLATEPOS
Generated constant - Attribute key ofBundleTemplate.parentTemplatePOSattribute defined at extensionconfigurablebundleservices.- See Also:
-
PARENTTEMPLATE
Generated constant - Attribute key ofBundleTemplate.parentTemplateattribute defined at extensionconfigurablebundleservices.- See Also:
-
CHILDTEMPLATES
Generated constant - Attribute key ofBundleTemplate.childTemplatesattribute defined at extensionconfigurablebundleservices.- See Also:
-
PRODUCTS
Generated constant - Attribute key ofBundleTemplate.productsattribute defined at extensionconfigurablebundleservices.- See Also:
-
CHANGEPRODUCTPRICEBUNDLERULES
Generated constant - Attribute key ofBundleTemplate.changeProductPriceBundleRulesattribute defined at extensionconfigurablebundleservices.- See Also:
-
DISABLEPRODUCTBUNDLERULES
Generated constant - Attribute key ofBundleTemplate.disableProductBundleRulesattribute defined at extensionconfigurablebundleservices.- See Also:
-
REQUIREDBUNDLETEMPLATES
Generated constant - Attribute key ofBundleTemplate.requiredBundleTemplatesattribute defined at extensionconfigurablebundleservices.- See Also:
-
DEPENDENTBUNDLETEMPLATES
Generated constant - Attribute key ofBundleTemplate.dependentBundleTemplatesattribute defined at extensionconfigurablebundleservices.- See Also:
-
STATUS
Generated constant - Attribute key ofBundleTemplate.statusattribute defined at extensionconfigurablebundleservices.- See Also:
-
-
Constructor Details
-
BundleTemplateModel
public BundleTemplateModel()Generated constructor - Default constructor for generic creation. -
BundleTemplateModel
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 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, 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 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 Details
-
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
Generated method - Getter of theBundleTemplate.catalogVersionattribute defined at extensionconfigurablebundleservices.- Returns:
- the catalogVersion - Catalog Version
-
getChangeProductPriceBundleRules
@Accessor(qualifier="changeProductPriceBundleRules", type=GETTER) public 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 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 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
Generated method - Getter of theBundleTemplate.descriptionattribute defined at extensionconfigurablebundleservices.- Returns:
- the description - Description of the bundle template
-
getDescription
Generated method - Getter of theBundleTemplate.descriptionattribute defined at extensionconfigurablebundleservices.- 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 theBundleTemplate.disableProductBundleRulesattribute defined at extensionconfigurablebundleservices. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the disableProductBundleRules
-
getId
Generated method - Getter of theBundleTemplate.idattribute defined at extensionconfigurablebundleservices.- Returns:
- the id - Identifier
-
getName
Generated method - Getter of theBundleTemplate.nameattribute defined at extensionconfigurablebundleservices.- Returns:
- the name - Name of the bundle template
-
getName
Generated method - Getter of theBundleTemplate.nameattribute defined at extensionconfigurablebundleservices.- 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
Generated method - Getter of theBundleTemplate.parentTemplateattribute defined at extensionconfigurablebundleservices.- Returns:
- the parentTemplate
-
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 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
Generated method - Getter of theBundleTemplate.statusattribute defined at extensionconfigurablebundleservices.- Returns:
- the status
-
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(Collection<ChangeProductPriceBundleRuleModel> value) Generated method - Setter ofBundleTemplate.changeProductPriceBundleRulesattribute defined at extensionconfigurablebundleservices.- Parameters:
value- the changeProductPriceBundleRules
-
setChildTemplates
@Accessor(qualifier="childTemplates", type=SETTER) public void setChildTemplates(List<BundleTemplateModel> value) Generated method - Setter ofBundleTemplate.childTemplatesattribute defined at extensionconfigurablebundleservices.- Parameters:
value- the childTemplates
-
setDependentBundleTemplates
@Accessor(qualifier="dependentBundleTemplates", type=SETTER) public void setDependentBundleTemplates(Collection<BundleTemplateModel> value) Generated method - Setter ofBundleTemplate.dependentBundleTemplatesattribute defined at extensionconfigurablebundleservices.- Parameters:
value- the dependentBundleTemplates
-
setDescription
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(String value, Locale loc) Generated method - Setter ofBundleTemplate.descriptionattribute defined at extensionconfigurablebundleservices.- Parameters:
value- the description - Description of the bundle templateloc- 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 ofBundleTemplate.disableProductBundleRulesattribute defined at extensionconfigurablebundleservices.- Parameters:
value- the disableProductBundleRules
-
setId
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
Generated method - Setter ofBundleTemplate.nameattribute defined at extensionconfigurablebundleservices.- Parameters:
value- the name - Name of the bundle template
-
setName
Generated method - Setter ofBundleTemplate.nameattribute defined at extensionconfigurablebundleservices.- Parameters:
value- the name - Name of the bundle templateloc- 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 ofBundleTemplate.parentTemplateattribute defined at extensionconfigurablebundleservices. Can only be used at creation of model - before first save.- Parameters:
value- the parentTemplate
-
setProducts
Generated method - Setter ofBundleTemplate.productsattribute defined at extensionconfigurablebundleservices.- Parameters:
value- the products
-
setRequiredBundleTemplates
@Accessor(qualifier="requiredBundleTemplates", type=SETTER) public void setRequiredBundleTemplates(Collection<BundleTemplateModel> value) Generated method - Setter ofBundleTemplate.requiredBundleTemplatesattribute defined at extensionconfigurablebundleservices.- Parameters:
value- the requiredBundleTemplates
-
setStatus
Generated method - Setter ofBundleTemplate.statusattribute defined at extensionconfigurablebundleservices.- Parameters:
value- the status
-
setVersion
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.
-