public interface ProductNavigationControlMenuCategory
product-navigation:control-menu
tag instance to render a new
Control Menu category. Control Menu categories include Control Menu entries
defined by ProductNavigationControlMenuEntry
implementations.
Implementations must be registered in the OSGi Registry. The order of the
Control Menu categories is determined by the
product.navigation.control.menu.category.order
property value.
The parent Control Menu category key can be defined by the
product.navigation.control.menu.category.key
property value.
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getKey()
Returns the Control Menu category's key.
|
boolean |
hasAccessPermission(javax.servlet.http.HttpServletRequest httpServletRequest)
Returns
true if the Control Menu category should be
displayed in the request's context. |
java.lang.String getKey()
boolean hasAccessPermission(javax.servlet.http.HttpServletRequest httpServletRequest) throws com.liferay.portal.kernel.exception.PortalException
true
if the Control Menu category should be
displayed in the request's context.httpServletRequest
- the request that renders the Control Menu
categorytrue
if the Control Menu category should be
displayed in the request's context; false
otherwisecom.liferay.portal.kernel.exception.PortalException
- if a portal exception occurred