Class CMSLinkComponentModel
java.lang.Object
de.hybris.platform.servicelayer.model.AbstractItemModel
de.hybris.platform.core.model.ItemModel
de.hybris.platform.cms2.model.contents.CMSItemModel
de.hybris.platform.cms2.model.contents.components.AbstractCMSComponentModel
de.hybris.platform.cms2.model.contents.components.SimpleCMSComponentModel
de.hybris.platform.cms2.model.contents.components.CMSLinkComponentModel
- All Implemented Interfaces:
Serializable
Generated model class for type CMSLinkComponent first defined at extension cms2.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
de.hybris.platform.servicelayer.model.AbstractItemModel.NewModelContextFactory -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringGenerated relation code constant for relationCmsLinkComponentsForCategorydefining source attributecategoryin extensioncms2.static final StringGenerated relation code constant for relationCmsLinkComponentsForContentPagedefining source attributecontentPagein extensioncms2.static final StringGenerated relation code constant for relationCmsLinkComponentsForProductdefining source attributeproductin extensioncms2.static final StringGenerated model type code constant.static final StringGenerated constant - Attribute key ofCMSLinkComponent.categoryattribute defined at extensioncms2.static final StringGenerated constant - Attribute key ofCMSLinkComponent.categoryCodeattribute defined at extensioncms2.static final StringGenerated constant - Attribute key ofCMSLinkComponent.categoryPOSattribute defined at extensioncms2.static final StringGenerated constant - Attribute key ofCMSLinkComponent.contentPageattribute defined at extensioncms2.static final StringGenerated constant - Attribute key ofCMSLinkComponent.contentPageLabelOrIdattribute defined at extensioncms2.static final StringGenerated constant - Attribute key ofCMSLinkComponent.contentPagePOSattribute defined at extensioncms2.static final StringGenerated constant - Attribute key ofCMSLinkComponent.externalattribute defined at extensioncms2.static final StringGenerated constant - Attribute key ofCMSLinkComponent.linkNameattribute defined at extensioncms2.static final StringGenerated constant - Attribute key ofCMSLinkComponent.navigationNodesattribute defined at extensioncms2.static final StringGenerated constant - Attribute key ofCMSLinkComponent.productattribute defined at extensioncms2.static final StringGenerated constant - Attribute key ofCMSLinkComponent.productCodeattribute defined at extensioncms2.static final StringGenerated constant - Attribute key ofCMSLinkComponent.productPOSattribute defined at extensioncms2.static final StringGenerated constant - Attribute key ofCMSLinkComponent.styleAttributesattribute defined at extensionacceleratorcms.static final StringGenerated constant - Attribute key ofCMSLinkComponent.targetattribute defined at extensioncms2.static final StringGenerated constant - Attribute key ofCMSLinkComponent.urlattribute defined at extensioncms2.Fields inherited from class de.hybris.platform.cms2.model.contents.components.SimpleCMSComponentModel
_ELEMENTSFORCONTAINER, CONTAINERSFields inherited from class de.hybris.platform.cms2.model.contents.components.AbstractCMSComponentModel
_CMSCOMPONENTCHILDRENFORCMSCOMPONENT, _ELEMENTSFORSLOT, ACTIONS, CHILDREN, CONTAINER, ONLYONERESTRICTIONMUSTAPPLY, PARENTS, RESTRICTED, RESTRICTIONS, SLOTS, STYLECLASSES, TYPE, TYPECODE, VISIBLEFields inherited from class de.hybris.platform.cms2.model.contents.CMSItemModel
CATALOGVERSION, NAME, SYNCHRONIZATIONBLOCKED, UIDFields inherited from class de.hybris.platform.core.model.ItemModel
_COMMENTITEMRELATION, COMMENTS, CREATIONTIME, ITEMTYPE, MODIFIEDTIME, OWNER, PK, SEALEDFields inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
LANGUAGE_FALLBACK_ENABLED_SERVICE_LAYER, MODEL_CONTEXT_FACTORY -
Constructor Summary
ConstructorsConstructorDescriptionGenerated constructor - Default constructor for generic creation.CMSLinkComponentModel(CatalogVersionModel _catalogVersion, ItemModel _owner, String _uid) Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parametersCMSLinkComponentModel(CatalogVersionModel _catalogVersion, String _uid) Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parametersCMSLinkComponentModel(de.hybris.platform.servicelayer.model.ItemModelContext ctx) Generated constructor - Default constructor for creation with existing context -
Method Summary
Modifier and TypeMethodDescriptionGenerated method - Getter of theCMSLinkComponent.categoryattribute defined at extensioncms2.Deprecated, for removal: This API element is subject to removal in a future version.since 4.3Generated method - Getter of theCMSLinkComponent.contentPageattribute defined at extensioncms2.Deprecated, for removal: This API element is subject to removal in a future version.since 4.3Generated method - Getter of theCMSLinkComponent.linkNameattribute defined at extensioncms2.getLinkName(Locale loc) Generated method - Getter of theCMSLinkComponent.linkNameattribute defined at extensioncms2.Deprecated, for removal: This API element is subject to removal in a future version.since 4.4Generated method - Getter of theCMSLinkComponent.productattribute defined at extensioncms2.Deprecated, for removal: This API element is subject to removal in a future version.since 4.3Generated method - Getter of theCMSLinkComponent.styleAttributesattribute defined at extensionacceleratorcms.Generated method - Getter of theCMSLinkComponent.targetattribute defined at extensioncms2.getUrl()Generated method - Getter of theCMSLinkComponent.urlattribute defined at extensioncms2.booleanGenerated method - Getter of theCMSLinkComponent.externalattribute defined at extensioncms2.voidsetCategory(CategoryModel value) Generated method - Setter ofCMSLinkComponent.categoryattribute defined at extensioncms2.voidsetContentPage(ContentPageModel value) Generated method - Setter ofCMSLinkComponent.contentPageattribute defined at extensioncms2.voidsetExternal(boolean value) Generated method - Setter ofCMSLinkComponent.externalattribute defined at extensioncms2.voidsetLinkName(String value) Generated method - Setter ofCMSLinkComponent.linkNameattribute defined at extensioncms2.voidsetLinkName(String value, Locale loc) Generated method - Setter ofCMSLinkComponent.linkNameattribute defined at extensioncms2.voidDeprecated, for removal: This API element is subject to removal in a future version.since 4.4voidsetProduct(ProductModel value) Generated method - Setter ofCMSLinkComponent.productattribute defined at extensioncms2.voidsetStyleAttributes(String value) Generated method - Setter ofCMSLinkComponent.styleAttributesattribute defined at extensionacceleratorcms.voidsetTarget(LinkTargets value) Generated method - Setter ofCMSLinkComponent.targetattribute defined at extensioncms2.voidGenerated method - Setter ofCMSLinkComponent.urlattribute defined at extensioncms2.Methods inherited from class de.hybris.platform.cms2.model.contents.components.SimpleCMSComponentModel
getContainers, setContainersMethods inherited from class de.hybris.platform.cms2.model.contents.components.AbstractCMSComponentModel
getActions, getChildren, getParents, getRestrictions, getSlots, getStyleClasses, getType, getType, getTypeCode, getVisible, isContainer, isOnlyOneRestrictionMustApply, isRestricted, setActions, setChildren, setOnlyOneRestrictionMustApply, setParents, setRestrictions, setSlots, setStyleClasses, setVisibleMethods inherited from class de.hybris.platform.cms2.model.contents.CMSItemModel
getCatalogVersion, getName, getUid, isSynchronizationBlocked, setCatalogVersion, setName, setSynchronizationBlocked, setUidMethods inherited from class de.hybris.platform.core.model.ItemModel
getComments, getCreationtime, getModifiedtime, getOwner, isSealed, setComments, setCreationtime, setModifiedtime, setOwnerMethods inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
equals, 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, writeReplace
-
Field Details
-
_TYPECODE
Generated model type code constant.- See Also:
-
_CMSLINKCOMPONENTSFORCONTENTPAGE
Generated relation code constant for relationCmsLinkComponentsForContentPagedefining source attributecontentPagein extensioncms2.- See Also:
-
_CMSLINKCOMPONENTSFORPRODUCT
Generated relation code constant for relationCmsLinkComponentsForProductdefining source attributeproductin extensioncms2.- See Also:
-
_CMSLINKCOMPONENTSFORCATEGORY
Generated relation code constant for relationCmsLinkComponentsForCategorydefining source attributecategoryin extensioncms2.- See Also:
-
LINKNAME
Generated constant - Attribute key ofCMSLinkComponent.linkNameattribute defined at extensioncms2.- See Also:
-
EXTERNAL
Generated constant - Attribute key ofCMSLinkComponent.externalattribute defined at extensioncms2.- See Also:
-
URL
Generated constant - Attribute key ofCMSLinkComponent.urlattribute defined at extensioncms2.- See Also:
-
CONTENTPAGELABELORID
Generated constant - Attribute key ofCMSLinkComponent.contentPageLabelOrIdattribute defined at extensioncms2.- See Also:
-
PRODUCTCODE
Generated constant - Attribute key ofCMSLinkComponent.productCodeattribute defined at extensioncms2.- See Also:
-
CATEGORYCODE
Generated constant - Attribute key ofCMSLinkComponent.categoryCodeattribute defined at extensioncms2.- See Also:
-
TARGET
Generated constant - Attribute key ofCMSLinkComponent.targetattribute defined at extensioncms2.- See Also:
-
NAVIGATIONNODES
Generated constant - Attribute key ofCMSLinkComponent.navigationNodesattribute defined at extensioncms2.- See Also:
-
CONTENTPAGEPOS
Generated constant - Attribute key ofCMSLinkComponent.contentPagePOSattribute defined at extensioncms2.- See Also:
-
CONTENTPAGE
Generated constant - Attribute key ofCMSLinkComponent.contentPageattribute defined at extensioncms2.- See Also:
-
PRODUCTPOS
Generated constant - Attribute key ofCMSLinkComponent.productPOSattribute defined at extensioncms2.- See Also:
-
PRODUCT
Generated constant - Attribute key ofCMSLinkComponent.productattribute defined at extensioncms2.- See Also:
-
CATEGORYPOS
Generated constant - Attribute key ofCMSLinkComponent.categoryPOSattribute defined at extensioncms2.- See Also:
-
CATEGORY
Generated constant - Attribute key ofCMSLinkComponent.categoryattribute defined at extensioncms2.- See Also:
-
STYLEATTRIBUTES
Generated constant - Attribute key ofCMSLinkComponent.styleAttributesattribute defined at extensionacceleratorcms.- See Also:
-
-
Constructor Details
-
CMSLinkComponentModel
public CMSLinkComponentModel()Generated constructor - Default constructor for generic creation. -
CMSLinkComponentModel
public CMSLinkComponentModel(de.hybris.platform.servicelayer.model.ItemModelContext ctx) Generated constructor - Default constructor for creation with existing context- Parameters:
ctx- the model context to be injected, must not be null
-
CMSLinkComponentModel
@Deprecated(since="4.1.1", forRemoval=true) public CMSLinkComponentModel(CatalogVersionModel _catalogVersion, String _uid) Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parametersGenerated constructor - Constructor with all mandatory attributes.- Parameters:
_catalogVersion- initial attribute declared by typeCMSItemat extensioncms2_uid- initial attribute declared by typeCMSItemat extensioncms2
-
CMSLinkComponentModel
@Deprecated(since="4.1.1", forRemoval=true) public CMSLinkComponentModel(CatalogVersionModel _catalogVersion, ItemModel _owner, String _uid) Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parametersGenerated constructor - for all mandatory and initial attributes.- Parameters:
_catalogVersion- initial attribute declared by typeCMSItemat extensioncms2_owner- initial attribute declared by typeItemat extensioncore_uid- initial attribute declared by typeCMSItemat extensioncms2
-
-
Method Details
-
getCategory
Generated method - Getter of theCMSLinkComponent.categoryattribute defined at extensioncms2.- Returns:
- the category
-
getCategoryCode
@Deprecated(since="4.3", forRemoval=true) @Accessor(qualifier="categoryCode", type=GETTER) public String getCategoryCode()Deprecated, for removal: This API element is subject to removal in a future version.since 4.3Generated method - Getter of theCMSLinkComponent.categoryCodeattribute defined at extensioncms2.- Returns:
- the categoryCode
-
getContentPage
Generated method - Getter of theCMSLinkComponent.contentPageattribute defined at extensioncms2.- Returns:
- the contentPage
-
getContentPageLabelOrId
@Deprecated(since="4.3", forRemoval=true) @Accessor(qualifier="contentPageLabelOrId", type=GETTER) public String getContentPageLabelOrId()Deprecated, for removal: This API element is subject to removal in a future version.since 4.3Generated method - Getter of theCMSLinkComponent.contentPageLabelOrIdattribute defined at extensioncms2.- Returns:
- the contentPageLabelOrId
-
getLinkName
Generated method - Getter of theCMSLinkComponent.linkNameattribute defined at extensioncms2.- Returns:
- the linkName
-
getLinkName
Generated method - Getter of theCMSLinkComponent.linkNameattribute defined at extensioncms2.- Parameters:
loc- the value localization key- Returns:
- the linkName
- Throws:
IllegalArgumentException- if localization key cannot be mapped to data language
-
getProduct
Generated method - Getter of theCMSLinkComponent.productattribute defined at extensioncms2.- Returns:
- the product
-
getProductCode
@Deprecated(since="4.3", forRemoval=true) @Accessor(qualifier="productCode", type=GETTER) public String getProductCode()Deprecated, for removal: This API element is subject to removal in a future version.since 4.3Generated method - Getter of theCMSLinkComponent.productCodeattribute defined at extensioncms2.- Returns:
- the productCode
-
getStyleAttributes
Generated method - Getter of theCMSLinkComponent.styleAttributesattribute defined at extensionacceleratorcms.- Returns:
- the styleAttributes - Can store custom styling attributes for additional styling
-
getTarget
Generated method - Getter of theCMSLinkComponent.targetattribute defined at extensioncms2.- Returns:
- the target
-
getUrl
Generated method - Getter of theCMSLinkComponent.urlattribute defined at extensioncms2.- Returns:
- the url
-
isExternal
@Accessor(qualifier="external", type=GETTER) public boolean isExternal()Generated method - Getter of theCMSLinkComponent.externalattribute defined at extensioncms2.- Returns:
- the external
-
setCategory
Generated method - Setter ofCMSLinkComponent.categoryattribute defined at extensioncms2.- Parameters:
value- the category
-
setContentPage
Generated method - Setter ofCMSLinkComponent.contentPageattribute defined at extensioncms2.- Parameters:
value- the contentPage
-
setExternal
@Accessor(qualifier="external", type=SETTER) public void setExternal(boolean value) Generated method - Setter ofCMSLinkComponent.externalattribute defined at extensioncms2.- Parameters:
value- the external
-
setLinkName
Generated method - Setter ofCMSLinkComponent.linkNameattribute defined at extensioncms2.- Parameters:
value- the linkName
-
setLinkName
Generated method - Setter ofCMSLinkComponent.linkNameattribute defined at extensioncms2.- Parameters:
value- the linkNameloc- the value localization key- Throws:
IllegalArgumentException- if localization key cannot be mapped to data language
-
setProduct
Generated method - Setter ofCMSLinkComponent.productattribute defined at extensioncms2.- Parameters:
value- the product
-
setStyleAttributes
Generated method - Setter ofCMSLinkComponent.styleAttributesattribute defined at extensionacceleratorcms.- Parameters:
value- the styleAttributes - Can store custom styling attributes for additional styling
-
setTarget
Generated method - Setter ofCMSLinkComponent.targetattribute defined at extensioncms2.- Parameters:
value- the target
-
setUrl
Generated method - Setter ofCMSLinkComponent.urlattribute defined at extensioncms2.- Parameters:
value- the url
-