public class PortletPanelAppAdapter extends BasePanelApp
groupProvider
Constructor and Description |
---|
PortletPanelAppAdapter(java.lang.String portletId,
java.util.function.Supplier<com.liferay.portal.kernel.model.Portlet> supplier) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getKey()
Returns the panel entry's key.
|
java.lang.String |
getLabel(java.util.Locale locale)
Returns the label that is displayed in the user interface when the panel
entry is included.
|
com.liferay.portal.kernel.model.Portlet |
getPortlet()
Returns the portlet associated with the application.
|
java.lang.String |
getPortletId()
Returns the portlet's ID associated with the application.
|
getControlPanelEntry, getGroup, getNotificationsCount, getPortletURL, include, isShow, setGroupProvider, setPortletLocalService, setUserNotificationEventLocalService
public PortletPanelAppAdapter(java.lang.String portletId, java.util.function.Supplier<com.liferay.portal.kernel.model.Portlet> supplier)
public java.lang.String getKey()
PanelEntry
getKey
in interface PanelEntry
getKey
in class BasePanelApp
public java.lang.String getLabel(java.util.Locale locale)
PanelEntry
getLabel
in interface PanelEntry
getLabel
in class BasePanelApp
locale
- the label's retrieved localepublic com.liferay.portal.kernel.model.Portlet getPortlet()
PanelApp
public java.lang.String getPortletId()
PanelApp