public class CMSLinkComponentModel extends SimpleCMSComponentModel
AbstractItemModel.NewModelContextFactory| Modifier and Type | Field and Description |
|---|---|
static String |
_CMSLINKCOMPONENTSFORCATEGORY
Generated relation code constant for relation
CmsLinkComponentsForCategory defining source attribute category in extension cms2. |
static String |
_CMSLINKCOMPONENTSFORCONTENTPAGE
Generated relation code constant for relation
CmsLinkComponentsForContentPage defining source attribute contentPage in extension cms2. |
static String |
_CMSLINKCOMPONENTSFORPRODUCT
Generated relation code constant for relation
CmsLinkComponentsForProduct defining source attribute product in extension cms2. |
static String |
_TYPECODE
Generated model type code constant.
|
static String |
CATEGORY
Generated constant - Attribute key of
CMSLinkComponent.category attribute defined at extension cms2. |
static String |
CATEGORYCODE
Generated constant - Attribute key of
CMSLinkComponent.categoryCode attribute defined at extension cms2. |
static String |
CATEGORYPOS
Generated constant - Attribute key of
CMSLinkComponent.categoryPOS attribute defined at extension cms2. |
static String |
CONTENTPAGE
Generated constant - Attribute key of
CMSLinkComponent.contentPage attribute defined at extension cms2. |
static String |
CONTENTPAGELABELORID
Generated constant - Attribute key of
CMSLinkComponent.contentPageLabelOrId attribute defined at extension cms2. |
static String |
CONTENTPAGEPOS
Generated constant - Attribute key of
CMSLinkComponent.contentPagePOS attribute defined at extension cms2. |
static String |
EXTERNAL
Generated constant - Attribute key of
CMSLinkComponent.external attribute defined at extension cms2. |
static String |
LINKNAME
Generated constant - Attribute key of
CMSLinkComponent.linkName attribute defined at extension cms2. |
static String |
NAVIGATIONNODES
Generated constant - Attribute key of
CMSLinkComponent.navigationNodes attribute defined at extension cms2. |
static String |
PRODUCT
Generated constant - Attribute key of
CMSLinkComponent.product attribute defined at extension cms2. |
static String |
PRODUCTCODE
Generated constant - Attribute key of
CMSLinkComponent.productCode attribute defined at extension cms2. |
static String |
PRODUCTPOS
Generated constant - Attribute key of
CMSLinkComponent.productPOS attribute defined at extension cms2. |
static String |
STYLEATTRIBUTES
Generated constant - Attribute key of
CMSLinkComponent.styleAttributes attribute defined at extension acceleratorcms. |
static String |
TARGET
Generated constant - Attribute key of
CMSLinkComponent.target attribute defined at extension cms2. |
static String |
THUMBNAIL
Generated constant - Attribute key of
CMSLinkComponent.thumbnail attribute defined at extension verticalnavigationaddon. |
static String |
THUMBNAILONLY
Generated constant - Attribute key of
CMSLinkComponent.thumbnailOnly attribute defined at extension verticalnavigationaddon. |
static 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, PKLANGUAGE_FALLBACK_ENABLED_SERVICE_LAYER, MODEL_CONTEXT_FACTORY| Constructor and Description |
|---|
CMSLinkComponentModel()
Generated constructor - Default constructor for generic creation.
|
CMSLinkComponentModel(CatalogVersionModel _catalogVersion,
ItemModel _owner,
String _uid)
Deprecated.
Since 4.1.1 Please use the default constructor without parameters
|
CMSLinkComponentModel(CatalogVersionModel _catalogVersion,
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. |
String |
getCategoryCode()
Deprecated.
|
ContentPageModel |
getContentPage()
Generated method - Getter of the
CMSLinkComponent.contentPage attribute defined at extension cms2. |
String |
getContentPageLabelOrId()
Deprecated.
|
String |
getLinkName()
Generated method - Getter of the
CMSLinkComponent.linkName attribute defined at extension cms2. |
String |
getLinkName(Locale loc)
Generated method - Getter of the
CMSLinkComponent.linkName attribute defined at extension cms2. |
List<CMSNavigationNodeModel> |
getNavigationNodes()
Deprecated.
|
ProductModel |
getProduct()
Generated method - Getter of the
CMSLinkComponent.product attribute defined at extension cms2. |
String |
getProductCode()
Deprecated.
|
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. |
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(String value)
Generated method - Setter of
CMSLinkComponent.linkName attribute defined at extension cms2. |
void |
setLinkName(String value,
Locale loc)
Generated method - Setter of
CMSLinkComponent.linkName attribute defined at extension cms2. |
void |
setNavigationNodes(List<CMSNavigationNodeModel> value)
Deprecated.
|
void |
setProduct(ProductModel value)
Generated method - Setter of
CMSLinkComponent.product attribute defined at extension cms2. |
void |
setStyleAttributes(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(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, 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 _CMSLINKCOMPONENTSFORCONTENTPAGE
CmsLinkComponentsForContentPage defining source attribute contentPage in extension cms2.public static final String _CMSLINKCOMPONENTSFORPRODUCT
CmsLinkComponentsForProduct defining source attribute product in extension cms2.public static final String _CMSLINKCOMPONENTSFORCATEGORY
CmsLinkComponentsForCategory defining source attribute category in extension cms2.public static final String LINKNAME
CMSLinkComponent.linkName attribute defined at extension cms2.public static final String EXTERNAL
CMSLinkComponent.external attribute defined at extension cms2.public static final String URL
CMSLinkComponent.url attribute defined at extension cms2.public static final String CONTENTPAGELABELORID
CMSLinkComponent.contentPageLabelOrId attribute defined at extension cms2.public static final String PRODUCTCODE
CMSLinkComponent.productCode attribute defined at extension cms2.public static final String CATEGORYCODE
CMSLinkComponent.categoryCode attribute defined at extension cms2.public static final String TARGET
CMSLinkComponent.target attribute defined at extension cms2.public static final String NAVIGATIONNODES
CMSLinkComponent.navigationNodes attribute defined at extension cms2.public static final String CONTENTPAGEPOS
CMSLinkComponent.contentPagePOS attribute defined at extension cms2.public static final String CONTENTPAGE
CMSLinkComponent.contentPage attribute defined at extension cms2.public static final String PRODUCTPOS
CMSLinkComponent.productPOS attribute defined at extension cms2.public static final String PRODUCT
CMSLinkComponent.product attribute defined at extension cms2.public static final String CATEGORYPOS
CMSLinkComponent.categoryPOS attribute defined at extension cms2.public static final String CATEGORY
CMSLinkComponent.category attribute defined at extension cms2.public static final String STYLEATTRIBUTES
CMSLinkComponent.styleAttributes attribute defined at extension acceleratorcms.public static final String THUMBNAIL
CMSLinkComponent.thumbnail attribute defined at extension verticalnavigationaddon.public static final 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, 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, 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 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 String getContentPageLabelOrId()
CMSLinkComponent.contentPageLabelOrId attribute defined at extension cms2.@Accessor(qualifier="linkName", type=GETTER) public String getLinkName()
CMSLinkComponent.linkName attribute defined at extension cms2.@Accessor(qualifier="linkName", type=GETTER) public String getLinkName(Locale loc)
CMSLinkComponent.linkName attribute defined at extension cms2.loc - the value localization keyIllegalArgumentException - if localization key cannot be mapped to data language@Deprecated @Accessor(qualifier="navigationNodes", type=GETTER) public 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 String getProductCode()
CMSLinkComponent.productCode attribute defined at extension cms2.@Accessor(qualifier="styleAttributes", type=GETTER) public 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 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(String value)
CMSLinkComponent.linkName attribute defined at extension cms2.value - the linkName@Accessor(qualifier="linkName", type=SETTER) public void setLinkName(String value, Locale loc)
CMSLinkComponent.linkName attribute defined at extension cms2.value - the linkNameloc - the value localization keyIllegalArgumentException - if localization key cannot be mapped to data language@Deprecated @Accessor(qualifier="navigationNodes", type=SETTER) public void setNavigationNodes(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(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 © 2017 SAP SE. All Rights Reserved.