public class BundleTemplateModel extends ItemModel
AbstractItemModel.NewModelContextFactory| Modifier and Type | Field and Description |
|---|---|
static String |
_BUNDLETEMPLATERELATION
Generated relation code constant for relation
BundleTemplateRelation defining source attribute parentTemplate in extension configurablebundleservices. |
static String |
_BUNDLETEMPLATESTATUSRELATION
Generated relation code constant for relation
BundleTemplateStatusRelation defining source attribute status in extension configurablebundleservices. |
static String |
_PRODUCTSBUNDLETEMPLATESRELATION
Generated relation code constant for relation
ProductsBundleTemplatesRelation defining source attribute products in extension configurablebundleservices. |
static String |
_REQUIREDBUNDLETEMPLATESDEPENDENTBUNDLETEMPLATESRELATION
Generated relation code constant for relation
RequiredBundleTemplatesDependentBundleTemplatesRelation defining source attribute requiredBundleTemplates in extension configurablebundleservices. |
static String |
_TYPECODE
Generated model type code constant.
|
static String |
BUNDLESELECTIONCRITERIA
Generated constant - Attribute key of
BundleTemplate.bundleSelectionCriteria attribute defined at extension configurablebundleservices. |
static String |
CATALOGVERSION
Generated constant - Attribute key of
BundleTemplate.catalogVersion attribute defined at extension configurablebundleservices. |
static String |
CHANGEPRODUCTPRICEBUNDLERULES
Generated constant - Attribute key of
BundleTemplate.changeProductPriceBundleRules attribute defined at extension configurablebundleservices. |
static String |
CHILDTEMPLATES
Generated constant - Attribute key of
BundleTemplate.childTemplates attribute defined at extension configurablebundleservices. |
static String |
DEPENDENTBUNDLETEMPLATES
Generated constant - Attribute key of
BundleTemplate.dependentBundleTemplates attribute defined at extension configurablebundleservices. |
static String |
DESCRIPTION
Generated constant - Attribute key of
BundleTemplate.description attribute defined at extension configurablebundleservices. |
static String |
DISABLEPRODUCTBUNDLERULES
Generated constant - Attribute key of
BundleTemplate.disableProductBundleRules attribute defined at extension configurablebundleservices. |
static String |
ID
Generated constant - Attribute key of
BundleTemplate.id attribute defined at extension configurablebundleservices. |
static String |
NAME
Generated constant - Attribute key of
BundleTemplate.name attribute defined at extension configurablebundleservices. |
static String |
PARENTTEMPLATE
Generated constant - Attribute key of
BundleTemplate.parentTemplate attribute defined at extension configurablebundleservices. |
static String |
PARENTTEMPLATEPOS
Generated constant - Attribute key of
BundleTemplate.parentTemplatePOS attribute defined at extension configurablebundleservices. |
static String |
PRODUCTS
Generated constant - Attribute key of
BundleTemplate.products attribute defined at extension configurablebundleservices. |
static String |
REQUIREDBUNDLETEMPLATES
Generated constant - Attribute key of
BundleTemplate.requiredBundleTemplates attribute defined at extension configurablebundleservices. |
static String |
STATUS
Generated constant - Attribute key of
BundleTemplate.status attribute defined at extension configurablebundleservices. |
static String |
VERSION
Generated constant - Attribute key of
BundleTemplate.version attribute defined at extension configurablebundleservices. |
_COMMENTITEMRELATION, COMMENTS, CREATIONTIME, ITEMTYPE, MODIFIEDTIME, OWNER, PKLANGUAGE_FALLBACK_ENABLED_SERVICE_LAYER, MODEL_CONTEXT_FACTORY| Constructor and Description |
|---|
BundleTemplateModel()
Generated constructor - Default constructor for generic creation.
|
BundleTemplateModel(CatalogVersionModel _catalogVersion,
String _id,
ItemModel _owner,
BundleTemplateModel _parentTemplate,
String _version)
Deprecated.
Since 4.1.1 Please use the default constructor without parameters
|
BundleTemplateModel(CatalogVersionModel _catalogVersion,
String _id,
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. |
Collection<ChangeProductPriceBundleRuleModel> |
getChangeProductPriceBundleRules()
Generated method - Getter of the
BundleTemplate.changeProductPriceBundleRules attribute defined at extension configurablebundleservices. |
List<BundleTemplateModel> |
getChildTemplates()
Generated method - Getter of the
BundleTemplate.childTemplates attribute defined at extension configurablebundleservices. |
Collection<BundleTemplateModel> |
getDependentBundleTemplates()
Generated method - Getter of the
BundleTemplate.dependentBundleTemplates attribute defined at extension configurablebundleservices. |
String |
getDescription()
Generated method - Getter of the
BundleTemplate.description attribute defined at extension configurablebundleservices. |
String |
getDescription(Locale loc)
Generated method - Getter of the
BundleTemplate.description attribute defined at extension configurablebundleservices. |
Collection<DisableProductBundleRuleModel> |
getDisableProductBundleRules()
Generated method - Getter of the
BundleTemplate.disableProductBundleRules attribute defined at extension configurablebundleservices. |
String |
getId()
Generated method - Getter of the
BundleTemplate.id attribute defined at extension configurablebundleservices. |
String |
getName()
Generated method - Getter of the
BundleTemplate.name attribute defined at extension configurablebundleservices. |
String |
getName(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. |
List<ProductModel> |
getProducts()
Generated method - Getter of the
BundleTemplate.products attribute defined at extension configurablebundleservices. |
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. |
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(Collection<ChangeProductPriceBundleRuleModel> value)
Generated method - Setter of
BundleTemplate.changeProductPriceBundleRules attribute defined at extension configurablebundleservices. |
void |
setChildTemplates(List<BundleTemplateModel> value)
Generated method - Setter of
BundleTemplate.childTemplates attribute defined at extension configurablebundleservices. |
void |
setDependentBundleTemplates(Collection<BundleTemplateModel> value)
Generated method - Setter of
BundleTemplate.dependentBundleTemplates attribute defined at extension configurablebundleservices. |
void |
setDescription(String value)
Generated method - Setter of
BundleTemplate.description attribute defined at extension configurablebundleservices. |
void |
setDescription(String value,
Locale loc)
Generated method - Setter of
BundleTemplate.description attribute defined at extension configurablebundleservices. |
void |
setDisableProductBundleRules(Collection<DisableProductBundleRuleModel> value)
Generated method - Setter of
BundleTemplate.disableProductBundleRules attribute defined at extension configurablebundleservices. |
void |
setId(String value)
Generated method - Initial setter of
BundleTemplate.id attribute defined at extension configurablebundleservices. |
void |
setName(String value)
Generated method - Setter of
BundleTemplate.name attribute defined at extension configurablebundleservices. |
void |
setName(String value,
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(List<ProductModel> value)
Generated method - Setter of
BundleTemplate.products attribute defined at extension configurablebundleservices. |
void |
setRequiredBundleTemplates(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(String value)
Generated method - Setter of
BundleTemplate.version attribute defined at extension configurablebundleservices. |
getComments, getCreationtime, getModifiedtime, getOwner, 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 String _TYPECODE
public static final String _BUNDLETEMPLATERELATION
BundleTemplateRelation defining source attribute parentTemplate in extension configurablebundleservices.public static final String _PRODUCTSBUNDLETEMPLATESRELATION
ProductsBundleTemplatesRelation defining source attribute products in extension configurablebundleservices.public static final String _REQUIREDBUNDLETEMPLATESDEPENDENTBUNDLETEMPLATESRELATION
RequiredBundleTemplatesDependentBundleTemplatesRelation defining source attribute requiredBundleTemplates in extension configurablebundleservices.public static final String _BUNDLETEMPLATESTATUSRELATION
BundleTemplateStatusRelation defining source attribute status in extension configurablebundleservices.public static final String ID
BundleTemplate.id attribute defined at extension configurablebundleservices.public static final String VERSION
BundleTemplate.version attribute defined at extension configurablebundleservices.public static final String CATALOGVERSION
BundleTemplate.catalogVersion attribute defined at extension configurablebundleservices.public static final String NAME
BundleTemplate.name attribute defined at extension configurablebundleservices.public static final String DESCRIPTION
BundleTemplate.description attribute defined at extension configurablebundleservices.public static final String BUNDLESELECTIONCRITERIA
BundleTemplate.bundleSelectionCriteria attribute defined at extension configurablebundleservices.public static final String PARENTTEMPLATEPOS
BundleTemplate.parentTemplatePOS attribute defined at extension configurablebundleservices.public static final String PARENTTEMPLATE
BundleTemplate.parentTemplate attribute defined at extension configurablebundleservices.public static final String CHILDTEMPLATES
BundleTemplate.childTemplates attribute defined at extension configurablebundleservices.public static final String PRODUCTS
BundleTemplate.products attribute defined at extension configurablebundleservices.public static final String CHANGEPRODUCTPRICEBUNDLERULES
BundleTemplate.changeProductPriceBundleRules attribute defined at extension configurablebundleservices.public static final String DISABLEPRODUCTBUNDLERULES
BundleTemplate.disableProductBundleRules attribute defined at extension configurablebundleservices.public static final String REQUIREDBUNDLETEMPLATES
BundleTemplate.requiredBundleTemplates attribute defined at extension configurablebundleservices.public static final String DEPENDENTBUNDLETEMPLATES
BundleTemplate.dependentBundleTemplates attribute defined at extension configurablebundleservices.public static final 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, String _id, 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, String _id, ItemModel _owner, BundleTemplateModel _parentTemplate, 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 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 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 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 String getDescription()
BundleTemplate.description attribute defined at extension configurablebundleservices.@Accessor(qualifier="description", type=GETTER) public String getDescription(Locale loc)
BundleTemplate.description attribute defined at extension configurablebundleservices.loc - the value localization keyIllegalArgumentException - if localization key cannot be mapped to data language@Accessor(qualifier="disableProductBundleRules", type=GETTER) public 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 String getId()
BundleTemplate.id attribute defined at extension configurablebundleservices.@Accessor(qualifier="name", type=GETTER) public String getName()
BundleTemplate.name attribute defined at extension configurablebundleservices.@Accessor(qualifier="name", type=GETTER) public String getName(Locale loc)
BundleTemplate.name attribute defined at extension configurablebundleservices.loc - the value localization keyIllegalArgumentException - 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 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 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 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(Collection<ChangeProductPriceBundleRuleModel> value)
BundleTemplate.changeProductPriceBundleRules attribute defined at extension configurablebundleservices.value - the changeProductPriceBundleRules@Accessor(qualifier="childTemplates", type=SETTER) public void setChildTemplates(List<BundleTemplateModel> value)
BundleTemplate.childTemplates attribute defined at extension configurablebundleservices.value - the childTemplates@Accessor(qualifier="dependentBundleTemplates", type=SETTER) public void setDependentBundleTemplates(Collection<BundleTemplateModel> value)
BundleTemplate.dependentBundleTemplates attribute defined at extension configurablebundleservices.value - the dependentBundleTemplates@Accessor(qualifier="description", type=SETTER) public void setDescription(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(String value, Locale loc)
BundleTemplate.description attribute defined at extension configurablebundleservices.value - the description - Description of the bundle templateloc - the value localization keyIllegalArgumentException - if localization key cannot be mapped to data language@Accessor(qualifier="disableProductBundleRules", type=SETTER) public void setDisableProductBundleRules(Collection<DisableProductBundleRuleModel> value)
BundleTemplate.disableProductBundleRules attribute defined at extension configurablebundleservices.value - the disableProductBundleRules@Accessor(qualifier="id", type=SETTER) public void setId(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(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(String value, Locale loc)
BundleTemplate.name attribute defined at extension configurablebundleservices.value - the name - Name of the bundle templateloc - the value localization keyIllegalArgumentException - 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(List<ProductModel> value)
BundleTemplate.products attribute defined at extension configurablebundleservices.value - the products@Accessor(qualifier="requiredBundleTemplates", type=SETTER) public void setRequiredBundleTemplates(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(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 © 2017 SAP SE. All Rights Reserved.