public abstract class BaseProductNavigationControlMenuEntry extends java.lang.Object implements ProductNavigationControlMenuEntry
| Constructor and Description |
|---|
BaseProductNavigationControlMenuEntry() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object object) |
java.util.Map<java.lang.String,java.lang.Object> |
getData(javax.servlet.http.HttpServletRequest httpServletRequest)
Returns the data to be injected as the
data attribute of the
liferay-ui:icon tag instance for the Control Menu entry. |
java.lang.String |
getIcon(javax.servlet.http.HttpServletRequest httpServletRequest)
Returns the icon name to be injected as the
icon attribute
of the liferay-ui:icon tag instance for the Control Menu
entry. |
java.lang.String |
getIconCssClass(javax.servlet.http.HttpServletRequest httpServletRequest)
Returns the icon CSS class to be injected as the
iconCssClass attribute of the liferay-ui:icon
tag instance for the Control Menu entry. |
java.lang.String |
getKey()
Returns the Control Menu entry's key.
|
java.lang.String |
getLinkCssClass(javax.servlet.http.HttpServletRequest httpServletRequest)
Returns the link CSS class to be injected as the
linkCssClass attribute of the liferay-ui:icon
tag instance for the Control Menu entry. |
java.lang.String |
getMarkupView(javax.servlet.http.HttpServletRequest httpServletRequest)
Returns the markup view string to be injected as the
markupView attribute of the liferay-ui:icon tag
instance for the Control Menu entry. |
int |
hashCode() |
boolean |
includeBody(javax.servlet.http.HttpServletRequest httpServletRequest,
javax.servlet.http.HttpServletResponse httpServletResponse)
Returns
true if the Control Menu entry body's HTML should be
rendered. |
boolean |
includeIcon(javax.servlet.http.HttpServletRequest httpServletRequest,
javax.servlet.http.HttpServletResponse httpServletResponse)
Returns
true if the Control Menu entry icon's HTML should be
rendered. |
boolean |
isPanelStateOpen(javax.servlet.http.HttpServletRequest httpServletRequest,
java.lang.String key) |
boolean |
isShow(javax.servlet.http.HttpServletRequest httpServletRequest)
Returns
true if the Control Menu entry should be displayed
in the request's context. |
boolean |
isUseDialog()
Returns
true if the Control Menu entry should be opened in a
dialog window. |
void |
setPanelState(javax.servlet.http.HttpServletRequest httpServletRequest,
java.lang.String key,
java.lang.String panelState) |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitgetLabel, getURL, isRelevantpublic BaseProductNavigationControlMenuEntry()
public boolean equals(java.lang.Object object)
equals in class java.lang.Objectpublic java.util.Map<java.lang.String,java.lang.Object> getData(javax.servlet.http.HttpServletRequest httpServletRequest)
ProductNavigationControlMenuEntrydata attribute of the
liferay-ui:icon tag instance for the Control Menu entry.getData in interface ProductNavigationControlMenuEntryhttpServletRequest - the request that renders the Control Menu
entrydata attribute of the
liferay-ui:icon tag instance for the Control Menu
entrypublic java.lang.String getIcon(javax.servlet.http.HttpServletRequest httpServletRequest)
ProductNavigationControlMenuEntryicon attribute
of the liferay-ui:icon tag instance for the Control Menu
entry.getIcon in interface ProductNavigationControlMenuEntryhttpServletRequest - the request that renders the Control Menu
entryicon attribute of the
liferay-ui:icon tag instance for the Control Menu
entrypublic java.lang.String getIconCssClass(javax.servlet.http.HttpServletRequest httpServletRequest)
ProductNavigationControlMenuEntryiconCssClass attribute of the liferay-ui:icon
tag instance for the Control Menu entry.getIconCssClass in interface ProductNavigationControlMenuEntryhttpServletRequest - the request that renders the Control Menu
entryiconCssClass attribute of the
liferay-ui:icon tag instance for the Control Menu
entrypublic java.lang.String getKey()
ProductNavigationControlMenuEntrygetKey in interface ProductNavigationControlMenuEntrypublic java.lang.String getLinkCssClass(javax.servlet.http.HttpServletRequest httpServletRequest)
ProductNavigationControlMenuEntrylinkCssClass attribute of the liferay-ui:icon
tag instance for the Control Menu entry.getLinkCssClass in interface ProductNavigationControlMenuEntryhttpServletRequest - the request that renders the Control Menu
entrylinkCssClass attribute of the
liferay-ui:icon tag instance for the Control Menu
entrypublic java.lang.String getMarkupView(javax.servlet.http.HttpServletRequest httpServletRequest)
ProductNavigationControlMenuEntrymarkupView attribute of the liferay-ui:icon tag
instance for the Control Menu entry.getMarkupView in interface ProductNavigationControlMenuEntryhttpServletRequest - the request that renders the Control Menu
entrymarkupView attribute of the
liferay-ui:icon tag instance for the Control Menu
entrypublic int hashCode()
hashCode in class java.lang.Objectpublic boolean includeBody(javax.servlet.http.HttpServletRequest httpServletRequest,
javax.servlet.http.HttpServletResponse httpServletResponse)
throws java.io.IOException
ProductNavigationControlMenuEntrytrue if the Control Menu entry body's HTML should be
rendered.includeBody in interface ProductNavigationControlMenuEntryhttpServletRequest - the request that renders the Control Menu
entryhttpServletResponse - the response that renders the Control Menu
entrytrue if the Control Menu entry body's HTML should be
rendered; false otherwisejava.io.IOException - if an IO exception occurredpublic boolean includeIcon(javax.servlet.http.HttpServletRequest httpServletRequest,
javax.servlet.http.HttpServletResponse httpServletResponse)
throws java.io.IOException
ProductNavigationControlMenuEntrytrue if the Control Menu entry icon's HTML should be
rendered.includeIcon in interface ProductNavigationControlMenuEntryhttpServletRequest - the request that renders the Control Menu
entryhttpServletResponse - the response that renders the Control Menu
entrytrue if the Control Menu entry icon's HTML should be
rendered; false otherwisejava.io.IOException - if an IO exception occurredpublic boolean isPanelStateOpen(javax.servlet.http.HttpServletRequest httpServletRequest,
java.lang.String key)
isPanelStateOpen in interface ProductNavigationControlMenuEntrypublic boolean isShow(javax.servlet.http.HttpServletRequest httpServletRequest)
throws com.liferay.portal.kernel.exception.PortalException
ProductNavigationControlMenuEntrytrue if the Control Menu entry should be displayed
in the request's context.isShow in interface ProductNavigationControlMenuEntryhttpServletRequest - the request that renders the Control Menu
entrytrue if the Control Menu entry should be displayed
in the request's context; false otherwisecom.liferay.portal.kernel.exception.PortalException - if a portal exception occurredpublic boolean isUseDialog()
ProductNavigationControlMenuEntrytrue if the Control Menu entry should be opened in a
dialog window.isUseDialog in interface ProductNavigationControlMenuEntrytrue if the Control Menu entry should be opened in a
dialog window; false if it should open in the
current windowpublic void setPanelState(javax.servlet.http.HttpServletRequest httpServletRequest,
java.lang.String key,
java.lang.String panelState)
setPanelState in interface ProductNavigationControlMenuEntry