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. |
protected boolean |
isEmbeddedPersonalApplicationLayout(com.liferay.portal.kernel.model.Layout layout) |
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. |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
getLabel, getURL
public BaseProductNavigationControlMenuEntry()
public boolean equals(java.lang.Object object)
equals
in class java.lang.Object
public java.util.Map<java.lang.String,java.lang.Object> getData(javax.servlet.http.HttpServletRequest httpServletRequest)
ProductNavigationControlMenuEntry
data
attribute of the
liferay-ui:icon
tag instance for the Control Menu entry.getData
in interface ProductNavigationControlMenuEntry
httpServletRequest
- 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)
ProductNavigationControlMenuEntry
icon
attribute
of the liferay-ui:icon
tag instance for the Control Menu
entry.getIcon
in interface ProductNavigationControlMenuEntry
httpServletRequest
- 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)
ProductNavigationControlMenuEntry
iconCssClass
attribute of the liferay-ui:icon
tag instance for the Control Menu entry.getIconCssClass
in interface ProductNavigationControlMenuEntry
httpServletRequest
- 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()
ProductNavigationControlMenuEntry
getKey
in interface ProductNavigationControlMenuEntry
public java.lang.String getLinkCssClass(javax.servlet.http.HttpServletRequest httpServletRequest)
ProductNavigationControlMenuEntry
linkCssClass
attribute of the liferay-ui:icon
tag instance for the Control Menu entry.getLinkCssClass
in interface ProductNavigationControlMenuEntry
httpServletRequest
- 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)
ProductNavigationControlMenuEntry
markupView
attribute of the liferay-ui:icon
tag
instance for the Control Menu entry.getMarkupView
in interface ProductNavigationControlMenuEntry
httpServletRequest
- 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.Object
public 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
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
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 boolean isShow(javax.servlet.http.HttpServletRequest httpServletRequest) throws com.liferay.portal.kernel.exception.PortalException
ProductNavigationControlMenuEntry
true
if the Control Menu entry should be displayed
in the request's context.isShow
in interface ProductNavigationControlMenuEntry
httpServletRequest
- 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()
ProductNavigationControlMenuEntry
true
if the Control Menu entry should be opened in a
dialog window.isUseDialog
in interface ProductNavigationControlMenuEntry
true
if the Control Menu entry should be opened in a
dialog window; false
if it should open in the
current windowprotected boolean isEmbeddedPersonalApplicationLayout(com.liferay.portal.kernel.model.Layout layout)