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, isUseDialog
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
getData, getIcon, getIconCssClass, getKey, getLinkCssClass, getMarkupView, isShow, isUseDialog
public BaseJSPProductNavigationControlMenuEntry()
public java.lang.String getBodyJspPath()
public abstract java.lang.String getIconJspPath()
public java.lang.String getLabel(java.util.Locale locale)
ProductNavigationControlMenuEntry
getLabel
in interface ProductNavigationControlMenuEntry
locale
- the label's retrieved localepublic java.lang.String getURL(javax.servlet.http.HttpServletRequest httpServletRequest)
ProductNavigationControlMenuEntry
url
attribute of the
liferay-ui:icon
tag instance for the Control Menu entry.getURL
in interface ProductNavigationControlMenuEntry
httpServletRequest
- 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
ProductNavigationControlMenuEntry
true
if the Control Menu entry body's HTML should be
rendered.includeBody
in interface ProductNavigationControlMenuEntry
includeBody
in class BaseProductNavigationControlMenuEntry
httpServletRequest
- 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
ProductNavigationControlMenuEntry
true
if the Control Menu entry icon's HTML should be
rendered.includeIcon
in interface ProductNavigationControlMenuEntry
includeIcon
in class BaseProductNavigationControlMenuEntry
httpServletRequest
- 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