public abstract class BaseJSPProductNavigationControlMenuEntry extends BaseProductNavigationControlMenuEntry implements ProductNavigationControlMenuEntry
| Constructor and Description |
|---|
BaseJSPProductNavigationControlMenuEntry() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getBodyJspPath() |
abstract java.lang.String |
getIconJspPath() |
java.lang.String |
getLabel(java.util.Locale locale)
Returns the label that is displayed in the user interface when the
Control Menu entry is included in the tag instance.
|
java.lang.String |
getURL(javax.servlet.http.HttpServletRequest httpServletRequest)
Returns the URL to be injected as the
url attribute of the
liferay-ui:icon tag instance for the Control Menu entry. |
protected boolean |
include(javax.servlet.http.HttpServletRequest httpServletRequest,
javax.servlet.http.HttpServletResponse httpServletResponse,
java.lang.String jspPath) |
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. |
void |
setServletContext(javax.servlet.ServletContext servletContext) |
equals, getData, getIcon, getIconCssClass, getKey, getLinkCssClass, getMarkupView, hashCode, isEmbeddedPersonalApplicationLayout, isShow, isUseDialogclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitgetData, getIcon, getIconCssClass, getKey, getLinkCssClass, getMarkupView, isRelevant, isShow, isUseDialogpublic BaseJSPProductNavigationControlMenuEntry()
public java.lang.String getBodyJspPath()
public abstract java.lang.String getIconJspPath()
public java.lang.String getLabel(java.util.Locale locale)
ProductNavigationControlMenuEntrygetLabel in interface ProductNavigationControlMenuEntrylocale - the label's retrieved localepublic java.lang.String getURL(javax.servlet.http.HttpServletRequest httpServletRequest)
ProductNavigationControlMenuEntryurl attribute of the
liferay-ui:icon tag instance for the Control Menu entry.getURL in interface ProductNavigationControlMenuEntryhttpServletRequest - the request that renders the Control Menu
entryurl attribute of the
liferay-ui:icon tag instance for the Control Menu
entrypublic 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 ProductNavigationControlMenuEntryincludeBody in class BaseProductNavigationControlMenuEntryhttpServletRequest - 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 ProductNavigationControlMenuEntryincludeIcon in class BaseProductNavigationControlMenuEntryhttpServletRequest - 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 void setServletContext(javax.servlet.ServletContext servletContext)
protected boolean include(javax.servlet.http.HttpServletRequest httpServletRequest,
javax.servlet.http.HttpServletResponse httpServletResponse,
java.lang.String jspPath)
throws java.io.IOException
java.io.IOException