public class PromotionProductRestrictionModel extends AbstractPromotionRestrictionModel
AbstractItemModel.NewModelContextFactory| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
_TYPECODE
Generated model type code constant.
|
static java.lang.String |
PRODUCTS
Generated constant - Attribute key of
PromotionProductRestriction.products attribute defined at extension promotions. |
DESCRIPTIONPATTERN, PROMOTION, RENDEREDDESCRIPTION, RESTRICTIONTYPE_COMMENTITEMRELATION, COMMENTS, CREATIONTIME, ITEMTYPE, MODIFIEDTIME, OWNER, PK, SEALEDLANGUAGE_FALLBACK_ENABLED_SERVICE_LAYER, MODEL_CONTEXT_FACTORY| Constructor and Description |
|---|
PromotionProductRestrictionModel()
Generated constructor - Default constructor for generic creation.
|
PromotionProductRestrictionModel(ItemModel _owner)
Deprecated.
since 4.1.1 Please use the default constructor without parameters
|
PromotionProductRestrictionModel(ItemModelContext ctx)
Generated constructor - Default constructor for creation with existing context
|
| Modifier and Type | Method and Description |
|---|---|
java.util.Collection<ProductModel> |
getProducts()
Generated method - Getter of the
PromotionProductRestriction.products attribute defined at extension promotions. |
void |
setProducts(java.util.Collection<ProductModel> value)
Generated method - Setter of
PromotionProductRestriction.products attribute defined at extension promotions. |
getDescriptionPattern, getDescriptionPattern, getPromotion, getRenderedDescription, getRestrictionType, getRestrictionType, setDescriptionPattern, setDescriptionPattern, setPromotiongetComments, 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 PRODUCTS
PromotionProductRestriction.products attribute defined at extension promotions.public PromotionProductRestrictionModel()
public PromotionProductRestrictionModel(ItemModelContext ctx)
ctx - the model context to be injected, must not be null@Deprecated public PromotionProductRestrictionModel(ItemModel _owner)
_owner - initial attribute declared by type Item at extension core@Accessor(qualifier="products", type=GETTER) public java.util.Collection<ProductModel> getProducts()
PromotionProductRestriction.products attribute defined at extension promotions.
Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.@Accessor(qualifier="products", type=SETTER) public void setProducts(java.util.Collection<ProductModel> value)
PromotionProductRestriction.products attribute defined at extension promotions.value - the products - The products that the promotion should not be applied toCopyright © 2018 SAP SE. All Rights Reserved.