public class OmniadminControlPanelEntry extends BaseControlPanelEntry
liferay-portlet.xml
file, this class can be specified as the
value for the control-panel-entry-class element.Constructor and Description |
---|
OmniadminControlPanelEntry() |
Modifier and Type | Method and Description |
---|---|
boolean |
hasAccessPermission(PermissionChecker permissionChecker,
Group group,
Portlet portlet)
Returns
true if the current user is an omni administrator. |
getDefaultPlid, hasAccessPermissionDenied, hasAccessPermissionExplicitlyGranted, hasPermissionImplicitlyGranted, isVisible, isVisible
public boolean hasAccessPermission(PermissionChecker permissionChecker, Group group, Portlet portlet) throws Exception
true
if the current user is an omni administrator.hasAccessPermission
in interface ControlPanelEntry
hasAccessPermission
in class BaseControlPanelEntry
permissionChecker
- the permission checker referencing the current
usergroup
- the groupportlet
- the portlet being checkedtrue
if the current user is an omni administrator;
false
otherwiseException
- if an exception occurred