public class AbstractRestrictionModel extends CMSItemModel
AbstractItemModel.NewModelContextFactory| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
_RESTRICTIONSFORCOMPONENTS
Generated relation code constant for relation
RestrictionsForComponents defining source attribute components in extension cms2. |
static java.lang.String |
_RESTRICTIONSFORPAGES
Generated relation code constant for relation
RestrictionsForPages defining source attribute pages in extension cms2. |
static java.lang.String |
_TYPECODE
Generated model type code constant.
|
static java.lang.String |
COMPONENTS
Generated constant - Attribute key of
AbstractRestriction.components attribute defined at extension cms2. |
static java.lang.String |
DESCRIPTION
Generated constant - Attribute key of
AbstractRestriction.description attribute defined at extension cms2. |
static java.lang.String |
INVERSERESTRICTIONS
Generated constant - Attribute key of
AbstractRestriction.inverseRestrictions attribute defined at extension cms2. |
static java.lang.String |
PAGES
Generated constant - Attribute key of
AbstractRestriction.pages attribute defined at extension cms2. |
static java.lang.String |
TYPE
Generated constant - Attribute key of
AbstractRestriction.type attribute defined at extension cms2. |
static java.lang.String |
TYPECODE
Generated constant - Attribute key of
AbstractRestriction.typeCode attribute defined at extension cms2. |
CATALOGVERSION, NAME, UID_COMMENTITEMRELATION, COMMENTS, CREATIONTIME, ITEMTYPE, MODIFIEDTIME, OWNER, PK, SEALEDLANGUAGE_FALLBACK_ENABLED_SERVICE_LAYER, MODEL_CONTEXT_FACTORY| Constructor and Description |
|---|
AbstractRestrictionModel()
Generated constructor - Default constructor for generic creation.
|
AbstractRestrictionModel(CatalogVersionModel _catalogVersion,
ItemModel _owner,
java.lang.String _uid)
Deprecated.
since 4.1.1 Please use the default constructor without parameters
|
AbstractRestrictionModel(CatalogVersionModel _catalogVersion,
java.lang.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 |
|---|---|
java.util.Collection<AbstractCMSComponentModel> |
getComponents()
Generated method - Getter of the
AbstractRestriction.components attribute defined at extension cms2. |
java.lang.String |
getDescription()
Generated method - Getter of the
AbstractRestriction.description dynamic attribute defined at extension cms2. |
java.util.Collection<CMSInverseRestrictionModel> |
getInverseRestrictions()
Generated method - Getter of the
AbstractRestriction.inverseRestrictions attribute defined at extension cms2. |
java.util.Collection<AbstractPageModel> |
getPages()
Generated method - Getter of the
AbstractRestriction.pages attribute defined at extension cms2. |
java.lang.String |
getType()
Deprecated.
since 4.3
|
java.lang.String |
getType(java.util.Locale loc)
Deprecated.
|
java.lang.String |
getTypeCode()
Deprecated.
since 4.3
|
void |
setComponents(java.util.Collection<AbstractCMSComponentModel> value)
Generated method - Setter of
AbstractRestriction.components attribute defined at extension cms2. |
void |
setInverseRestrictions(java.util.Collection<CMSInverseRestrictionModel> value)
Generated method - Setter of
AbstractRestriction.inverseRestrictions attribute defined at extension cms2. |
void |
setPages(java.util.Collection<AbstractPageModel> value)
Generated method - Setter of
AbstractRestriction.pages attribute defined at extension cms2. |
getCatalogVersion, 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 _RESTRICTIONSFORPAGES
RestrictionsForPages defining source attribute pages in extension cms2.public static final java.lang.String _RESTRICTIONSFORCOMPONENTS
RestrictionsForComponents defining source attribute components in extension cms2.public static final java.lang.String TYPE
AbstractRestriction.type attribute defined at extension cms2.public static final java.lang.String TYPECODE
AbstractRestriction.typeCode attribute defined at extension cms2.public static final java.lang.String DESCRIPTION
AbstractRestriction.description attribute defined at extension cms2.public static final java.lang.String PAGES
AbstractRestriction.pages attribute defined at extension cms2.public static final java.lang.String COMPONENTS
AbstractRestriction.components attribute defined at extension cms2.public static final java.lang.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, 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 AbstractRestrictionModel(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@Accessor(qualifier="components", type=GETTER) public java.util.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 java.lang.String getDescription()
AbstractRestriction.description dynamic attribute defined at extension cms2.@Accessor(qualifier="inverseRestrictions", type=GETTER) public java.util.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 java.util.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 java.lang.String getType()
AbstractRestriction.type attribute defined at extension cms2.@Deprecated @Accessor(qualifier="type", type=GETTER) public java.lang.String getType(java.util.Locale loc)
AbstractRestriction.type attribute defined at extension cms2.loc - the value localization keyjava.lang.IllegalArgumentException - if localization key cannot be mapped to data language@Deprecated @Accessor(qualifier="typeCode", type=GETTER) public java.lang.String getTypeCode()
AbstractRestriction.typeCode attribute defined at extension cms2.@Accessor(qualifier="components", type=SETTER) public void setComponents(java.util.Collection<AbstractCMSComponentModel> value)
AbstractRestriction.components attribute defined at extension cms2.value - the components@Accessor(qualifier="inverseRestrictions", type=SETTER) public void setInverseRestrictions(java.util.Collection<CMSInverseRestrictionModel> value)
AbstractRestriction.inverseRestrictions attribute defined at extension cms2.value - the inverseRestrictions@Accessor(qualifier="pages", type=SETTER) public void setPages(java.util.Collection<AbstractPageModel> value)
AbstractRestriction.pages attribute defined at extension cms2.value - the pagesCopyright © 2018 SAP SE. All Rights Reserved.