public class BundleTemplateModel extends ItemModel
AbstractItemModel.NewModelContextFactory| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
_BUNDLETEMPLATERELATION
Generated relation code constant for relation
BundleTemplateRelation defining source attribute parentTemplate in extension configurablebundleservices. |
static java.lang.String |
_BUNDLETEMPLATESTATUSRELATION
Generated relation code constant for relation
BundleTemplateStatusRelation defining source attribute status in extension configurablebundleservices. |
static java.lang.String |
_PRODUCTSBUNDLETEMPLATESRELATION
Generated relation code constant for relation
ProductsBundleTemplatesRelation defining source attribute products in extension configurablebundleservices. |
static java.lang.String |
_REQUIREDBUNDLETEMPLATESDEPENDENTBUNDLETEMPLATESRELATION
Generated relation code constant for relation
RequiredBundleTemplatesDependentBundleTemplatesRelation defining source attribute requiredBundleTemplates in extension configurablebundleservices. |
static java.lang.String |
_TYPECODE
Generated model type code constant.
|
static java.lang.String |
BUNDLESELECTIONCRITERIA
Generated constant - Attribute key of
BundleTemplate.bundleSelectionCriteria attribute defined at extension configurablebundleservices. |
static java.lang.String |
CATALOGVERSION
Generated constant - Attribute key of
BundleTemplate.catalogVersion attribute defined at extension configurablebundleservices. |
static java.lang.String |
CHANGEPRODUCTPRICEBUNDLERULES
Generated constant - Attribute key of
BundleTemplate.changeProductPriceBundleRules attribute defined at extension configurablebundleservices. |
static java.lang.String |
CHILDTEMPLATES
Generated constant - Attribute key of
BundleTemplate.childTemplates attribute defined at extension configurablebundleservices. |
static java.lang.String |
DEPENDENTBUNDLETEMPLATES
Generated constant - Attribute key of
BundleTemplate.dependentBundleTemplates attribute defined at extension configurablebundleservices. |
static java.lang.String |
DESCRIPTION
Generated constant - Attribute key of
BundleTemplate.description attribute defined at extension configurablebundleservices. |
static java.lang.String |
DISABLEPRODUCTBUNDLERULES
Generated constant - Attribute key of
BundleTemplate.disableProductBundleRules attribute defined at extension configurablebundleservices. |
static java.lang.String |
ID
Generated constant - Attribute key of
BundleTemplate.id attribute defined at extension configurablebundleservices. |
static java.lang.String |
NAME
Generated constant - Attribute key of
BundleTemplate.name attribute defined at extension configurablebundleservices. |
static java.lang.String |
PARENTTEMPLATE
Generated constant - Attribute key of
BundleTemplate.parentTemplate attribute defined at extension configurablebundleservices. |
static java.lang.String |
PARENTTEMPLATEPOS
Generated constant - Attribute key of
BundleTemplate.parentTemplatePOS attribute defined at extension configurablebundleservices. |
static java.lang.String |
PRODUCTS
Generated constant - Attribute key of
BundleTemplate.products attribute defined at extension configurablebundleservices. |
static java.lang.String |
REQUIREDBUNDLETEMPLATES
Generated constant - Attribute key of
BundleTemplate.requiredBundleTemplates attribute defined at extension configurablebundleservices. |
static java.lang.String |
STATUS
Generated constant - Attribute key of
BundleTemplate.status attribute defined at extension configurablebundleservices. |
static java.lang.String |
VERSION
Generated constant - Attribute key of
BundleTemplate.version attribute defined at extension configurablebundleservices. |
_COMMENTITEMRELATION, COMMENTS, CREATIONTIME, ITEMTYPE, MODIFIEDTIME, OWNER, PK, SEALEDLANGUAGE_FALLBACK_ENABLED_SERVICE_LAYER, MODEL_CONTEXT_FACTORY| Constructor and 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.
since 4.1.1 Please use the default constructor without parameters
|
BundleTemplateModel(CatalogVersionModel _catalogVersion,
java.lang.String _id,
java.lang.String _version)
Deprecated.
since 4.1.1 Please use the default constructor without parameters
|
BundleTemplateModel(ItemModelContext ctx)
Generated constructor - Default constructor for creation with existing context
|
| Modifier and Type | Method and Description |
|---|---|
BundleSelectionCriteriaModel |
getBundleSelectionCriteria()
Generated method - Getter of the
BundleTemplate.bundleSelectionCriteria attribute defined at extension configurablebundleservices. |
CatalogVersionModel |
getCatalogVersion()
Generated method - Getter of the
BundleTemplate.catalogVersion attribute defined at extension configurablebundleservices. |
java.util.Collection<ChangeProductPriceBundleRuleModel> |
getChangeProductPriceBundleRules()
Generated method - Getter of the
BundleTemplate.changeProductPriceBundleRules attribute defined at extension configurablebundleservices. |
java.util.List<BundleTemplateModel> |
getChildTemplates()
Generated method - Getter of the
BundleTemplate.childTemplates attribute defined at extension configurablebundleservices. |
java.util.Collection<BundleTemplateModel> |
getDependentBundleTemplates()
Generated method - Getter of the
BundleTemplate.dependentBundleTemplates attribute defined at extension configurablebundleservices. |
java.lang.String |
getDescription()
Generated method - Getter of the
BundleTemplate.description attribute defined at extension configurablebundleservices. |
java.lang.String |
getDescription(java.util.Locale loc)
Generated method - Getter of the
BundleTemplate.description attribute defined at extension configurablebundleservices. |
java.util.Collection<DisableProductBundleRuleModel> |
getDisableProductBundleRules()
Generated method - Getter of the
BundleTemplate.disableProductBundleRules attribute defined at extension configurablebundleservices. |
java.lang.String |
getId()
Generated method - Getter of the
BundleTemplate.id attribute defined at extension configurablebundleservices. |
java.lang.String |
getName()
Generated method - Getter of the
BundleTemplate.name attribute defined at extension configurablebundleservices. |
java.lang.String |
getName(java.util.Locale loc)
Generated method - Getter of the
BundleTemplate.name attribute defined at extension configurablebundleservices. |
BundleTemplateModel |
getParentTemplate()
Generated method - Getter of the
BundleTemplate.parentTemplate attribute defined at extension configurablebundleservices. |
java.util.List<ProductModel> |
getProducts()
Generated method - Getter of the
BundleTemplate.products attribute defined at extension configurablebundleservices. |
java.util.Collection<BundleTemplateModel> |
getRequiredBundleTemplates()
Generated method - Getter of the
BundleTemplate.requiredBundleTemplates attribute defined at extension configurablebundleservices. |
BundleTemplateStatusModel |
getStatus()
Generated method - Getter of the
BundleTemplate.status attribute defined at extension configurablebundleservices. |
java.lang.String |
getVersion()
Generated method - Getter of the
BundleTemplate.version attribute defined at extension configurablebundleservices. |
void |
setBundleSelectionCriteria(BundleSelectionCriteriaModel value)
Generated method - Setter of
BundleTemplate.bundleSelectionCriteria attribute defined at extension configurablebundleservices. |
void |
setCatalogVersion(CatalogVersionModel value)
Generated method - Setter of
BundleTemplate.catalogVersion attribute defined at extension configurablebundleservices. |
void |
setChangeProductPriceBundleRules(java.util.Collection<ChangeProductPriceBundleRuleModel> value)
Generated method - Setter of
BundleTemplate.changeProductPriceBundleRules attribute defined at extension configurablebundleservices. |
void |
setChildTemplates(java.util.List<BundleTemplateModel> value)
Generated method - Setter of
BundleTemplate.childTemplates attribute defined at extension configurablebundleservices. |
void |
setDependentBundleTemplates(java.util.Collection<BundleTemplateModel> value)
Generated method - Setter of
BundleTemplate.dependentBundleTemplates attribute defined at extension configurablebundleservices. |
void |
setDescription(java.lang.String value)
Generated method - Setter of
BundleTemplate.description attribute defined at extension configurablebundleservices. |
void |
setDescription(java.lang.String value,
java.util.Locale loc)
Generated method - Setter of
BundleTemplate.description attribute defined at extension configurablebundleservices. |
void |
setDisableProductBundleRules(java.util.Collection<DisableProductBundleRuleModel> value)
Generated method - Setter of
BundleTemplate.disableProductBundleRules attribute defined at extension configurablebundleservices. |
void |
setId(java.lang.String value)
Generated method - Initial setter of
BundleTemplate.id attribute defined at extension configurablebundleservices. |
void |
setName(java.lang.String value)
Generated method - Setter of
BundleTemplate.name attribute defined at extension configurablebundleservices. |
void |
setName(java.lang.String value,
java.util.Locale loc)
Generated method - Setter of
BundleTemplate.name attribute defined at extension configurablebundleservices. |
void |
setParentTemplate(BundleTemplateModel value)
Generated method - Initial setter of
BundleTemplate.parentTemplate attribute defined at extension configurablebundleservices. |
void |
setProducts(java.util.List<ProductModel> value)
Generated method - Setter of
BundleTemplate.products attribute defined at extension configurablebundleservices. |
void |
setRequiredBundleTemplates(java.util.Collection<BundleTemplateModel> value)
Generated method - Setter of
BundleTemplate.requiredBundleTemplates attribute defined at extension configurablebundleservices. |
void |
setStatus(BundleTemplateStatusModel value)
Generated method - Setter of
BundleTemplate.status attribute defined at extension configurablebundleservices. |
void |
setVersion(java.lang.String value)
Generated method - Setter of
BundleTemplate.version attribute defined at extension configurablebundleservices. |
getComments, getCreationtime, getModifiedtime, getOwner, isSealed, setComments, setCreationtime, setModifiedtime, setOwnerequals, 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, writeReplacepublic static final java.lang.String _TYPECODE
public static final java.lang.String _BUNDLETEMPLATERELATION
BundleTemplateRelation defining source attribute parentTemplate in extension configurablebundleservices.public static final java.lang.String _PRODUCTSBUNDLETEMPLATESRELATION
ProductsBundleTemplatesRelation defining source attribute products in extension configurablebundleservices.public static final java.lang.String _REQUIREDBUNDLETEMPLATESDEPENDENTBUNDLETEMPLATESRELATION
RequiredBundleTemplatesDependentBundleTemplatesRelation defining source attribute requiredBundleTemplates in extension configurablebundleservices.public static final java.lang.String _BUNDLETEMPLATESTATUSRELATION
BundleTemplateStatusRelation defining source attribute status in extension configurablebundleservices.public static final java.lang.String ID
BundleTemplate.id attribute defined at extension configurablebundleservices.public static final java.lang.String VERSION
BundleTemplate.version attribute defined at extension configurablebundleservices.public static final java.lang.String CATALOGVERSION
BundleTemplate.catalogVersion attribute defined at extension configurablebundleservices.public static final java.lang.String NAME
BundleTemplate.name attribute defined at extension configurablebundleservices.public static final java.lang.String DESCRIPTION
BundleTemplate.description attribute defined at extension configurablebundleservices.public static final java.lang.String BUNDLESELECTIONCRITERIA
BundleTemplate.bundleSelectionCriteria attribute defined at extension configurablebundleservices.public static final java.lang.String PARENTTEMPLATEPOS
BundleTemplate.parentTemplatePOS attribute defined at extension configurablebundleservices.public static final java.lang.String PARENTTEMPLATE
BundleTemplate.parentTemplate attribute defined at extension configurablebundleservices.public static final java.lang.String CHILDTEMPLATES
BundleTemplate.childTemplates attribute defined at extension configurablebundleservices.public static final java.lang.String PRODUCTS
BundleTemplate.products attribute defined at extension configurablebundleservices.public static final java.lang.String CHANGEPRODUCTPRICEBUNDLERULES
BundleTemplate.changeProductPriceBundleRules attribute defined at extension configurablebundleservices.public static final java.lang.String DISABLEPRODUCTBUNDLERULES
BundleTemplate.disableProductBundleRules attribute defined at extension configurablebundleservices.public static final java.lang.String REQUIREDBUNDLETEMPLATES
BundleTemplate.requiredBundleTemplates attribute defined at extension configurablebundleservices.public static final java.lang.String DEPENDENTBUNDLETEMPLATES
BundleTemplate.dependentBundleTemplates attribute defined at extension configurablebundleservices.public static final java.lang.String STATUS
BundleTemplate.status attribute defined at extension configurablebundleservices.public BundleTemplateModel()
public BundleTemplateModel(ItemModelContext ctx)
ctx - the model context to be injected, must not be null@Deprecated public BundleTemplateModel(CatalogVersionModel _catalogVersion, java.lang.String _id, java.lang.String _version)
_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@Deprecated public BundleTemplateModel(CatalogVersionModel _catalogVersion, java.lang.String _id, ItemModel _owner, BundleTemplateModel _parentTemplate, java.lang.String _version)
_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@Accessor(qualifier="bundleSelectionCriteria", type=GETTER) public BundleSelectionCriteriaModel getBundleSelectionCriteria()
BundleTemplate.bundleSelectionCriteria attribute defined at extension configurablebundleservices.@Accessor(qualifier="catalogVersion", type=GETTER) public CatalogVersionModel getCatalogVersion()
BundleTemplate.catalogVersion attribute defined at extension configurablebundleservices.@Accessor(qualifier="changeProductPriceBundleRules", type=GETTER) public java.util.Collection<ChangeProductPriceBundleRuleModel> getChangeProductPriceBundleRules()
BundleTemplate.changeProductPriceBundleRules attribute defined at extension configurablebundleservices.
Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.@Accessor(qualifier="childTemplates", type=GETTER) public java.util.List<BundleTemplateModel> getChildTemplates()
BundleTemplate.childTemplates attribute defined at extension configurablebundleservices.
Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.@Accessor(qualifier="dependentBundleTemplates", type=GETTER) public java.util.Collection<BundleTemplateModel> getDependentBundleTemplates()
BundleTemplate.dependentBundleTemplates attribute defined at extension configurablebundleservices.
Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.@Accessor(qualifier="description", type=GETTER) public java.lang.String getDescription()
BundleTemplate.description attribute defined at extension configurablebundleservices.@Accessor(qualifier="description", type=GETTER) public java.lang.String getDescription(java.util.Locale loc)
BundleTemplate.description attribute defined at extension configurablebundleservices.loc - the value localization keyjava.lang.IllegalArgumentException - if localization key cannot be mapped to data language@Accessor(qualifier="disableProductBundleRules", type=GETTER) public java.util.Collection<DisableProductBundleRuleModel> getDisableProductBundleRules()
BundleTemplate.disableProductBundleRules attribute defined at extension configurablebundleservices.
Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.@Accessor(qualifier="id", type=GETTER) public java.lang.String getId()
BundleTemplate.id attribute defined at extension configurablebundleservices.@Accessor(qualifier="name", type=GETTER) public java.lang.String getName()
BundleTemplate.name attribute defined at extension configurablebundleservices.@Accessor(qualifier="name", type=GETTER) public java.lang.String getName(java.util.Locale loc)
BundleTemplate.name attribute defined at extension configurablebundleservices.loc - the value localization keyjava.lang.IllegalArgumentException - if localization key cannot be mapped to data language@Accessor(qualifier="parentTemplate", type=GETTER) public BundleTemplateModel getParentTemplate()
BundleTemplate.parentTemplate attribute defined at extension configurablebundleservices.@Accessor(qualifier="products", type=GETTER) public java.util.List<ProductModel> getProducts()
BundleTemplate.products attribute defined at extension configurablebundleservices.
Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.@Accessor(qualifier="requiredBundleTemplates", type=GETTER) public java.util.Collection<BundleTemplateModel> getRequiredBundleTemplates()
BundleTemplate.requiredBundleTemplates attribute defined at extension configurablebundleservices.
Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.@Accessor(qualifier="status", type=GETTER) public BundleTemplateStatusModel getStatus()
BundleTemplate.status attribute defined at extension configurablebundleservices.@Accessor(qualifier="version", type=GETTER) public java.lang.String getVersion()
BundleTemplate.version attribute defined at extension configurablebundleservices.@Accessor(qualifier="bundleSelectionCriteria", type=SETTER) public void setBundleSelectionCriteria(BundleSelectionCriteriaModel value)
BundleTemplate.bundleSelectionCriteria attribute defined at extension configurablebundleservices.value - the bundleSelectionCriteria - Criteria how many of the bundle's assigned products must/can be selected'@Accessor(qualifier="catalogVersion", type=SETTER) public void setCatalogVersion(CatalogVersionModel value)
BundleTemplate.catalogVersion attribute defined at extension configurablebundleservices.value - the catalogVersion - Catalog Version@Accessor(qualifier="changeProductPriceBundleRules", type=SETTER) public void setChangeProductPriceBundleRules(java.util.Collection<ChangeProductPriceBundleRuleModel> value)
BundleTemplate.changeProductPriceBundleRules attribute defined at extension configurablebundleservices.value - the changeProductPriceBundleRules@Accessor(qualifier="childTemplates", type=SETTER) public void setChildTemplates(java.util.List<BundleTemplateModel> value)
BundleTemplate.childTemplates attribute defined at extension configurablebundleservices.value - the childTemplates@Accessor(qualifier="dependentBundleTemplates", type=SETTER) public void setDependentBundleTemplates(java.util.Collection<BundleTemplateModel> value)
BundleTemplate.dependentBundleTemplates attribute defined at extension configurablebundleservices.value - the dependentBundleTemplates@Accessor(qualifier="description", type=SETTER) public void setDescription(java.lang.String value)
BundleTemplate.description attribute defined at extension configurablebundleservices.value - the description - Description of the bundle template@Accessor(qualifier="description", type=SETTER) public void setDescription(java.lang.String value, java.util.Locale loc)
BundleTemplate.description attribute defined at extension configurablebundleservices.value - the description - Description of the bundle templateloc - the value localization keyjava.lang.IllegalArgumentException - if localization key cannot be mapped to data language@Accessor(qualifier="disableProductBundleRules", type=SETTER) public void setDisableProductBundleRules(java.util.Collection<DisableProductBundleRuleModel> value)
BundleTemplate.disableProductBundleRules attribute defined at extension configurablebundleservices.value - the disableProductBundleRules@Accessor(qualifier="id", type=SETTER) public void setId(java.lang.String value)
BundleTemplate.id attribute defined at extension configurablebundleservices. Can only be used at creation of model - before first save.value - the id - Identifier@Accessor(qualifier="name", type=SETTER) public void setName(java.lang.String value)
BundleTemplate.name attribute defined at extension configurablebundleservices.value - the name - Name of the bundle template@Accessor(qualifier="name", type=SETTER) public void setName(java.lang.String value, java.util.Locale loc)
BundleTemplate.name attribute defined at extension configurablebundleservices.value - the name - Name of the bundle templateloc - the value localization keyjava.lang.IllegalArgumentException - if localization key cannot be mapped to data language@Accessor(qualifier="parentTemplate", type=SETTER) public void setParentTemplate(BundleTemplateModel value)
BundleTemplate.parentTemplate attribute defined at extension configurablebundleservices. Can only be used at creation of model - before first save.value - the parentTemplate@Accessor(qualifier="products", type=SETTER) public void setProducts(java.util.List<ProductModel> value)
BundleTemplate.products attribute defined at extension configurablebundleservices.value - the products@Accessor(qualifier="requiredBundleTemplates", type=SETTER) public void setRequiredBundleTemplates(java.util.Collection<BundleTemplateModel> value)
BundleTemplate.requiredBundleTemplates attribute defined at extension configurablebundleservices.value - the requiredBundleTemplates@Accessor(qualifier="status", type=SETTER) public void setStatus(BundleTemplateStatusModel value)
BundleTemplate.status attribute defined at extension configurablebundleservices.value - the status@Accessor(qualifier="version", type=SETTER) public void setVersion(java.lang.String value)
BundleTemplate.version attribute defined at extension configurablebundleservices.value - the version - The version of the bundle template. Each clone of a BundleTemplate needs to have a different version.Copyright © 2018 SAP SE. All Rights Reserved.