public abstract class GeneratedProductRestriction extends AbstractRestriction
CMSProductRestriction.GenericItem.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 |
PRODUCTCODES
Qualifier of the
CMSProductRestriction.productCodes attribute |
static java.lang.String |
PRODUCTS
Qualifier of the
CMSProductRestriction.products attribute |
protected static java.lang.String |
PRODUCTSFORRESTRICTION_MARKMODIFIED
Relation disable markmodifed parameter constants for ProductsForRestriction from ((cms2))
|
protected static java.lang.String |
PRODUCTSFORRESTRICTION_SRC_ORDERED
Relation ordering override parameter constants for ProductsForRestriction from ((cms2))
|
protected static java.lang.String |
PRODUCTSFORRESTRICTION_TGT_ORDERED |
COMPONENTS, INVERSERESTRICTIONS, INVERSERESTRICTIONSHANDLER, PAGES, RESTRICTIONSFORCOMPONENTS_MARKMODIFIED, RESTRICTIONSFORCOMPONENTS_SRC_ORDERED, RESTRICTIONSFORCOMPONENTS_TGT_ORDERED, RESTRICTIONSFORPAGES_MARKMODIFIED, RESTRICTIONSFORPAGES_SRC_ORDERED, RESTRICTIONSFORPAGES_TGT_ORDERED, TYPE, TYPECODECATALOGVERSION, NAME, UIDLANGUAGE_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, POSITIVE, SAVE_FROM_SERVICE_LAYER, staticTransientObjectsimpl, tenant| Constructor and Description |
|---|
GeneratedProductRestriction() |
| Modifier and Type | Method and Description |
|---|---|
void |
addToProducts(Product value)
Generated method - Adds
value to products. |
void |
addToProducts(SessionContext ctx,
Product value)
Generated method - Adds
value to products. |
protected java.util.Map<java.lang.String,Item.AttributeMode> |
getDefaultAttributeModes() |
java.util.List<java.lang.String> |
getProductCodes()
Generated method - Getter of the
CMSProductRestriction.productCodes attribute. |
abstract java.util.List<java.lang.String> |
getProductCodes(SessionContext ctx)
Generated method - Getter of the
CMSProductRestriction.productCodes attribute. |
java.util.Collection<Product> |
getProducts()
Generated method - Getter of the
CMSProductRestriction.products attribute. |
java.util.Collection<Product> |
getProducts(SessionContext ctx)
Generated method - Getter of the
CMSProductRestriction.products attribute. |
long |
getProductsCount() |
long |
getProductsCount(SessionContext ctx) |
boolean |
isMarkModifiedDisabled(Item referencedItem) |
void |
removeFromProducts(Product value)
Generated method - Removes
value from products. |
void |
removeFromProducts(SessionContext ctx,
Product value)
Generated method - Removes
value from products. |
void |
setProducts(java.util.Collection<Product> value)
Generated method - Setter of the
CMSProductRestriction.products attribute. |
void |
setProducts(SessionContext ctx,
java.util.Collection<Product> value)
Generated method - Setter of the
CMSProductRestriction.products attribute. |
getAllDescription, getAllType, getDescription, getDescription, getType, getTypeCodeaddToComponents, addToComponents, addToInverseRestrictions, addToInverseRestrictions, addToPages, addToPages, getAllType, getComponents, getComponents, getComponentsCount, getComponentsCount, getInverseRestrictions, getInverseRestrictions, getPages, getPages, getPagesCount, getPagesCount, getType, getTypeCode, removeFromComponents, removeFromComponents, removeFromInverseRestrictions, removeFromInverseRestrictions, removeFromPages, removeFromPages, setComponents, setComponents, setInverseRestrictions, setInverseRestrictions, setPages, setPagescreateItem, getNamegetCatalogVersion, getCatalogVersion, getName, getUid, getUid, setCatalogVersion, setCatalogVersion, setName, setName, setUid, setUidgetInitialProperties, 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, 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, toString, useTA, writeReplacesetTenantpublic static final java.lang.String PRODUCTCODES
CMSProductRestriction.productCodes attributepublic static final java.lang.String PRODUCTS
CMSProductRestriction.products attributeprotected static java.lang.String PRODUCTSFORRESTRICTION_SRC_ORDERED
protected static java.lang.String PRODUCTSFORRESTRICTION_TGT_ORDERED
protected static java.lang.String PRODUCTSFORRESTRICTION_MARKMODIFIED
protected 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 GeneratedAbstractRestrictionpublic boolean isMarkModifiedDisabled(Item referencedItem)
isMarkModifiedDisabled in class GeneratedAbstractRestrictionpublic abstract java.util.List<java.lang.String> getProductCodes(SessionContext ctx)
CMSProductRestriction.productCodes attribute.public java.util.List<java.lang.String> getProductCodes()
CMSProductRestriction.productCodes attribute.public java.util.Collection<Product> getProducts(SessionContext ctx)
CMSProductRestriction.products attribute.public java.util.Collection<Product> getProducts()
CMSProductRestriction.products attribute.public long getProductsCount(SessionContext ctx)
public long getProductsCount()
public void setProducts(SessionContext ctx, java.util.Collection<Product> value)
CMSProductRestriction.products attribute.value - the productspublic void setProducts(java.util.Collection<Product> value)
CMSProductRestriction.products attribute.value - the productspublic void addToProducts(SessionContext ctx, Product value)
value to products.value - the item to add to productspublic void addToProducts(Product value)
value to products.value - the item to add to productspublic void removeFromProducts(SessionContext ctx, Product value)
value from products.value - the item to remove from productspublic void removeFromProducts(Product value)
value from products.value - the item to remove from productsCopyright © 2018 SAP SE. All Rights Reserved.