Class BaseInfoMessageProductNavigationControlMenuEntry
java.lang.Object
com.liferay.product.navigation.control.menu.BaseProductNavigationControlMenuEntry
com.liferay.product.navigation.control.menu.BaseInfoMessageProductNavigationControlMenuEntry
- All Implemented Interfaces:
ProductNavigationControlMenuEntry
public abstract class BaseInfoMessageProductNavigationControlMenuEntry
extends BaseProductNavigationControlMenuEntry
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the label that is displayed in the user interface when the Control Menu entry is included in the tag instance.protected abstract Stringprotected abstract StringgetType()getURL(jakarta.servlet.http.HttpServletRequest httpServletRequest) Returns the URL to be injected as theurlattribute of theliferay-ui:icontag instance for the Control Menu entry.booleanincludeIcon(jakarta.servlet.http.HttpServletRequest httpServletRequest, jakarta.servlet.http.HttpServletResponse httpServletResponse) Returnstrueif the Control Menu entry icon's HTML should be rendered.protected booleanisDark()booleanisShow(jakarta.servlet.http.HttpServletRequest httpServletRequest) Returnstrueif the Control Menu entry should be displayed in the request's context.Methods inherited from class com.liferay.product.navigation.control.menu.BaseProductNavigationControlMenuEntry
equals, getData, getIcon, getIconCssClass, getKey, getLinkCssClass, getMarkupView, hashCode, includeBody, isPanelStateOpen, isUseDialog, setPanelStateMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.liferay.product.navigation.control.menu.ProductNavigationControlMenuEntry
isRelevant
-
Constructor Details
-
BaseInfoMessageProductNavigationControlMenuEntry
public BaseInfoMessageProductNavigationControlMenuEntry()
-
-
Method Details
-
getLabel
Description copied from interface:ProductNavigationControlMenuEntryReturns the label that is displayed in the user interface when the Control Menu entry is included in the tag instance.- Parameters:
locale- the label's retrieved locale- Returns:
- the Control Menu entry's label
-
getURL
Description copied from interface:ProductNavigationControlMenuEntryReturns the URL to be injected as theurlattribute of theliferay-ui:icontag instance for the Control Menu entry.- Parameters:
httpServletRequest- the request that renders the Control Menu entry- Returns:
- the
urlattribute of theliferay-ui:icontag instance for the Control Menu entry
-
includeIcon
public boolean includeIcon(jakarta.servlet.http.HttpServletRequest httpServletRequest, jakarta.servlet.http.HttpServletResponse httpServletResponse) throws IOException Description copied from interface:ProductNavigationControlMenuEntryReturnstrueif the Control Menu entry icon's HTML should be rendered.- Specified by:
includeIconin interfaceProductNavigationControlMenuEntry- Overrides:
includeIconin classBaseProductNavigationControlMenuEntry- Parameters:
httpServletRequest- the request that renders the Control Menu entryhttpServletResponse- the response that renders the Control Menu entry- Returns:
trueif the Control Menu entry icon's HTML should be rendered;falseotherwise- Throws:
IOException- if an IO exception occurred
-
isShow
public boolean isShow(jakarta.servlet.http.HttpServletRequest httpServletRequest) Description copied from interface:ProductNavigationControlMenuEntryReturnstrueif the Control Menu entry should be displayed in the request's context.- Specified by:
isShowin interfaceProductNavigationControlMenuEntry- Overrides:
isShowin classBaseProductNavigationControlMenuEntry- Parameters:
httpServletRequest- the request that renders the Control Menu entry- Returns:
trueif the Control Menu entry should be displayed in the request's context;falseotherwise
-
getPortletName
-
getType
-
isDark
protected boolean isDark()
-