public interface PanelCategory extends PanelEntry
liferay-application-list:panel-category tag instance to render a
new panel application category. Application categories include applications
defined by PanelApp implementations.PanelEntry| Modifier and Type | Method and Description |
|---|---|
int |
getNotificationsCount(PanelCategoryHelper panelCategoryHelper,
com.liferay.portal.kernel.security.permission.PermissionChecker permissionChecker,
com.liferay.portal.kernel.model.Group group,
com.liferay.portal.kernel.model.User user)
Returns the number of notifications for the user in this application
category.
|
boolean |
include(javax.servlet.http.HttpServletRequest httpServletRequest,
javax.servlet.http.HttpServletResponse httpServletResponse)
Returns
true if the category body renders successfully. |
boolean |
includeHeader(javax.servlet.http.HttpServletRequest httpServletRequest,
javax.servlet.http.HttpServletResponse httpServletResponse)
Returns
true if the category header renders successfully. |
boolean |
isActive(javax.servlet.http.HttpServletRequest httpServletRequest,
PanelCategoryHelper panelCategoryHelper,
com.liferay.portal.kernel.model.Group group)
Returns
true if the application category is active. |
default boolean |
isAllowScopeLayouts() |
boolean |
isPersistState()
Returns
true if the state of the category is persisted. |
getKey, getLabel, isShowint getNotificationsCount(PanelCategoryHelper panelCategoryHelper, com.liferay.portal.kernel.security.permission.PermissionChecker permissionChecker, com.liferay.portal.kernel.model.Group group, com.liferay.portal.kernel.model.User user)
panelCategoryHelper - the PanelCategoryHelper to facilitate
the method's implementationpermissionChecker - the PermissionChecker (in
portal-kernel) used to check the user's permissionsgroup - the group for which notifications are checkeduser - the user from which notifications are retrievedboolean include(javax.servlet.http.HttpServletRequest httpServletRequest,
javax.servlet.http.HttpServletResponse httpServletResponse)
throws java.io.IOException
true if the category body renders successfully.httpServletRequest - the servlet request used in the rendering
processhttpServletResponse - the servlet response used in the rendering
processtrue if the category body renders successfully;
false otherwisejava.io.IOException - if an IO exception occurredboolean includeHeader(javax.servlet.http.HttpServletRequest httpServletRequest,
javax.servlet.http.HttpServletResponse httpServletResponse)
throws java.io.IOException
true if the category header renders successfully.httpServletRequest - the servlet request used in the rendering
processhttpServletResponse - the servlet response used in the rendering
processtrue if the category header renders successfully;
false otherwisejava.io.IOException - if an IO exception occurredboolean isActive(javax.servlet.http.HttpServletRequest httpServletRequest,
PanelCategoryHelper panelCategoryHelper,
com.liferay.portal.kernel.model.Group group)
true if the application category is active.httpServletRequest - the servlet requestpanelCategoryHelper - the PanelCategoryHelper to facilitate
the method's implementationgroup - the group for which the state of the application category
is checkedtrue if the application category is active;
false otherwisedefault boolean isAllowScopeLayouts()
boolean isPersistState()
true if the state of the category is persisted.true if the state of the category is persisted;
false otherwise