public interface PanelEntry
PanelCategory or PanelApp implementation, it is
necessary to implement its corresponding interface. Never implement this
interface directly.PanelApp,
PanelCategory| 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.
|
boolean |
isShow(com.liferay.portal.kernel.security.permission.PermissionChecker permissionChecker,
com.liferay.portal.kernel.model.Group group)
Returns
true if the panel entry should be displayed in the
group's context. |
java.lang.String getKey()
java.lang.String getLabel(java.util.Locale locale)
locale - the label's retrieved localeboolean isShow(com.liferay.portal.kernel.security.permission.PermissionChecker permissionChecker,
com.liferay.portal.kernel.model.Group group)
throws com.liferay.portal.kernel.exception.PortalException
true if the panel entry should be displayed in the
group's context.permissionChecker - the permission checkergroup - the group for which permissions are checkedtrue if the Control Menu entry should be displayed
in the request's context; false otherwisecom.liferay.portal.kernel.exception.PortalException - if a portal exception occurred