public class ContentBlockModel extends ItemModel
AbstractItemModel.NewModelContextFactory| Modifier and Type | Field and Description |
|---|---|
static String |
_CATEGORY2CONTENTBLOCKRELATION
Generated relation code constant for relation
Category2ContentBlockRelation defining source attribute categories in extension print. |
static String |
_TYPECODE
Generated model type code constant.
|
static String |
CATALOGVERSION
Generated constant - Attribute key of
ContentBlock.catalogVersion attribute defined at extension print. |
static String |
CATEGORIES
Generated constant - Attribute key of
ContentBlock.categories attribute defined at extension print. |
static String |
CODE
Generated constant - Attribute key of
ContentBlock.code attribute defined at extension print. |
static String |
NAME
Generated constant - Attribute key of
ContentBlock.name attribute defined at extension print. |
static String |
RENDEREDCONTENT
Generated constant - Attribute key of
ContentBlock.renderedContent attribute defined at extension print. |
_COMMENTITEMRELATION, COMMENTS, CREATIONTIME, ITEMTYPE, MODIFIEDTIME, OWNER, PKLANGUAGE_FALLBACK_ENABLED_SERVICE_LAYER, MODEL_CONTEXT_FACTORY| Constructor and Description |
|---|
ContentBlockModel()
Generated constructor - Default constructor for generic creation.
|
ContentBlockModel(CatalogVersionModel _catalogVersion,
String _code)
Deprecated.
Since 4.1.1 Please use the default constructor without parameters
|
ContentBlockModel(CatalogVersionModel _catalogVersion,
String _code,
ItemModel _owner)
Deprecated.
Since 4.1.1 Please use the default constructor without parameters
|
ContentBlockModel(ItemModelContext ctx)
Generated constructor - Default constructor for creation with existing context
|
| Modifier and Type | Method and Description |
|---|---|
CatalogVersionModel |
getCatalogVersion()
Generated method - Getter of the
ContentBlock.catalogVersion attribute defined at extension print. |
Collection<CategoryModel> |
getCategories()
Generated method - Getter of the
ContentBlock.categories attribute defined at extension print. |
String |
getCode()
Generated method - Getter of the
ContentBlock.code attribute defined at extension print. |
String |
getName()
Generated method - Getter of the
ContentBlock.name attribute defined at extension print. |
String |
getName(Locale loc)
Generated method - Getter of the
ContentBlock.name attribute defined at extension print. |
String |
getRenderedContent()
Generated method - Getter of the
ContentBlock.renderedContent attribute defined at extension print. |
void |
setCatalogVersion(CatalogVersionModel value)
Generated method - Setter of
ContentBlock.catalogVersion attribute defined at extension print. |
void |
setCategories(Collection<CategoryModel> value)
Generated method - Setter of
ContentBlock.categories attribute defined at extension print. |
void |
setCode(String value)
Generated method - Setter of
ContentBlock.code attribute defined at extension print. |
void |
setName(String value)
Generated method - Setter of
ContentBlock.name attribute defined at extension print. |
void |
setName(String value,
Locale loc)
Generated method - Setter of
ContentBlock.name attribute defined at extension print. |
getComments, 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 _CATEGORY2CONTENTBLOCKRELATION
Category2ContentBlockRelation defining source attribute categories in extension print.public static final String CODE
ContentBlock.code attribute defined at extension print.public static final String NAME
ContentBlock.name attribute defined at extension print.public static final String CATALOGVERSION
ContentBlock.catalogVersion attribute defined at extension print.public static final String RENDEREDCONTENT
ContentBlock.renderedContent attribute defined at extension print.public static final String CATEGORIES
ContentBlock.categories attribute defined at extension print.public ContentBlockModel()
public ContentBlockModel(ItemModelContext ctx)
ctx - the model context to be injected, must not be null@Deprecated public ContentBlockModel(CatalogVersionModel _catalogVersion, String _code)
_catalogVersion - initial attribute declared by type ContentBlock at extension print_code - initial attribute declared by type ContentBlock at extension print@Deprecated public ContentBlockModel(CatalogVersionModel _catalogVersion, String _code, ItemModel _owner)
_catalogVersion - initial attribute declared by type ContentBlock at extension print_code - initial attribute declared by type ContentBlock at extension print_owner - initial attribute declared by type Item at extension core@Accessor(qualifier="catalogVersion", type=GETTER) public CatalogVersionModel getCatalogVersion()
ContentBlock.catalogVersion attribute defined at extension print.@Accessor(qualifier="categories", type=GETTER) public Collection<CategoryModel> getCategories()
ContentBlock.categories attribute defined at extension print.
Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.@Accessor(qualifier="code", type=GETTER) public String getCode()
ContentBlock.code attribute defined at extension print.@Accessor(qualifier="name", type=GETTER) public String getName()
ContentBlock.name attribute defined at extension print.@Accessor(qualifier="name", type=GETTER) public String getName(Locale loc)
ContentBlock.name attribute defined at extension print.loc - the value localization keyIllegalArgumentException - if localization key cannot be mapped to data language@Accessor(qualifier="renderedContent", type=GETTER) public String getRenderedContent()
ContentBlock.renderedContent attribute defined at extension print.@Accessor(qualifier="catalogVersion", type=SETTER) public void setCatalogVersion(CatalogVersionModel value)
ContentBlock.catalogVersion attribute defined at extension print.value - the catalogVersion@Accessor(qualifier="categories", type=SETTER) public void setCategories(Collection<CategoryModel> value)
ContentBlock.categories attribute defined at extension print.value - the categories@Accessor(qualifier="code", type=SETTER) public void setCode(String value)
ContentBlock.code attribute defined at extension print.value - the code@Accessor(qualifier="name", type=SETTER) public void setName(String value)
ContentBlock.name attribute defined at extension print.value - the name@Accessor(qualifier="name", type=SETTER) public void setName(String value, Locale loc)
ContentBlock.name attribute defined at extension print.value - the nameloc - the value localization keyIllegalArgumentException - if localization key cannot be mapped to data languageCopyright © 2017 SAP SE. All Rights Reserved.