Class PortletPanelAppAdapter
java.lang.Object
com.liferay.application.list.BasePanelApp
com.liferay.application.list.adapter.PortletPanelAppAdapter
- All Implemented Interfaces:
PanelApp
,PanelEntry
-
Field Summary
Fields inherited from class com.liferay.application.list.BasePanelApp
groupProvider
-
Constructor Summary
ConstructorsConstructorDescriptionPortletPanelAppAdapter
(String portletId, Supplier<com.liferay.portal.kernel.model.Portlet> supplier) -
Method Summary
Modifier and TypeMethodDescriptiongetKey()
Returns the panel entry's key.Returns the label that is displayed in the user interface when the panel entry is included.com.liferay.portal.kernel.model.Portlet
Returns the portlet associated with the application.Returns the portlet's ID associated with the application.Methods inherited from class com.liferay.application.list.BasePanelApp
getControlPanelEntry, getGroup, getNotificationsCount, getPortletURL, include, isShow, setGroupProvider, setPortletLocalService, setUserNotificationEventLocalService
-
Constructor Details
-
PortletPanelAppAdapter
-
-
Method Details
-
getKey
Description copied from interface:PanelEntry
Returns the panel entry's key.- Specified by:
getKey
in interfacePanelEntry
- Overrides:
getKey
in classBasePanelApp
- Returns:
- the panel entry's key
-
getLabel
Description copied from interface:PanelEntry
Returns the label that is displayed in the user interface when the panel entry is included.- Specified by:
getLabel
in interfacePanelEntry
- Overrides:
getLabel
in classBasePanelApp
- Parameters:
locale
- the label's retrieved locale- Returns:
- the label of the panel entry
-
getPortlet
public com.liferay.portal.kernel.model.Portlet getPortlet()Description copied from interface:PanelApp
Returns the portlet associated with the application.- Returns:
- the portlet associated with the application
-
getPortletId
Description copied from interface:PanelApp
Returns the portlet's ID associated with the application.- Returns:
- the portlet's ID associated with the application
-