public class FooterComponentModel extends SimpleCMSComponentModel
Deprecated since 6.2, please use NavigationComponent instead. Represents footer component that contains configurable list of navigation nodes.
AbstractItemModel.NewModelContextFactory| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
_TYPECODE
Generated model type code constant.
|
static java.lang.String |
NAVIGATIONNODES
Generated constant - Attribute key of
FooterComponent.navigationNodes attribute defined at extension acceleratorcms. |
static java.lang.String |
NOTICE
Generated constant - Attribute key of
FooterComponent.notice attribute defined at extension acceleratorcms. |
static java.lang.String |
SHOWLANGUAGECURRENCY
Generated constant - Attribute key of
FooterComponent.showLanguageCurrency attribute defined at extension acceleratorcms. |
static java.lang.String |
WRAPAFTER
Generated constant - Attribute key of
FooterComponent.wrapAfter attribute defined at extension acceleratorcms. |
_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 |
|---|
FooterComponentModel()
Generated constructor - Default constructor for generic creation.
|
FooterComponentModel(CatalogVersionModel _catalogVersion,
ItemModel _owner,
java.lang.String _uid)
Deprecated.
since 4.1.1 Please use the default constructor without parameters
|
FooterComponentModel(CatalogVersionModel _catalogVersion,
java.lang.String _uid)
Deprecated.
since 4.1.1 Please use the default constructor without parameters
|
FooterComponentModel(ItemModelContext ctx)
Generated constructor - Default constructor for creation with existing context
|
| Modifier and Type | Method and Description |
|---|---|
java.util.List<CMSNavigationNodeModel> |
getNavigationNodes()
Generated method - Getter of the
FooterComponent.navigationNodes attribute defined at extension acceleratorcms. |
java.lang.String |
getNotice()
Generated method - Getter of the
FooterComponent.notice attribute defined at extension acceleratorcms. |
java.lang.String |
getNotice(java.util.Locale loc)
Generated method - Getter of the
FooterComponent.notice attribute defined at extension acceleratorcms. |
java.lang.Integer |
getWrapAfter()
Generated method - Getter of the
FooterComponent.wrapAfter attribute defined at extension acceleratorcms. |
boolean |
isShowLanguageCurrency()
Generated method - Getter of the
FooterComponent.showLanguageCurrency attribute defined at extension acceleratorcms. |
void |
setNavigationNodes(java.util.List<CMSNavigationNodeModel> value)
Generated method - Setter of
FooterComponent.navigationNodes attribute defined at extension acceleratorcms. |
void |
setNotice(java.lang.String value)
Generated method - Setter of
FooterComponent.notice attribute defined at extension acceleratorcms. |
void |
setNotice(java.lang.String value,
java.util.Locale loc)
Generated method - Setter of
FooterComponent.notice attribute defined at extension acceleratorcms. |
void |
setShowLanguageCurrency(boolean value)
Generated method - Setter of
FooterComponent.showLanguageCurrency attribute defined at extension acceleratorcms. |
void |
setWrapAfter(java.lang.Integer value)
Generated method - Setter of
FooterComponent.wrapAfter attribute defined at extension acceleratorcms. |
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 NAVIGATIONNODES
FooterComponent.navigationNodes attribute defined at extension acceleratorcms.public static final java.lang.String WRAPAFTER
FooterComponent.wrapAfter attribute defined at extension acceleratorcms.public static final java.lang.String SHOWLANGUAGECURRENCY
FooterComponent.showLanguageCurrency attribute defined at extension acceleratorcms.public static final java.lang.String NOTICE
FooterComponent.notice attribute defined at extension acceleratorcms.public FooterComponentModel()
public FooterComponentModel(ItemModelContext ctx)
ctx - the model context to be injected, must not be null@Deprecated public FooterComponentModel(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 FooterComponentModel(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="navigationNodes", type=GETTER) public java.util.List<CMSNavigationNodeModel> getNavigationNodes()
FooterComponent.navigationNodes attribute defined at extension acceleratorcms.
Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.@Accessor(qualifier="notice", type=GETTER) public java.lang.String getNotice()
FooterComponent.notice attribute defined at extension acceleratorcms.@Accessor(qualifier="notice", type=GETTER) public java.lang.String getNotice(java.util.Locale loc)
FooterComponent.notice attribute defined at extension acceleratorcms.loc - the value localization keyjava.lang.IllegalArgumentException - if localization key cannot be mapped to data language@Accessor(qualifier="wrapAfter", type=GETTER) public java.lang.Integer getWrapAfter()
FooterComponent.wrapAfter attribute defined at extension acceleratorcms.@Accessor(qualifier="showLanguageCurrency", type=GETTER) public boolean isShowLanguageCurrency()
FooterComponent.showLanguageCurrency attribute defined at extension acceleratorcms.@Accessor(qualifier="navigationNodes", type=SETTER) public void setNavigationNodes(java.util.List<CMSNavigationNodeModel> value)
FooterComponent.navigationNodes attribute defined at extension acceleratorcms.value - the navigationNodes - List of navigation nodes that are rendered in this footer component.@Accessor(qualifier="notice", type=SETTER) public void setNotice(java.lang.String value)
FooterComponent.notice attribute defined at extension acceleratorcms.value - the notice - Intended to store a copyright notice or other text to be displayed in the footer@Accessor(qualifier="notice", type=SETTER) public void setNotice(java.lang.String value, java.util.Locale loc)
FooterComponent.notice attribute defined at extension acceleratorcms.value - the notice - Intended to store a copyright notice or other text to be displayed in the footerloc - the value localization keyjava.lang.IllegalArgumentException - if localization key cannot be mapped to data language@Accessor(qualifier="showLanguageCurrency", type=SETTER) public void setShowLanguageCurrency(boolean value)
FooterComponent.showLanguageCurrency attribute defined at extension acceleratorcms.value - the showLanguageCurrency - Determines whether or not to show the language currency selection.@Accessor(qualifier="wrapAfter", type=SETTER) public void setWrapAfter(java.lang.Integer value)
FooterComponent.wrapAfter attribute defined at extension acceleratorcms.value - the wrapAfter - Determines the number of navigation nodes when the following elements will be wrapped.Copyright © 2018 SAP SE. All Rights Reserved.