public abstract class BasePanelApp extends java.lang.Object implements PanelApp
| Modifier and Type | Field and Description |
|---|---|
protected GroupProvider |
groupProvider |
| Constructor and Description |
|---|
BasePanelApp() |
| Modifier and Type | Method and Description |
|---|---|
protected com.liferay.portal.kernel.portlet.ControlPanelEntry |
getControlPanelEntry() |
protected com.liferay.portal.kernel.model.Group |
getGroup(javax.servlet.http.HttpServletRequest request) |
java.lang.String |
getKey() |
java.lang.String |
getLabel(java.util.Locale locale) |
int |
getNotificationsCount(com.liferay.portal.kernel.model.User user) |
com.liferay.portal.kernel.model.Portlet |
getPortlet() |
javax.portlet.PortletURL |
getPortletURL(javax.servlet.http.HttpServletRequest request) |
boolean |
include(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
boolean |
isShow(com.liferay.portal.kernel.security.permission.PermissionChecker permissionChecker,
com.liferay.portal.kernel.model.Group group) |
void |
setGroupProvider(GroupProvider groupProvider) |
void |
setPortlet(com.liferay.portal.kernel.model.Portlet portlet) |
protected void |
setUserNotificationEventLocalService(com.liferay.portal.kernel.service.UserNotificationEventLocalService userNotificationEventLocalService) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetPortletIdprotected GroupProvider groupProvider
public java.lang.String getKey()
getKey in interface PanelEntrypublic java.lang.String getLabel(java.util.Locale locale)
getLabel in interface PanelEntrypublic int getNotificationsCount(com.liferay.portal.kernel.model.User user)
getNotificationsCount in interface PanelApppublic com.liferay.portal.kernel.model.Portlet getPortlet()
getPortlet in interface PanelApppublic javax.portlet.PortletURL getPortletURL(javax.servlet.http.HttpServletRequest request)
throws com.liferay.portal.kernel.exception.PortalException
getPortletURL in interface PanelAppcom.liferay.portal.kernel.exception.PortalExceptionpublic boolean include(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws java.io.IOException
public boolean isShow(com.liferay.portal.kernel.security.permission.PermissionChecker permissionChecker,
com.liferay.portal.kernel.model.Group group)
throws com.liferay.portal.kernel.exception.PortalException
isShow in interface PanelEntrycom.liferay.portal.kernel.exception.PortalExceptionpublic void setGroupProvider(GroupProvider groupProvider)
setGroupProvider in interface PanelApppublic void setPortlet(com.liferay.portal.kernel.model.Portlet portlet)
setPortlet in interface PanelAppprotected com.liferay.portal.kernel.portlet.ControlPanelEntry getControlPanelEntry()
protected com.liferay.portal.kernel.model.Group getGroup(javax.servlet.http.HttpServletRequest request)
protected void setUserNotificationEventLocalService(com.liferay.portal.kernel.service.UserNotificationEventLocalService userNotificationEventLocalService)