public abstract class BaseControlPanelEntry extends Object implements ControlPanelEntry
Constructor and Description |
---|
BaseControlPanelEntry() |
Modifier and Type | Method and Description |
---|---|
protected long |
getDefaultPlid(Group group,
String category) |
boolean |
hasAccessPermission(PermissionChecker permissionChecker,
Group group,
Portlet portlet) |
protected boolean |
hasAccessPermissionDenied(PermissionChecker permissionChecker,
Group group,
Portlet portlet) |
protected boolean |
hasAccessPermissionExplicitlyGranted(PermissionChecker permissionChecker,
Group group,
Portlet portlet) |
protected boolean |
hasPermissionImplicitlyGranted(PermissionChecker permissionChecker,
Group group,
Portlet portlet) |
boolean |
isVisible(PermissionChecker permissionChecker,
Portlet portlet)
Deprecated.
As of Wilberforce (7.0.x), with no direct replacement.
This
method was originally defined to determine if a portlet
should be displayed in the Control Panel. In this version,
this method should always return In
lieu of this method, the Control Panel now uses |
boolean |
isVisible(Portlet portlet,
String category,
ThemeDisplay themeDisplay)
Deprecated.
As of Wilberforce (7.0.x), with no direct replacement.
This
method was originally defined to determine if a portlet
should be displayed in the Control Panel. In this version,
this method should always return In
lieu of this method, the Control Panel now uses |
public boolean hasAccessPermission(PermissionChecker permissionChecker, Group group, Portlet portlet) throws Exception
hasAccessPermission
in interface ControlPanelEntry
Exception
@Deprecated public boolean isVisible(PermissionChecker permissionChecker, Portlet portlet) throws Exception
This
method was originally defined to determine if a portlet
should be displayed in the Control Panel. In this version,
this method should always return false
and
remains only to preserve binary compatibility. This method
will be permanently removed in a future version.
In
lieu of this method, the Control Panel now uses hasAccessPermission(com.liferay.portal.kernel.security.permission.PermissionChecker, com.liferay.portal.kernel.model.Group, com.liferay.portal.kernel.model.Portlet)
to determine if a portlet should be
displayed in the Control Panel.
isVisible
in interface ControlPanelEntry
Exception
@Deprecated public boolean isVisible(Portlet portlet, String category, ThemeDisplay themeDisplay) throws Exception
This
method was originally defined to determine if a portlet
should be displayed in the Control Panel. In this version,
this method should always return false
and
remains only to preserve binary compatibility. This method
will be permanently removed in a future version.
In
lieu of this method, the Control Panel now uses hasAccessPermission(com.liferay.portal.kernel.security.permission.PermissionChecker, com.liferay.portal.kernel.model.Group, com.liferay.portal.kernel.model.Portlet)
to determine if a portlet should be
displayed in the Control Panel.
isVisible
in interface ControlPanelEntry
Exception
protected long getDefaultPlid(Group group, String category)
protected boolean hasAccessPermissionDenied(PermissionChecker permissionChecker, Group group, Portlet portlet) throws Exception
Exception
protected boolean hasAccessPermissionExplicitlyGranted(PermissionChecker permissionChecker, Group group, Portlet portlet) throws PortalException
PortalException
protected boolean hasPermissionImplicitlyGranted(PermissionChecker permissionChecker, Group group, Portlet portlet) throws Exception
Exception