public class CMSParagraphComponentModel extends SimpleCMSComponentModel
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
_TYPECODE
Generated model type code constant.
|
static java.lang.String |
CONTENT
Generated constant - Attribute key of
CMSParagraphComponent.content attribute defined at extension cms2. |
_ELEMENTSFORCONTAINER, CONTAINERS_ELEMENTSFORSLOT, ACTIONS, CONTAINER, ONLYONERESTRICTIONMUSTAPPLY, RESTRICTED, RESTRICTIONS, SLOTS, TYPE, TYPECODE, VISIBLECATALOGVERSION, NAME, UID_COMMENTITEMRELATION, COMMENTS, CREATIONTIME, ITEMTYPE, MODIFIEDTIME, OWNER, PK, SEALED| Constructor and Description |
|---|
CMSParagraphComponentModel()
Generated constructor - Default constructor for generic creation.
|
CMSParagraphComponentModel(CatalogVersionModel _catalogVersion,
ItemModel _owner,
java.lang.String _uid)
Deprecated.
since 4.1.1 Please use the default constructor without parameters
|
CMSParagraphComponentModel(CatalogVersionModel _catalogVersion,
java.lang.String _uid)
Deprecated.
since 4.1.1 Please use the default constructor without parameters
|
CMSParagraphComponentModel(ItemModelContext ctx)
Generated constructor - Default constructor for creation with existing context
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getContent()
Generated method - Getter of the
CMSParagraphComponent.content attribute defined at extension cms2. |
java.lang.String |
getContent(java.util.Locale loc)
Generated method - Getter of the
CMSParagraphComponent.content attribute defined at extension cms2. |
void |
setContent(java.lang.String value)
Generated method - Setter of
CMSParagraphComponent.content attribute defined at extension cms2. |
void |
setContent(java.lang.String value,
java.util.Locale loc)
Generated method - Setter of
CMSParagraphComponent.content attribute defined at extension cms2. |
getContainers, setContainersgetActions, getRestrictions, getSlots, getType, getType, getTypeCode, getVisible, isContainer, isOnlyOneRestrictionMustApply, isRestricted, setActions, setOnlyOneRestrictionMustApply, setRestrictions, setSlots, setVisiblegetCatalogVersion, getName, getUid, setCatalogVersion, setName, setUidgetComments, getCreationtime, getModifiedtime, getOwner, isSealed, setComments, setCreationtime, setModifiedtime, setOwnerpublic static final java.lang.String _TYPECODE
public static final java.lang.String CONTENT
CMSParagraphComponent.content attribute defined at extension cms2.public CMSParagraphComponentModel()
public CMSParagraphComponentModel(ItemModelContext ctx)
ctx - the model context to be injected, must not be null@Deprecated public CMSParagraphComponentModel(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 CMSParagraphComponentModel(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 cms2public java.lang.String getContent()
CMSParagraphComponent.content attribute defined at extension cms2.public java.lang.String getContent(java.util.Locale loc)
CMSParagraphComponent.content attribute defined at extension cms2.loc - the value localization keyjava.lang.IllegalArgumentException - if localization key cannot be mapped to data languagepublic void setContent(java.lang.String value)
CMSParagraphComponent.content attribute defined at extension cms2.value - the contentpublic void setContent(java.lang.String value,
java.util.Locale loc)
CMSParagraphComponent.content attribute defined at extension cms2.value - the contentloc - the value localization keyjava.lang.IllegalArgumentException - if localization key cannot be mapped to data languageCopyright © 2018 SAP SE. All Rights Reserved.