public interface PanelApp extends PanelEntry
liferay-application-list:panel-app tag instance to render a new
panel application. Applications are included within application categories
defined by PanelCategory implementations.PanelEntry| Modifier and Type | Method and Description |
|---|---|
int |
getNotificationsCount(User user)
Returns the number of notifications for the user.
|
Portlet |
getPortlet()
Returns the portlet associated with the application.
|
java.lang.String |
getPortletId()
Returns the portlet's ID associated with the application.
|
javax.portlet.PortletURL |
getPortletURL(javax.servlet.http.HttpServletRequest httpServletRequest)
Returns the URL used to render a portlet based on the servlet request
attributes.
|
boolean |
include(javax.servlet.http.HttpServletRequest httpServletRequest,
javax.servlet.http.HttpServletResponse httpServletResponse)
Returns
true if the application successfully renders. |
void |
setGroupProvider(GroupProvider groupProvider)
Sets the
GroupProvider associated with the application. |
void |
setPortlet(Portlet portlet)
Sets the portlet associated with the application.
|
getKey, getLabel, isShowint getNotificationsCount(User user)
user - the user from which notifications are retrievedPortlet getPortlet()
java.lang.String getPortletId()
javax.portlet.PortletURL getPortletURL(javax.servlet.http.HttpServletRequest httpServletRequest)
throws PortalException
httpServletRequest - the servlet request used to create a portlet's
URLPortalException - if a portal exception occurredboolean include(javax.servlet.http.HttpServletRequest httpServletRequest,
javax.servlet.http.HttpServletResponse httpServletResponse)
throws java.io.IOException
true if the application successfully renders.httpServletRequest - the servlet request used in the rendering
processhttpServletResponse - the servlet response used in the rendering
processtrue if the application successfully renders;
false otherwisejava.io.IOException - if an IO exception occurredvoid setGroupProvider(GroupProvider groupProvider)
GroupProvider associated with the application.groupProvider - the group provider associated with the applicationvoid setPortlet(Portlet portlet)
portlet - the portlet associated with the application