public abstract class GeneratedPromotionUserRestriction extends AbstractPromotionRestriction
PromotionUserRestriction.AbstractPromotionRestriction.RestrictionResultGenericItem.GenericItemImplLocalizableItem.LocalizableItemImplExtensibleItem.ExtensibleItemImplItem.AttributeFilter, Item.AttributeMode, Item.CachedGetter, Item.CachedSetter, Item.ItemAttributeMap, Item.ItemConstraint, Item.ItemImpl, Item.JaloCachedComputationException| Modifier and Type | Field and Description |
|---|---|
protected static java.util.Map<java.lang.String,Item.AttributeMode> |
DEFAULT_INITIAL_ATTRIBUTES |
static java.lang.String |
POSITIVE
Qualifier of the
PromotionUserRestriction.positive attribute |
static java.lang.String |
USERS
Qualifier of the
PromotionUserRestriction.users attribute |
DESCRIPTIONPATTERN, PROMOTION, RENDEREDDESCRIPTION, RESTRICTIONTYPELANGUAGE_FALLBACK_ENABLED_CREATION_TIME_INTERNAL, _MODIFIED_TIME_INTERNAL, accessorLog, CREATION_TIME, DISABLE_ATTRIBUTE_CHECK, DISABLE_ITEMCHECK_BEFORE_REMOVABLE, EVEN, FEATURE_ACCESSMAP_QUALIFIER, INITIAL_CREATION_FLAG, isJaloOnly, MODIFIED_TIME, NEGATIVE, NOT_FOUND, OWNER, PK, SAVE_FROM_SERVICE_LAYER, staticTransientObjects, TYPEimpl, tenant| Constructor and Description |
|---|
GeneratedPromotionUserRestriction() |
| Modifier and Type | Method and Description |
|---|---|
protected java.util.Map<java.lang.String,Item.AttributeMode> |
getDefaultAttributeModes() |
java.util.Collection<Principal> |
getUsers()
Generated method - Getter of the
PromotionUserRestriction.users attribute. |
java.util.Collection<Principal> |
getUsers(SessionContext ctx)
Generated method - Getter of the
PromotionUserRestriction.users attribute. |
java.lang.Boolean |
isPositive()
Generated method - Getter of the
PromotionUserRestriction.positive attribute. |
java.lang.Boolean |
isPositive(SessionContext ctx)
Generated method - Getter of the
PromotionUserRestriction.positive attribute. |
boolean |
isPositiveAsPrimitive()
Generated method - Getter of the
PromotionUserRestriction.positive attribute. |
boolean |
isPositiveAsPrimitive(SessionContext ctx)
Generated method - Getter of the
PromotionUserRestriction.positive attribute. |
void |
setPositive(boolean value)
Generated method - Setter of the
PromotionUserRestriction.positive attribute. |
void |
setPositive(java.lang.Boolean value)
Generated method - Setter of the
PromotionUserRestriction.positive attribute. |
void |
setPositive(SessionContext ctx,
boolean value)
Generated method - Setter of the
PromotionUserRestriction.positive attribute. |
void |
setPositive(SessionContext ctx,
java.lang.Boolean value)
Generated method - Setter of the
PromotionUserRestriction.positive attribute. |
void |
setUsers(java.util.Collection<Principal> value)
Generated method - Setter of the
PromotionUserRestriction.users attribute. |
void |
setUsers(SessionContext ctx,
java.util.Collection<Principal> value)
Generated method - Setter of the
PromotionUserRestriction.users attribute. |
buildDataUniqueKey, deepClone, deepCloneAttributes, evaluate, evaluate, getAllRestrictionType, getDescriptionPatternArguments, getRenderedDescription, getRestrictionType, toStringgetAllDescriptionPattern, getAllDescriptionPattern, getAllRestrictionType, getDescriptionPattern, getDescriptionPattern, getPromotion, getPromotion, getRenderedDescription, getRestrictionType, setAllDescriptionPattern, setAllDescriptionPattern, setDescriptionPattern, setDescriptionPattern, setPromotion, setPromotioncreateItem, getInitialProperties, getNonInitialAttributesgetAllLocalizedProperties, getAllLocalizedProperties, getAllLocalizedProperties, getAllLocalizedProperties, getAllValuesSessionContext, getLocalizedProperty, getLocalizedProperty, getLocalizedPropertyInternal, getLocalizedPropertyNames, getLocalizedPropertyNames, hasLanguage, isEmptyValue, isFallbackEnabled, removeLocalizedProperty, removeLocalizedProperty, setAllLocalizedProperties, setAllLocalizedProperties, setLocalizedProperty, setLocalizedPropertycreateNonClassAccessor, getAllProperties, getAllProperties, getImplementation, getProperty, getProperty, getPropertyNames, getPropertyNames, removeProperty, removeProperty, setAllProperties, setAllProperties, setProperty, setPropertyaddLinkedItems, addLinkedItems, addLinkedItems, addLinkedItems, addLinkedItems, addLinkedItems, addLinkedItems, addLinkedItems, addLinkedItems, addNegativePermission, addPermission, addPositivePermission, assureExtensionsLoaded, changeTypeAfterCreation, checkConstraint, checkItemPermission, checkMandatoryAttribute, checkMandatoryAttribute, checkPermission, checkPermission, checkRemovable, clearPermission, compareTo, ctx, doAfterRemove, doBeforeRemove, equals, getAccessorFor, getAllAttributes, getAllAttributes, getAllAttributes, getAllAttributes, getAllAttributesInternal, getAllLinkedItems, getAndCheckCacheBoundItem, getAttribute, getAttribute, getCacheBoundItem, getComposedType, getComposedTypePK, getCreationTime, getCurrentlyRemovingCount, getLinkedItems, getLinkedItems, getLinkedItems, getLinkedItems, getLinkedItems, getLinkedItems, getLinkedItems, getLinkedItemsCount, getLinkedItemsCount, getLinkedItemsCount, getModificationTime, getNegativePermissions, getOwner, getPermissionMap, getPermissions, getPersistenceVersion, getPK, getPositivePermissions, getRestrictedPrincipals, getSession, getSyncObject, getTenant, getTransientObject, getTransientObjectMap, hashCode, hasRegisteredClassAccessorFor, internal_registerClassAccessorFor, internal_registerNonClassAccessorFor, invalidateLocalCaches, isAlive, isCacheBound, isCurrentlyRemoving, isCurrentlyRemoving, isEmptyRelationValue, isInCreate, isInstanceOf, isItemCheckBeforeRemoveableDisabled, isMarkModifiedDisabled, isRelationLocalizationFallbackEnabled, newInstance, notifyExtensionsAfterItemCreation, notifyExtensionsBeforeItemCreation, notifyItemRemoval, notifyManagerAboutItemRemoval, readResolve, registerAccessFor, registerAccessFor, registerJaloInvalidationListeners, remove, remove, removeItemCollection, removeItemCollection, removeLinkedItems, removeLinkedItems, removeLinkedItems, removeLinkedItems, removeLinks, removePartOfItems, removePartOfItems, setAllAttributes, setAllAttributes, setAllAttributesInternal, setAllLinkedItems, setAllLinkedItems, setAllLinkedItems, setAllLinkedItems, setAttribute, setAttribute, setAttributeFromString, setAttributeFromString, setCacheBound, setComposedType, setCreationTime, setImplementation, setLinkedItems, setLinkedItems, setLinkedItems, setLinkedItems, setLinkedItems, setLinkedItems, setLinkedItems, setLinkedItems, setModificationTime, setNonInitialAttributes, setOwner, setPermissionsByMap, setTransientObject, setUseTA, useTA, writeReplacesetTenantpublic static final java.lang.String POSITIVE
PromotionUserRestriction.positive attributepublic static final java.lang.String USERS
PromotionUserRestriction.users attributeprotected static final java.util.Map<java.lang.String,Item.AttributeMode> DEFAULT_INITIAL_ATTRIBUTES
protected java.util.Map<java.lang.String,Item.AttributeMode> getDefaultAttributeModes()
getDefaultAttributeModes in class GeneratedAbstractPromotionRestrictionpublic java.lang.Boolean isPositive(SessionContext ctx)
PromotionUserRestriction.positive attribute.public java.lang.Boolean isPositive()
PromotionUserRestriction.positive attribute.public boolean isPositiveAsPrimitive(SessionContext ctx)
PromotionUserRestriction.positive attribute.public boolean isPositiveAsPrimitive()
PromotionUserRestriction.positive attribute.public void setPositive(SessionContext ctx, java.lang.Boolean value)
PromotionUserRestriction.positive attribute.value - the positive - Specifies if this restriction is a positive (true) or negative (false) one.public void setPositive(java.lang.Boolean value)
PromotionUserRestriction.positive attribute.value - the positive - Specifies if this restriction is a positive (true) or negative (false) one.public void setPositive(SessionContext ctx, boolean value)
PromotionUserRestriction.positive attribute.value - the positive - Specifies if this restriction is a positive (true) or negative (false) one.public void setPositive(boolean value)
PromotionUserRestriction.positive attribute.value - the positive - Specifies if this restriction is a positive (true) or negative (false) one.public java.util.Collection<Principal> getUsers(SessionContext ctx)
PromotionUserRestriction.users attribute.public java.util.Collection<Principal> getUsers()
PromotionUserRestriction.users attribute.public void setUsers(SessionContext ctx, java.util.Collection<Principal> value)
PromotionUserRestriction.users attribute.value - the users - The principals the promotion is not applied forpublic void setUsers(java.util.Collection<Principal> value)
PromotionUserRestriction.users attribute.value - the users - The principals the promotion is not applied forCopyright © 2018 SAP SE. All Rights Reserved.