public class AbstractCMSComponentModel extends CMSItemModel
AbstractItemModel.NewModelContextFactory| Modifier and Type | Field and Description |
|---|---|
static String |
_ELEMENTSFORSLOT
Generated relation code constant for relation
ElementsForSlot defining source attribute slots in extension cms2. |
static String |
_TYPECODE
Generated model type code constant.
|
static String |
ACTIONS
Generated constant - Attribute key of
AbstractCMSComponent.actions attribute defined at extension acceleratorcms. |
static String |
CONTAINER
Generated constant - Attribute key of
AbstractCMSComponent.container attribute defined at extension cms2. |
static String |
ONLYONERESTRICTIONMUSTAPPLY
Generated constant - Attribute key of
AbstractCMSComponent.onlyOneRestrictionMustApply attribute defined at extension cms2. |
static String |
RESTRICTED
Generated constant - Attribute key of
AbstractCMSComponent.restricted attribute defined at extension cms2. |
static String |
RESTRICTIONS
Generated constant - Attribute key of
AbstractCMSComponent.restrictions attribute defined at extension cms2. |
static String |
SLOTS
Generated constant - Attribute key of
AbstractCMSComponent.slots attribute defined at extension cms2. |
static String |
TYPE
Generated constant - Attribute key of
AbstractCMSComponent.type attribute defined at extension cms2. |
static String |
TYPECODE
Generated constant - Attribute key of
AbstractCMSComponent.typeCode attribute defined at extension cms2. |
static String |
VISIBLE
Generated constant - Attribute key of
AbstractCMSComponent.visible 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 |
|---|
AbstractCMSComponentModel()
Generated constructor - Default constructor for generic creation.
|
AbstractCMSComponentModel(CatalogVersionModel _catalogVersion,
ItemModel _owner,
String _uid)
Deprecated.
Since 4.1.1 Please use the default constructor without parameters
|
AbstractCMSComponentModel(CatalogVersionModel _catalogVersion,
String _uid)
Deprecated.
Since 4.1.1 Please use the default constructor without parameters
|
AbstractCMSComponentModel(ItemModelContext ctx)
Generated constructor - Default constructor for creation with existing context
|
| Modifier and Type | Method and Description |
|---|---|
List<AbstractCMSActionModel> |
getActions()
Generated method - Getter of the
AbstractCMSComponent.actions attribute defined at extension acceleratorcms. |
List<AbstractRestrictionModel> |
getRestrictions()
Generated method - Getter of the
AbstractCMSComponent.restrictions attribute defined at extension cms2. |
Collection<ContentSlotModel> |
getSlots()
Generated method - Getter of the
AbstractCMSComponent.slots attribute defined at extension cms2. |
String |
getType()
Deprecated.
|
String |
getType(Locale loc)
Deprecated.
|
String |
getTypeCode()
Deprecated.
|
Boolean |
getVisible()
Generated method - Getter of the
AbstractCMSComponent.visible attribute defined at extension cms2. |
boolean |
isContainer()
Deprecated.
|
boolean |
isOnlyOneRestrictionMustApply()
Generated method - Getter of the
AbstractCMSComponent.onlyOneRestrictionMustApply attribute defined at extension cms2. |
boolean |
isRestricted()
Deprecated.
|
void |
setActions(List<AbstractCMSActionModel> value)
Generated method - Setter of
AbstractCMSComponent.actions attribute defined at extension acceleratorcms. |
void |
setOnlyOneRestrictionMustApply(boolean value)
Generated method - Setter of
AbstractCMSComponent.onlyOneRestrictionMustApply attribute defined at extension cms2. |
void |
setRestrictions(List<AbstractRestrictionModel> value)
Generated method - Setter of
AbstractCMSComponent.restrictions attribute defined at extension cms2. |
void |
setSlots(Collection<ContentSlotModel> value)
Generated method - Setter of
AbstractCMSComponent.slots attribute defined at extension cms2. |
void |
setVisible(Boolean value)
Generated method - Setter of
AbstractCMSComponent.visible 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 _ELEMENTSFORSLOT
ElementsForSlot defining source attribute slots in extension cms2.public static final String VISIBLE
AbstractCMSComponent.visible attribute defined at extension cms2.public static final String ONLYONERESTRICTIONMUSTAPPLY
AbstractCMSComponent.onlyOneRestrictionMustApply attribute defined at extension cms2.public static final String TYPE
AbstractCMSComponent.type attribute defined at extension cms2.public static final String TYPECODE
AbstractCMSComponent.typeCode attribute defined at extension cms2.public static final String CONTAINER
AbstractCMSComponent.container attribute defined at extension cms2.public static final String RESTRICTED
AbstractCMSComponent.restricted attribute defined at extension cms2.public static final String SLOTS
AbstractCMSComponent.slots attribute defined at extension cms2.public static final String RESTRICTIONS
AbstractCMSComponent.restrictions attribute defined at extension cms2.public static final String ACTIONS
AbstractCMSComponent.actions attribute defined at extension acceleratorcms.public AbstractCMSComponentModel()
public AbstractCMSComponentModel(ItemModelContext ctx)
ctx - the model context to be injected, must not be null@Deprecated public AbstractCMSComponentModel(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 AbstractCMSComponentModel(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="actions", type=GETTER) public List<AbstractCMSActionModel> getActions()
AbstractCMSComponent.actions attribute defined at extension acceleratorcms.
Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.@Accessor(qualifier="restrictions", type=GETTER) public List<AbstractRestrictionModel> getRestrictions()
AbstractCMSComponent.restrictions attribute defined at extension cms2.
Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.@Accessor(qualifier="slots", type=GETTER) public Collection<ContentSlotModel> getSlots()
AbstractCMSComponent.slots 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()
AbstractCMSComponent.type attribute defined at extension cms2.@Deprecated @Accessor(qualifier="type", type=GETTER) public String getType(Locale loc)
AbstractCMSComponent.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()
AbstractCMSComponent.typeCode attribute defined at extension cms2.@Accessor(qualifier="visible", type=GETTER) public Boolean getVisible()
AbstractCMSComponent.visible attribute defined at extension cms2.@Deprecated @Accessor(qualifier="container", type=GETTER) public boolean isContainer()
AbstractCMSComponent.container attribute defined at extension cms2.@Accessor(qualifier="onlyOneRestrictionMustApply", type=GETTER) public boolean isOnlyOneRestrictionMustApply()
AbstractCMSComponent.onlyOneRestrictionMustApply attribute defined at extension cms2.@Deprecated @Accessor(qualifier="restricted", type=GETTER) public boolean isRestricted()
AbstractCMSComponent.restricted attribute defined at extension cms2.@Accessor(qualifier="actions", type=SETTER) public void setActions(List<AbstractCMSActionModel> value)
AbstractCMSComponent.actions attribute defined at extension acceleratorcms.value - the actions@Accessor(qualifier="onlyOneRestrictionMustApply", type=SETTER) public void setOnlyOneRestrictionMustApply(boolean value)
AbstractCMSComponent.onlyOneRestrictionMustApply attribute defined at extension cms2.value - the onlyOneRestrictionMustApply@Accessor(qualifier="restrictions", type=SETTER) public void setRestrictions(List<AbstractRestrictionModel> value)
AbstractCMSComponent.restrictions attribute defined at extension cms2.value - the restrictions@Accessor(qualifier="slots", type=SETTER) public void setSlots(Collection<ContentSlotModel> value)
AbstractCMSComponent.slots attribute defined at extension cms2.value - the slotsCopyright © 2017 SAP SE. All Rights Reserved.