public class PromotionUserRestrictionModel extends AbstractPromotionRestrictionModel
AbstractItemModel.NewModelContextFactory| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
_TYPECODE
Generated model type code constant.
|
static java.lang.String |
POSITIVE
Generated constant - Attribute key of
PromotionUserRestriction.positive attribute defined at extension promotions. |
static java.lang.String |
USERS
Generated constant - Attribute key of
PromotionUserRestriction.users 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 |
|---|
PromotionUserRestrictionModel()
Generated constructor - Default constructor for generic creation.
|
PromotionUserRestrictionModel(ItemModel _owner)
Deprecated.
since 4.1.1 Please use the default constructor without parameters
|
PromotionUserRestrictionModel(ItemModelContext ctx)
Generated constructor - Default constructor for creation with existing context
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Boolean |
getPositive()
Generated method - Getter of the
PromotionUserRestriction.positive attribute defined at extension promotions. |
java.util.Collection<PrincipalModel> |
getUsers()
Generated method - Getter of the
PromotionUserRestriction.users attribute defined at extension promotions. |
void |
setPositive(java.lang.Boolean value)
Generated method - Setter of
PromotionUserRestriction.positive attribute defined at extension promotions. |
void |
setUsers(java.util.Collection<PrincipalModel> value)
Generated method - Setter of
PromotionUserRestriction.users 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 POSITIVE
PromotionUserRestriction.positive attribute defined at extension promotions.public static final java.lang.String USERS
PromotionUserRestriction.users attribute defined at extension promotions.public PromotionUserRestrictionModel()
public PromotionUserRestrictionModel(ItemModelContext ctx)
ctx - the model context to be injected, must not be null@Deprecated public PromotionUserRestrictionModel(ItemModel _owner)
_owner - initial attribute declared by type Item at extension core@Accessor(qualifier="positive", type=GETTER) public java.lang.Boolean getPositive()
PromotionUserRestriction.positive attribute defined at extension promotions.@Accessor(qualifier="users", type=GETTER) public java.util.Collection<PrincipalModel> getUsers()
PromotionUserRestriction.users attribute defined at extension promotions.
Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.@Accessor(qualifier="positive", type=SETTER) public void setPositive(java.lang.Boolean value)
PromotionUserRestriction.positive attribute defined at extension promotions.value - the positive - Specifies if this restriction is a positive (true) or negative (false) one.@Accessor(qualifier="users", type=SETTER) public void setUsers(java.util.Collection<PrincipalModel> value)
PromotionUserRestriction.users attribute defined at extension promotions.value - the users - The principals the promotion is not applied forCopyright © 2018 SAP SE. All Rights Reserved.