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.PortletReturns 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:PanelEntryReturns the panel entry's key.- Specified by:
getKeyin interfacePanelEntry- Overrides:
getKeyin classBasePanelApp- Returns:
- the panel entry's key
-
getLabel
Description copied from interface:PanelEntryReturns the label that is displayed in the user interface when the panel entry is included.- Specified by:
getLabelin interfacePanelEntry- Overrides:
getLabelin 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:PanelAppReturns the portlet associated with the application.- Returns:
- the portlet associated with the application
-
getPortletId
Description copied from interface:PanelAppReturns the portlet's ID associated with the application.- Returns:
- the portlet's ID associated with the application
-