public class AbstractRestrictionModel extends CMSItemModel
AbstractItemModel.NewModelContextFactory| Modifier and Type | Field and Description |
|---|---|
static String |
_RESTRICTIONSFORCOMPONENTS
Generated relation code constant for relation
RestrictionsForComponents defining source attribute components in extension cms2. |
static String |
_RESTRICTIONSFORPAGES
Generated relation code constant for relation
RestrictionsForPages defining source attribute pages in extension cms2. |
static String |
_TYPECODE
Generated model type code constant.
|
static String |
COMPONENTS
Generated constant - Attribute key of
AbstractRestriction.components attribute defined at extension cms2. |
static String |
DESCRIPTION
Generated constant - Attribute key of
AbstractRestriction.description attribute defined at extension cms2. |
static String |
INVERSERESTRICTIONS
Generated constant - Attribute key of
AbstractRestriction.inverseRestrictions attribute defined at extension cms2. |
static String |
PAGES
Generated constant - Attribute key of
AbstractRestriction.pages attribute defined at extension cms2. |
static String |
TYPE
Generated constant - Attribute key of
AbstractRestriction.type attribute defined at extension cms2. |
static String |
TYPECODE
Generated constant - Attribute key of
AbstractRestriction.typeCode attribute defined at extension cms2. |
CATALOGVERSION, NAME, UID_COMMENTITEMRELATION, COMMENTS, CREATIONTIME, ITEMTYPE, MODIFIEDTIME, OWNER, PKLANGUAGE_FALLBACK_ENABLED_SERVICE_LAYER, MODEL_CONTEXT_FACTORY| Constructor and Description |
|---|
AbstractRestrictionModel()
Generated constructor - Default constructor for generic creation.
|
AbstractRestrictionModel(CatalogVersionModel _catalogVersion,
ItemModel _owner,
String _uid)
Deprecated.
Since 4.1.1 Please use the default constructor without parameters
|
AbstractRestrictionModel(CatalogVersionModel _catalogVersion,
String _uid)
Deprecated.
Since 4.1.1 Please use the default constructor without parameters
|
AbstractRestrictionModel(ItemModelContext ctx)
Generated constructor - Default constructor for creation with existing context
|
| Modifier and Type | Method and Description |
|---|---|
Collection<AbstractCMSComponentModel> |
getComponents()
Generated method - Getter of the
AbstractRestriction.components attribute defined at extension cms2. |
String |
getDescription()
Generated method - Getter of the
AbstractRestriction.description dynamic attribute defined at extension cms2. |
Collection<CMSInverseRestrictionModel> |
getInverseRestrictions()
Generated method - Getter of the
AbstractRestriction.inverseRestrictions attribute defined at extension cms2. |
Collection<AbstractPageModel> |
getPages()
Generated method - Getter of the
AbstractRestriction.pages attribute defined at extension cms2. |
String |
getType()
Deprecated.
|
String |
getType(Locale loc)
Deprecated.
|
String |
getTypeCode()
Deprecated.
|
void |
setComponents(Collection<AbstractCMSComponentModel> value)
Generated method - Setter of
AbstractRestriction.components attribute defined at extension cms2. |
void |
setInverseRestrictions(Collection<CMSInverseRestrictionModel> value)
Generated method - Setter of
AbstractRestriction.inverseRestrictions attribute defined at extension cms2. |
void |
setPages(Collection<AbstractPageModel> value)
Generated method - Setter of
AbstractRestriction.pages attribute defined at extension cms2. |
getCatalogVersion, 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 _RESTRICTIONSFORPAGES
RestrictionsForPages defining source attribute pages in extension cms2.public static final String _RESTRICTIONSFORCOMPONENTS
RestrictionsForComponents defining source attribute components in extension cms2.public static final String TYPE
AbstractRestriction.type attribute defined at extension cms2.public static final String TYPECODE
AbstractRestriction.typeCode attribute defined at extension cms2.public static final String DESCRIPTION
AbstractRestriction.description attribute defined at extension cms2.public static final String PAGES
AbstractRestriction.pages attribute defined at extension cms2.public static final String COMPONENTS
AbstractRestriction.components attribute defined at extension cms2.public static final String INVERSERESTRICTIONS
AbstractRestriction.inverseRestrictions attribute defined at extension cms2.public AbstractRestrictionModel()
public AbstractRestrictionModel(ItemModelContext ctx)
ctx - the model context to be injected, must not be null@Deprecated public AbstractRestrictionModel(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 AbstractRestrictionModel(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="components", type=GETTER) public Collection<AbstractCMSComponentModel> getComponents()
AbstractRestriction.components attribute defined at extension cms2.
Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.@Accessor(qualifier="description", type=GETTER) public String getDescription()
AbstractRestriction.description dynamic attribute defined at extension cms2.@Accessor(qualifier="inverseRestrictions", type=GETTER) public Collection<CMSInverseRestrictionModel> getInverseRestrictions()
AbstractRestriction.inverseRestrictions attribute defined at extension cms2.
Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.@Accessor(qualifier="pages", type=GETTER) public Collection<AbstractPageModel> getPages()
AbstractRestriction.pages attribute defined at extension cms2.
Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.@Deprecated @Accessor(qualifier="type", type=GETTER) public String getType()
AbstractRestriction.type attribute defined at extension cms2.@Deprecated @Accessor(qualifier="type", type=GETTER) public String getType(Locale loc)
AbstractRestriction.type attribute defined at extension cms2.loc - the value localization keyIllegalArgumentException - if localization key cannot be mapped to data language@Deprecated @Accessor(qualifier="typeCode", type=GETTER) public String getTypeCode()
AbstractRestriction.typeCode attribute defined at extension cms2.@Accessor(qualifier="components", type=SETTER) public void setComponents(Collection<AbstractCMSComponentModel> value)
AbstractRestriction.components attribute defined at extension cms2.value - the components@Accessor(qualifier="inverseRestrictions", type=SETTER) public void setInverseRestrictions(Collection<CMSInverseRestrictionModel> value)
AbstractRestriction.inverseRestrictions attribute defined at extension cms2.value - the inverseRestrictions@Accessor(qualifier="pages", type=SETTER) public void setPages(Collection<AbstractPageModel> value)
AbstractRestriction.pages attribute defined at extension cms2.value - the pagesCopyright © 2017 SAP SE. All Rights Reserved.