public class CMSProductRestrictionModel extends AbstractRestrictionModel
AbstractItemModel.NewModelContextFactory| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
_TYPECODE
Generated model type code constant.
|
static java.lang.String |
PRODUCTCODES
Generated constant - Attribute key of
CMSProductRestriction.productCodes attribute defined at extension cms2. |
static java.lang.String |
PRODUCTS
Generated constant - Attribute key of
CMSProductRestriction.products attribute defined at extension cms2. |
_RESTRICTIONSFORCOMPONENTS, _RESTRICTIONSFORPAGES, COMPONENTS, DESCRIPTION, INVERSERESTRICTIONS, PAGES, TYPE, TYPECODECATALOGVERSION, NAME, UID_COMMENTITEMRELATION, COMMENTS, CREATIONTIME, ITEMTYPE, MODIFIEDTIME, OWNER, PK, SEALEDLANGUAGE_FALLBACK_ENABLED_SERVICE_LAYER, MODEL_CONTEXT_FACTORY| Constructor and Description |
|---|
CMSProductRestrictionModel()
Generated constructor - Default constructor for generic creation.
|
CMSProductRestrictionModel(CatalogVersionModel _catalogVersion,
ItemModel _owner,
java.lang.String _uid)
Deprecated.
since 4.1.1 Please use the default constructor without parameters
|
CMSProductRestrictionModel(CatalogVersionModel _catalogVersion,
java.lang.String _uid)
Deprecated.
since 4.1.1 Please use the default constructor without parameters
|
CMSProductRestrictionModel(ItemModelContext ctx)
Generated constructor - Default constructor for creation with existing context
|
| Modifier and Type | Method and Description |
|---|---|
java.util.List<java.lang.String> |
getProductCodes()
Deprecated.
since 4.3
|
java.util.Collection<ProductModel> |
getProducts()
Generated method - Getter of the
CMSProductRestriction.products attribute defined at extension cms2. |
void |
setProducts(java.util.Collection<ProductModel> value)
Generated method - Setter of
CMSProductRestriction.products attribute defined at extension cms2. |
getComponents, getDescription, getInverseRestrictions, getPages, getType, getType, getTypeCode, setComponents, setInverseRestrictions, setPagesgetCatalogVersion, getName, getUid, setCatalogVersion, setName, setUidgetComments, 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 PRODUCTCODES
CMSProductRestriction.productCodes attribute defined at extension cms2.public static final java.lang.String PRODUCTS
CMSProductRestriction.products attribute defined at extension cms2.public CMSProductRestrictionModel()
public CMSProductRestrictionModel(ItemModelContext ctx)
ctx - the model context to be injected, must not be null@Deprecated public CMSProductRestrictionModel(CatalogVersionModel _catalogVersion, java.lang.String _uid)
_catalogVersion - initial attribute declared by type CMSItem at extension cms2_uid - initial attribute declared by type CMSItem at extension cms2@Deprecated public CMSProductRestrictionModel(CatalogVersionModel _catalogVersion, ItemModel _owner, java.lang.String _uid)
_catalogVersion - initial attribute declared by type CMSItem at extension cms2_owner - initial attribute declared by type Item at extension core_uid - initial attribute declared by type CMSItem at extension cms2@Deprecated @Accessor(qualifier="productCodes", type=GETTER) public java.util.List<java.lang.String> getProductCodes()
CMSProductRestriction.productCodes attribute defined at extension cms2.
Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.@Accessor(qualifier="products", type=GETTER) public java.util.Collection<ProductModel> getProducts()
CMSProductRestriction.products attribute defined at extension cms2.
Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.@Accessor(qualifier="products", type=SETTER) public void setProducts(java.util.Collection<ProductModel> value)
CMSProductRestriction.products attribute defined at extension cms2.value - the productsCopyright © 2018 SAP SE. All Rights Reserved.