public class CMSLinkComponentModel extends SimpleCMSComponentModel
AbstractItemModel.NewModelContextFactory| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
_CMSLINKCOMPONENTSFORCATEGORY
Generated relation code constant for relation
CmsLinkComponentsForCategory defining source attribute category in extension cms2. |
static java.lang.String |
_CMSLINKCOMPONENTSFORCONTENTPAGE
Generated relation code constant for relation
CmsLinkComponentsForContentPage defining source attribute contentPage in extension cms2. |
static java.lang.String |
_CMSLINKCOMPONENTSFORPRODUCT
Generated relation code constant for relation
CmsLinkComponentsForProduct defining source attribute product in extension cms2. |
static java.lang.String |
_TYPECODE
Generated model type code constant.
|
static java.lang.String |
CATEGORY
Generated constant - Attribute key of
CMSLinkComponent.category attribute defined at extension cms2. |
static java.lang.String |
CATEGORYCODE
Generated constant - Attribute key of
CMSLinkComponent.categoryCode attribute defined at extension cms2. |
static java.lang.String |
CATEGORYPOS
Generated constant - Attribute key of
CMSLinkComponent.categoryPOS attribute defined at extension cms2. |
static java.lang.String |
CONTENTPAGE
Generated constant - Attribute key of
CMSLinkComponent.contentPage attribute defined at extension cms2. |
static java.lang.String |
CONTENTPAGELABELORID
Generated constant - Attribute key of
CMSLinkComponent.contentPageLabelOrId attribute defined at extension cms2. |
static java.lang.String |
CONTENTPAGEPOS
Generated constant - Attribute key of
CMSLinkComponent.contentPagePOS attribute defined at extension cms2. |
static java.lang.String |
EXTERNAL
Generated constant - Attribute key of
CMSLinkComponent.external attribute defined at extension cms2. |
static java.lang.String |
LINKNAME
Generated constant - Attribute key of
CMSLinkComponent.linkName attribute defined at extension cms2. |
static java.lang.String |
NAVIGATIONNODES
Generated constant - Attribute key of
CMSLinkComponent.navigationNodes attribute defined at extension cms2. |
static java.lang.String |
PRODUCT
Generated constant - Attribute key of
CMSLinkComponent.product attribute defined at extension cms2. |
static java.lang.String |
PRODUCTCODE
Generated constant - Attribute key of
CMSLinkComponent.productCode attribute defined at extension cms2. |
static java.lang.String |
PRODUCTPOS
Generated constant - Attribute key of
CMSLinkComponent.productPOS attribute defined at extension cms2. |
static java.lang.String |
STYLEATTRIBUTES
Generated constant - Attribute key of
CMSLinkComponent.styleAttributes attribute defined at extension acceleratorcms. |
static java.lang.String |
TARGET
Generated constant - Attribute key of
CMSLinkComponent.target attribute defined at extension cms2. |
static java.lang.String |
THUMBNAIL
Generated constant - Attribute key of
CMSLinkComponent.thumbnail attribute defined at extension verticalnavigationaddon. |
static java.lang.String |
THUMBNAILONLY
Generated constant - Attribute key of
CMSLinkComponent.thumbnailOnly attribute defined at extension verticalnavigationaddon. |
static java.lang.String |
URL
Generated constant - Attribute key of
CMSLinkComponent.url 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, SEALEDLANGUAGE_FALLBACK_ENABLED_SERVICE_LAYER, MODEL_CONTEXT_FACTORY| Constructor and Description |
|---|
CMSLinkComponentModel()
Generated constructor - Default constructor for generic creation.
|
CMSLinkComponentModel(CatalogVersionModel _catalogVersion,
ItemModel _owner,
java.lang.String _uid)
Deprecated.
since 4.1.1 Please use the default constructor without parameters
|
CMSLinkComponentModel(CatalogVersionModel _catalogVersion,
java.lang.String _uid)
Deprecated.
since 4.1.1 Please use the default constructor without parameters
|
CMSLinkComponentModel(ItemModelContext ctx)
Generated constructor - Default constructor for creation with existing context
|
| Modifier and Type | Method and Description |
|---|---|
CategoryModel |
getCategory()
Generated method - Getter of the
CMSLinkComponent.category attribute defined at extension cms2. |
java.lang.String |
getCategoryCode()
Deprecated.
since 4.3
|
ContentPageModel |
getContentPage()
Generated method - Getter of the
CMSLinkComponent.contentPage attribute defined at extension cms2. |
java.lang.String |
getContentPageLabelOrId()
Deprecated.
since 4.3
|
java.lang.String |
getLinkName()
Generated method - Getter of the
CMSLinkComponent.linkName attribute defined at extension cms2. |
java.lang.String |
getLinkName(java.util.Locale loc)
Generated method - Getter of the
CMSLinkComponent.linkName attribute defined at extension cms2. |
java.util.List<CMSNavigationNodeModel> |
getNavigationNodes()
Deprecated.
since 4.4
|
ProductModel |
getProduct()
Generated method - Getter of the
CMSLinkComponent.product attribute defined at extension cms2. |
java.lang.String |
getProductCode()
Deprecated.
since 4.3
|
java.lang.String |
getStyleAttributes()
Generated method - Getter of the
CMSLinkComponent.styleAttributes attribute defined at extension acceleratorcms. |
LinkTargets |
getTarget()
Generated method - Getter of the
CMSLinkComponent.target attribute defined at extension cms2. |
MediaModel |
getThumbnail()
Generated method - Getter of the
CMSLinkComponent.thumbnail attribute defined at extension verticalnavigationaddon. |
java.lang.String |
getUrl()
Generated method - Getter of the
CMSLinkComponent.url attribute defined at extension cms2. |
boolean |
isExternal()
Generated method - Getter of the
CMSLinkComponent.external attribute defined at extension cms2. |
boolean |
isThumbnailOnly()
Generated method - Getter of the
CMSLinkComponent.thumbnailOnly attribute defined at extension verticalnavigationaddon. |
void |
setCategory(CategoryModel value)
Generated method - Setter of
CMSLinkComponent.category attribute defined at extension cms2. |
void |
setContentPage(ContentPageModel value)
Generated method - Setter of
CMSLinkComponent.contentPage attribute defined at extension cms2. |
void |
setExternal(boolean value)
Generated method - Setter of
CMSLinkComponent.external attribute defined at extension cms2. |
void |
setLinkName(java.lang.String value)
Generated method - Setter of
CMSLinkComponent.linkName attribute defined at extension cms2. |
void |
setLinkName(java.lang.String value,
java.util.Locale loc)
Generated method - Setter of
CMSLinkComponent.linkName attribute defined at extension cms2. |
void |
setNavigationNodes(java.util.List<CMSNavigationNodeModel> value)
Deprecated.
since 4.4
|
void |
setProduct(ProductModel value)
Generated method - Setter of
CMSLinkComponent.product attribute defined at extension cms2. |
void |
setStyleAttributes(java.lang.String value)
Generated method - Setter of
CMSLinkComponent.styleAttributes attribute defined at extension acceleratorcms. |
void |
setTarget(LinkTargets value)
Generated method - Setter of
CMSLinkComponent.target attribute defined at extension cms2. |
void |
setThumbnail(MediaModel value)
Generated method - Setter of
CMSLinkComponent.thumbnail attribute defined at extension verticalnavigationaddon. |
void |
setThumbnailOnly(boolean value)
Generated method - Setter of
CMSLinkComponent.thumbnailOnly attribute defined at extension verticalnavigationaddon. |
void |
setUrl(java.lang.String value)
Generated method - Setter of
CMSLinkComponent.url 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, 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 _CMSLINKCOMPONENTSFORCONTENTPAGE
CmsLinkComponentsForContentPage defining source attribute contentPage in extension cms2.public static final java.lang.String _CMSLINKCOMPONENTSFORPRODUCT
CmsLinkComponentsForProduct defining source attribute product in extension cms2.public static final java.lang.String _CMSLINKCOMPONENTSFORCATEGORY
CmsLinkComponentsForCategory defining source attribute category in extension cms2.public static final java.lang.String LINKNAME
CMSLinkComponent.linkName attribute defined at extension cms2.public static final java.lang.String EXTERNAL
CMSLinkComponent.external attribute defined at extension cms2.public static final java.lang.String URL
CMSLinkComponent.url attribute defined at extension cms2.public static final java.lang.String CONTENTPAGELABELORID
CMSLinkComponent.contentPageLabelOrId attribute defined at extension cms2.public static final java.lang.String PRODUCTCODE
CMSLinkComponent.productCode attribute defined at extension cms2.public static final java.lang.String CATEGORYCODE
CMSLinkComponent.categoryCode attribute defined at extension cms2.public static final java.lang.String TARGET
CMSLinkComponent.target attribute defined at extension cms2.public static final java.lang.String NAVIGATIONNODES
CMSLinkComponent.navigationNodes attribute defined at extension cms2.public static final java.lang.String CONTENTPAGEPOS
CMSLinkComponent.contentPagePOS attribute defined at extension cms2.public static final java.lang.String CONTENTPAGE
CMSLinkComponent.contentPage attribute defined at extension cms2.public static final java.lang.String PRODUCTPOS
CMSLinkComponent.productPOS attribute defined at extension cms2.public static final java.lang.String PRODUCT
CMSLinkComponent.product attribute defined at extension cms2.public static final java.lang.String CATEGORYPOS
CMSLinkComponent.categoryPOS attribute defined at extension cms2.public static final java.lang.String CATEGORY
CMSLinkComponent.category attribute defined at extension cms2.public static final java.lang.String STYLEATTRIBUTES
CMSLinkComponent.styleAttributes attribute defined at extension acceleratorcms.public static final java.lang.String THUMBNAIL
CMSLinkComponent.thumbnail attribute defined at extension verticalnavigationaddon.public static final java.lang.String THUMBNAILONLY
CMSLinkComponent.thumbnailOnly attribute defined at extension verticalnavigationaddon.public CMSLinkComponentModel()
public CMSLinkComponentModel(ItemModelContext ctx)
ctx - the model context to be injected, must not be null@Deprecated public CMSLinkComponentModel(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 CMSLinkComponentModel(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="category", type=GETTER) public CategoryModel getCategory()
CMSLinkComponent.category attribute defined at extension cms2.@Deprecated @Accessor(qualifier="categoryCode", type=GETTER) public java.lang.String getCategoryCode()
CMSLinkComponent.categoryCode attribute defined at extension cms2.@Accessor(qualifier="contentPage", type=GETTER) public ContentPageModel getContentPage()
CMSLinkComponent.contentPage attribute defined at extension cms2.@Deprecated @Accessor(qualifier="contentPageLabelOrId", type=GETTER) public java.lang.String getContentPageLabelOrId()
CMSLinkComponent.contentPageLabelOrId attribute defined at extension cms2.@Accessor(qualifier="linkName", type=GETTER) public java.lang.String getLinkName()
CMSLinkComponent.linkName attribute defined at extension cms2.@Accessor(qualifier="linkName", type=GETTER) public java.lang.String getLinkName(java.util.Locale loc)
CMSLinkComponent.linkName attribute defined at extension cms2.loc - the value localization keyjava.lang.IllegalArgumentException - if localization key cannot be mapped to data language@Deprecated @Accessor(qualifier="navigationNodes", type=GETTER) public java.util.List<CMSNavigationNodeModel> getNavigationNodes()
CMSLinkComponent.navigationNodes attribute defined at extension cms2.
Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.@Accessor(qualifier="product", type=GETTER) public ProductModel getProduct()
CMSLinkComponent.product attribute defined at extension cms2.@Deprecated @Accessor(qualifier="productCode", type=GETTER) public java.lang.String getProductCode()
CMSLinkComponent.productCode attribute defined at extension cms2.@Accessor(qualifier="styleAttributes", type=GETTER) public java.lang.String getStyleAttributes()
CMSLinkComponent.styleAttributes attribute defined at extension acceleratorcms.@Accessor(qualifier="target", type=GETTER) public LinkTargets getTarget()
CMSLinkComponent.target attribute defined at extension cms2.@Accessor(qualifier="thumbnail", type=GETTER) public MediaModel getThumbnail()
CMSLinkComponent.thumbnail attribute defined at extension verticalnavigationaddon.@Accessor(qualifier="url", type=GETTER) public java.lang.String getUrl()
CMSLinkComponent.url attribute defined at extension cms2.@Accessor(qualifier="external", type=GETTER) public boolean isExternal()
CMSLinkComponent.external attribute defined at extension cms2.@Accessor(qualifier="thumbnailOnly", type=GETTER) public boolean isThumbnailOnly()
CMSLinkComponent.thumbnailOnly attribute defined at extension verticalnavigationaddon.@Accessor(qualifier="category", type=SETTER) public void setCategory(CategoryModel value)
CMSLinkComponent.category attribute defined at extension cms2.value - the category@Accessor(qualifier="contentPage", type=SETTER) public void setContentPage(ContentPageModel value)
CMSLinkComponent.contentPage attribute defined at extension cms2.value - the contentPage@Accessor(qualifier="external", type=SETTER) public void setExternal(boolean value)
CMSLinkComponent.external attribute defined at extension cms2.value - the external@Accessor(qualifier="linkName", type=SETTER) public void setLinkName(java.lang.String value)
CMSLinkComponent.linkName attribute defined at extension cms2.value - the linkName@Accessor(qualifier="linkName", type=SETTER) public void setLinkName(java.lang.String value, java.util.Locale loc)
CMSLinkComponent.linkName attribute defined at extension cms2.value - the linkNameloc - the value localization keyjava.lang.IllegalArgumentException - if localization key cannot be mapped to data language@Deprecated @Accessor(qualifier="navigationNodes", type=SETTER) public void setNavigationNodes(java.util.List<CMSNavigationNodeModel> value)
CMSLinkComponent.navigationNodes attribute defined at extension cms2.value - the navigationNodes@Accessor(qualifier="product", type=SETTER) public void setProduct(ProductModel value)
CMSLinkComponent.product attribute defined at extension cms2.value - the product@Accessor(qualifier="styleAttributes", type=SETTER) public void setStyleAttributes(java.lang.String value)
CMSLinkComponent.styleAttributes attribute defined at extension acceleratorcms.value - the styleAttributes - Can store custom styling attributes for additional styling@Accessor(qualifier="target", type=SETTER) public void setTarget(LinkTargets value)
CMSLinkComponent.target attribute defined at extension cms2.value - the target@Accessor(qualifier="thumbnail", type=SETTER) public void setThumbnail(MediaModel value)
CMSLinkComponent.thumbnail attribute defined at extension verticalnavigationaddon.value - the thumbnail - image of the Component@Accessor(qualifier="thumbnailOnly", type=SETTER) public void setThumbnailOnly(boolean value)
CMSLinkComponent.thumbnailOnly attribute defined at extension verticalnavigationaddon.value - the thumbnailOnly - Display only the thumbnail without text content for the Link componentCopyright © 2018 SAP SE. All Rights Reserved.