public class CMSCategoryRestrictionModel extends AbstractRestrictionModel
AbstractItemModel.NewModelContextFactory| Modifier and Type | Field and Description |
|---|---|
static String |
_TYPECODE
Generated model type code constant.
|
static String |
CATEGORIES
Generated constant - Attribute key of
CMSCategoryRestriction.categories attribute defined at extension cms2. |
static String |
CATEGORYCODES
Generated constant - Attribute key of
CMSCategoryRestriction.categoryCodes attribute defined at extension cms2. |
static String |
RECURSIVE
Generated constant - Attribute key of
CMSCategoryRestriction.recursive attribute defined at extension cms2. |
_RESTRICTIONSFORCOMPONENTS, _RESTRICTIONSFORPAGES, COMPONENTS, DESCRIPTION, INVERSERESTRICTIONS, PAGES, TYPE, TYPECODECATALOGVERSION, NAME, UID_COMMENTITEMRELATION, COMMENTS, CREATIONTIME, ITEMTYPE, MODIFIEDTIME, OWNER, PKLANGUAGE_FALLBACK_ENABLED_SERVICE_LAYER, MODEL_CONTEXT_FACTORY| Constructor and Description |
|---|
CMSCategoryRestrictionModel()
Generated constructor - Default constructor for generic creation.
|
CMSCategoryRestrictionModel(CatalogVersionModel _catalogVersion,
ItemModel _owner,
String _uid)
Deprecated.
Since 4.1.1 Please use the default constructor without parameters
|
CMSCategoryRestrictionModel(CatalogVersionModel _catalogVersion,
String _uid)
Deprecated.
Since 4.1.1 Please use the default constructor without parameters
|
CMSCategoryRestrictionModel(ItemModelContext ctx)
Generated constructor - Default constructor for creation with existing context
|
| Modifier and Type | Method and Description |
|---|---|
Collection<CategoryModel> |
getCategories()
Generated method - Getter of the
CMSCategoryRestriction.categories attribute defined at extension cms2. |
List<String> |
getCategoryCodes()
Deprecated.
|
boolean |
isRecursive()
Generated method - Getter of the
CMSCategoryRestriction.recursive attribute defined at extension cms2. |
void |
setCategories(Collection<CategoryModel> value)
Generated method - Setter of
CMSCategoryRestriction.categories attribute defined at extension cms2. |
void |
setRecursive(boolean value)
Generated method - Setter of
CMSCategoryRestriction.recursive attribute defined at extension cms2. |
getComponents, getDescription, getInverseRestrictions, getPages, getType, getType, getTypeCode, setComponents, setInverseRestrictions, setPagesgetCatalogVersion, getName, getUid, setCatalogVersion, setName, setUidgetComments, getCreationtime, getModifiedtime, getOwner, 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 String _TYPECODE
public static final String RECURSIVE
CMSCategoryRestriction.recursive attribute defined at extension cms2.public static final String CATEGORYCODES
CMSCategoryRestriction.categoryCodes attribute defined at extension cms2.public static final String CATEGORIES
CMSCategoryRestriction.categories attribute defined at extension cms2.public CMSCategoryRestrictionModel()
public CMSCategoryRestrictionModel(ItemModelContext ctx)
ctx - the model context to be injected, must not be null@Deprecated public CMSCategoryRestrictionModel(CatalogVersionModel _catalogVersion, String _uid)
_catalogVersion - initial attribute declared by type CMSItem at extension cms2_uid - initial attribute declared by type CMSItem at extension cms2@Deprecated public CMSCategoryRestrictionModel(CatalogVersionModel _catalogVersion, ItemModel _owner, 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@Accessor(qualifier="categories", type=GETTER) public Collection<CategoryModel> getCategories()
CMSCategoryRestriction.categories attribute defined at extension cms2.
Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.@Deprecated @Accessor(qualifier="categoryCodes", type=GETTER) public List<String> getCategoryCodes()
CMSCategoryRestriction.categoryCodes attribute defined at extension cms2.
Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.@Accessor(qualifier="recursive", type=GETTER) public boolean isRecursive()
CMSCategoryRestriction.recursive attribute defined at extension cms2.@Accessor(qualifier="categories", type=SETTER) public void setCategories(Collection<CategoryModel> value)
CMSCategoryRestriction.categories attribute defined at extension cms2.value - the categoriesCopyright © 2017 SAP SE. All Rights Reserved.