public class PortletPermissionImpl
extends Object
implements com.liferay.portal.kernel.service.permission.PortletPermission
Constructor and Description |
---|
PortletPermissionImpl() |
Modifier and Type | Method and Description |
---|---|
void |
check(com.liferay.portal.kernel.security.permission.PermissionChecker permissionChecker,
com.liferay.portal.kernel.model.Layout layout,
String portletId,
String actionId) |
void |
check(com.liferay.portal.kernel.security.permission.PermissionChecker permissionChecker,
com.liferay.portal.kernel.model.Layout layout,
String portletId,
String actionId,
boolean strict) |
void |
check(com.liferay.portal.kernel.security.permission.PermissionChecker permissionChecker,
long groupId,
com.liferay.portal.kernel.model.Layout layout,
String portletId,
String actionId) |
void |
check(com.liferay.portal.kernel.security.permission.PermissionChecker permissionChecker,
long groupId,
com.liferay.portal.kernel.model.Layout layout,
String portletId,
String actionId,
boolean strict) |
void |
check(com.liferay.portal.kernel.security.permission.PermissionChecker permissionChecker,
long groupId,
com.liferay.portal.kernel.model.Layout layout,
String portletId,
String actionId,
boolean strict,
boolean checkStagingPermission) |
void |
check(com.liferay.portal.kernel.security.permission.PermissionChecker permissionChecker,
long groupId,
long plid,
String portletId,
String actionId) |
void |
check(com.liferay.portal.kernel.security.permission.PermissionChecker permissionChecker,
long groupId,
long plid,
String portletId,
String actionId,
boolean strict) |
void |
check(com.liferay.portal.kernel.security.permission.PermissionChecker permissionChecker,
long plid,
String portletId,
String actionId) |
void |
check(com.liferay.portal.kernel.security.permission.PermissionChecker permissionChecker,
long plid,
String portletId,
String actionId,
boolean strict) |
void |
check(com.liferay.portal.kernel.security.permission.PermissionChecker permissionChecker,
String portletId,
String actionId) |
boolean |
contains(com.liferay.portal.kernel.security.permission.PermissionChecker permissionChecker,
com.liferay.portal.kernel.model.Layout layout,
com.liferay.portal.kernel.model.Portlet portlet,
String actionId) |
boolean |
contains(com.liferay.portal.kernel.security.permission.PermissionChecker permissionChecker,
com.liferay.portal.kernel.model.Layout layout,
com.liferay.portal.kernel.model.Portlet portlet,
String actionId,
boolean strict) |
boolean |
contains(com.liferay.portal.kernel.security.permission.PermissionChecker permissionChecker,
com.liferay.portal.kernel.model.Layout layout,
String portletId,
String actionId) |
boolean |
contains(com.liferay.portal.kernel.security.permission.PermissionChecker permissionChecker,
com.liferay.portal.kernel.model.Layout layout,
String portletId,
String actionId,
boolean strict) |
boolean |
contains(com.liferay.portal.kernel.security.permission.PermissionChecker permissionChecker,
long groupId,
com.liferay.portal.kernel.model.Layout layout,
com.liferay.portal.kernel.model.Portlet portlet,
String actionId) |
boolean |
contains(com.liferay.portal.kernel.security.permission.PermissionChecker permissionChecker,
long groupId,
com.liferay.portal.kernel.model.Layout layout,
com.liferay.portal.kernel.model.Portlet portlet,
String actionId,
boolean strict) |
boolean |
contains(com.liferay.portal.kernel.security.permission.PermissionChecker permissionChecker,
long groupId,
com.liferay.portal.kernel.model.Layout layout,
com.liferay.portal.kernel.model.Portlet portlet,
String actionId,
boolean strict,
boolean checkStagingPermission) |
boolean |
contains(com.liferay.portal.kernel.security.permission.PermissionChecker permissionChecker,
long groupId,
com.liferay.portal.kernel.model.Layout layout,
String portletId,
String actionId) |
boolean |
contains(com.liferay.portal.kernel.security.permission.PermissionChecker permissionChecker,
long groupId,
com.liferay.portal.kernel.model.Layout layout,
String portletId,
String actionId,
boolean strict) |
boolean |
contains(com.liferay.portal.kernel.security.permission.PermissionChecker permissionChecker,
long groupId,
com.liferay.portal.kernel.model.Layout layout,
String portletId,
String actionId,
boolean strict,
boolean checkStagingPermission) |
boolean |
contains(com.liferay.portal.kernel.security.permission.PermissionChecker permissionChecker,
long groupId,
long plid,
com.liferay.portal.kernel.model.Portlet portlet,
String actionId) |
boolean |
contains(com.liferay.portal.kernel.security.permission.PermissionChecker permissionChecker,
long groupId,
long plid,
com.liferay.portal.kernel.model.Portlet portlet,
String actionId,
boolean strict) |
boolean |
contains(com.liferay.portal.kernel.security.permission.PermissionChecker permissionChecker,
long groupId,
long plid,
String portletId,
String actionId) |
boolean |
contains(com.liferay.portal.kernel.security.permission.PermissionChecker permissionChecker,
long groupId,
long plid,
String portletId,
String actionId,
boolean strict) |
boolean |
contains(com.liferay.portal.kernel.security.permission.PermissionChecker permissionChecker,
long plid,
com.liferay.portal.kernel.model.Portlet portlet,
String actionId) |
boolean |
contains(com.liferay.portal.kernel.security.permission.PermissionChecker permissionChecker,
long plid,
com.liferay.portal.kernel.model.Portlet portlet,
String actionId,
boolean strict) |
boolean |
contains(com.liferay.portal.kernel.security.permission.PermissionChecker permissionChecker,
long plid,
String portletId,
String actionId) |
boolean |
contains(com.liferay.portal.kernel.security.permission.PermissionChecker permissionChecker,
long plid,
String portletId,
String actionId,
boolean strict) |
boolean |
contains(com.liferay.portal.kernel.security.permission.PermissionChecker permissionChecker,
String portletId,
String actionId) |
String |
getPrimaryKey(long plid,
String portletId) |
boolean |
hasAccessPermission(com.liferay.portal.kernel.security.permission.PermissionChecker permissionChecker,
long scopeGroupId,
com.liferay.portal.kernel.model.Layout layout,
com.liferay.portal.kernel.model.Portlet portlet,
PortletMode portletMode) |
protected boolean |
hasAddToPagePermission(com.liferay.portal.kernel.security.permission.PermissionChecker permissionChecker,
com.liferay.portal.kernel.model.Layout layout,
String portletId,
String actionId) |
boolean |
hasConfigurationPermission(com.liferay.portal.kernel.security.permission.PermissionChecker permissionChecker,
long groupId,
com.liferay.portal.kernel.model.Layout layout,
String actionId) |
protected boolean |
hasConfigurePermission(com.liferay.portal.kernel.security.permission.PermissionChecker permissionChecker,
com.liferay.portal.kernel.model.Layout layout,
com.liferay.portal.kernel.model.Portlet portlet,
String actionId) |
protected boolean |
hasConfigurePermission(com.liferay.portal.kernel.security.permission.PermissionChecker permissionChecker,
com.liferay.portal.kernel.model.Layout layout,
String portletId,
String actionId)
Deprecated.
As of Judson (7.1.x), replaced by
hasConfigurePermission(PermissionChecker, Layout, Portlet,
String) |
boolean |
hasControlPanelAccessPermission(com.liferay.portal.kernel.security.permission.PermissionChecker permissionChecker,
long groupId,
Collection<com.liferay.portal.kernel.model.Portlet> portlets) |
boolean |
hasControlPanelAccessPermission(com.liferay.portal.kernel.security.permission.PermissionChecker permissionChecker,
long scopeGroupId,
com.liferay.portal.kernel.model.Portlet portlet) |
boolean |
hasControlPanelAccessPermission(com.liferay.portal.kernel.security.permission.PermissionChecker permissionChecker,
long scopeGroupId,
String portletId) |
protected boolean |
hasCustomizePermission(com.liferay.portal.kernel.security.permission.PermissionChecker permissionChecker,
com.liferay.portal.kernel.model.Layout layout,
com.liferay.portal.kernel.model.Portlet portlet,
String actionId) |
protected boolean |
hasCustomizePermission(com.liferay.portal.kernel.security.permission.PermissionChecker permissionChecker,
com.liferay.portal.kernel.model.Layout layout,
String portletId,
String actionId)
Deprecated.
As of Judson (7.1.x), replaced by
hasCustomizePermission(PermissionChecker, Layout, Portlet,
String) |
boolean |
hasLayoutManagerPermission(String portletId,
String actionId) |
public void check(com.liferay.portal.kernel.security.permission.PermissionChecker permissionChecker, com.liferay.portal.kernel.model.Layout layout, String portletId, String actionId) throws com.liferay.portal.kernel.exception.PortalException
check
in interface com.liferay.portal.kernel.service.permission.PortletPermission
com.liferay.portal.kernel.exception.PortalException
public void check(com.liferay.portal.kernel.security.permission.PermissionChecker permissionChecker, com.liferay.portal.kernel.model.Layout layout, String portletId, String actionId, boolean strict) throws com.liferay.portal.kernel.exception.PortalException
check
in interface com.liferay.portal.kernel.service.permission.PortletPermission
com.liferay.portal.kernel.exception.PortalException
public void check(com.liferay.portal.kernel.security.permission.PermissionChecker permissionChecker, long groupId, com.liferay.portal.kernel.model.Layout layout, String portletId, String actionId) throws com.liferay.portal.kernel.exception.PortalException
check
in interface com.liferay.portal.kernel.service.permission.PortletPermission
com.liferay.portal.kernel.exception.PortalException
public void check(com.liferay.portal.kernel.security.permission.PermissionChecker permissionChecker, long groupId, com.liferay.portal.kernel.model.Layout layout, String portletId, String actionId, boolean strict) throws com.liferay.portal.kernel.exception.PortalException
check
in interface com.liferay.portal.kernel.service.permission.PortletPermission
com.liferay.portal.kernel.exception.PortalException
public void check(com.liferay.portal.kernel.security.permission.PermissionChecker permissionChecker, long groupId, com.liferay.portal.kernel.model.Layout layout, String portletId, String actionId, boolean strict, boolean checkStagingPermission) throws com.liferay.portal.kernel.exception.PortalException
check
in interface com.liferay.portal.kernel.service.permission.PortletPermission
com.liferay.portal.kernel.exception.PortalException
public void check(com.liferay.portal.kernel.security.permission.PermissionChecker permissionChecker, long groupId, long plid, String portletId, String actionId) throws com.liferay.portal.kernel.exception.PortalException
check
in interface com.liferay.portal.kernel.service.permission.PortletPermission
com.liferay.portal.kernel.exception.PortalException
public void check(com.liferay.portal.kernel.security.permission.PermissionChecker permissionChecker, long groupId, long plid, String portletId, String actionId, boolean strict) throws com.liferay.portal.kernel.exception.PortalException
check
in interface com.liferay.portal.kernel.service.permission.PortletPermission
com.liferay.portal.kernel.exception.PortalException
public void check(com.liferay.portal.kernel.security.permission.PermissionChecker permissionChecker, long plid, String portletId, String actionId) throws com.liferay.portal.kernel.exception.PortalException
check
in interface com.liferay.portal.kernel.service.permission.PortletPermission
com.liferay.portal.kernel.exception.PortalException
public void check(com.liferay.portal.kernel.security.permission.PermissionChecker permissionChecker, long plid, String portletId, String actionId, boolean strict) throws com.liferay.portal.kernel.exception.PortalException
check
in interface com.liferay.portal.kernel.service.permission.PortletPermission
com.liferay.portal.kernel.exception.PortalException
public void check(com.liferay.portal.kernel.security.permission.PermissionChecker permissionChecker, String portletId, String actionId) throws com.liferay.portal.kernel.exception.PortalException
check
in interface com.liferay.portal.kernel.service.permission.PortletPermission
com.liferay.portal.kernel.exception.PortalException
public boolean contains(com.liferay.portal.kernel.security.permission.PermissionChecker permissionChecker, com.liferay.portal.kernel.model.Layout layout, com.liferay.portal.kernel.model.Portlet portlet, String actionId) throws com.liferay.portal.kernel.exception.PortalException
contains
in interface com.liferay.portal.kernel.service.permission.PortletPermission
com.liferay.portal.kernel.exception.PortalException
public boolean contains(com.liferay.portal.kernel.security.permission.PermissionChecker permissionChecker, com.liferay.portal.kernel.model.Layout layout, com.liferay.portal.kernel.model.Portlet portlet, String actionId, boolean strict) throws com.liferay.portal.kernel.exception.PortalException
contains
in interface com.liferay.portal.kernel.service.permission.PortletPermission
com.liferay.portal.kernel.exception.PortalException
public boolean contains(com.liferay.portal.kernel.security.permission.PermissionChecker permissionChecker, com.liferay.portal.kernel.model.Layout layout, String portletId, String actionId) throws com.liferay.portal.kernel.exception.PortalException
contains
in interface com.liferay.portal.kernel.service.permission.PortletPermission
com.liferay.portal.kernel.exception.PortalException
public boolean contains(com.liferay.portal.kernel.security.permission.PermissionChecker permissionChecker, com.liferay.portal.kernel.model.Layout layout, String portletId, String actionId, boolean strict) throws com.liferay.portal.kernel.exception.PortalException
contains
in interface com.liferay.portal.kernel.service.permission.PortletPermission
com.liferay.portal.kernel.exception.PortalException
public boolean contains(com.liferay.portal.kernel.security.permission.PermissionChecker permissionChecker, long groupId, com.liferay.portal.kernel.model.Layout layout, com.liferay.portal.kernel.model.Portlet portlet, String actionId) throws com.liferay.portal.kernel.exception.PortalException
contains
in interface com.liferay.portal.kernel.service.permission.PortletPermission
com.liferay.portal.kernel.exception.PortalException
public boolean contains(com.liferay.portal.kernel.security.permission.PermissionChecker permissionChecker, long groupId, com.liferay.portal.kernel.model.Layout layout, com.liferay.portal.kernel.model.Portlet portlet, String actionId, boolean strict) throws com.liferay.portal.kernel.exception.PortalException
contains
in interface com.liferay.portal.kernel.service.permission.PortletPermission
com.liferay.portal.kernel.exception.PortalException
public boolean contains(com.liferay.portal.kernel.security.permission.PermissionChecker permissionChecker, long groupId, com.liferay.portal.kernel.model.Layout layout, com.liferay.portal.kernel.model.Portlet portlet, String actionId, boolean strict, boolean checkStagingPermission) throws com.liferay.portal.kernel.exception.PortalException
contains
in interface com.liferay.portal.kernel.service.permission.PortletPermission
com.liferay.portal.kernel.exception.PortalException
public boolean contains(com.liferay.portal.kernel.security.permission.PermissionChecker permissionChecker, long groupId, com.liferay.portal.kernel.model.Layout layout, String portletId, String actionId) throws com.liferay.portal.kernel.exception.PortalException
contains
in interface com.liferay.portal.kernel.service.permission.PortletPermission
com.liferay.portal.kernel.exception.PortalException
public boolean contains(com.liferay.portal.kernel.security.permission.PermissionChecker permissionChecker, long groupId, com.liferay.portal.kernel.model.Layout layout, String portletId, String actionId, boolean strict) throws com.liferay.portal.kernel.exception.PortalException
contains
in interface com.liferay.portal.kernel.service.permission.PortletPermission
com.liferay.portal.kernel.exception.PortalException
public boolean contains(com.liferay.portal.kernel.security.permission.PermissionChecker permissionChecker, long groupId, com.liferay.portal.kernel.model.Layout layout, String portletId, String actionId, boolean strict, boolean checkStagingPermission) throws com.liferay.portal.kernel.exception.PortalException
contains
in interface com.liferay.portal.kernel.service.permission.PortletPermission
com.liferay.portal.kernel.exception.PortalException
public boolean contains(com.liferay.portal.kernel.security.permission.PermissionChecker permissionChecker, long groupId, long plid, com.liferay.portal.kernel.model.Portlet portlet, String actionId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public boolean contains(com.liferay.portal.kernel.security.permission.PermissionChecker permissionChecker, long groupId, long plid, com.liferay.portal.kernel.model.Portlet portlet, String actionId, boolean strict) throws com.liferay.portal.kernel.exception.PortalException
contains
in interface com.liferay.portal.kernel.service.permission.PortletPermission
com.liferay.portal.kernel.exception.PortalException
public boolean contains(com.liferay.portal.kernel.security.permission.PermissionChecker permissionChecker, long groupId, long plid, String portletId, String actionId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public boolean contains(com.liferay.portal.kernel.security.permission.PermissionChecker permissionChecker, long groupId, long plid, String portletId, String actionId, boolean strict) throws com.liferay.portal.kernel.exception.PortalException
contains
in interface com.liferay.portal.kernel.service.permission.PortletPermission
com.liferay.portal.kernel.exception.PortalException
public boolean contains(com.liferay.portal.kernel.security.permission.PermissionChecker permissionChecker, long plid, com.liferay.portal.kernel.model.Portlet portlet, String actionId) throws com.liferay.portal.kernel.exception.PortalException
contains
in interface com.liferay.portal.kernel.service.permission.PortletPermission
com.liferay.portal.kernel.exception.PortalException
public boolean contains(com.liferay.portal.kernel.security.permission.PermissionChecker permissionChecker, long plid, com.liferay.portal.kernel.model.Portlet portlet, String actionId, boolean strict) throws com.liferay.portal.kernel.exception.PortalException
contains
in interface com.liferay.portal.kernel.service.permission.PortletPermission
com.liferay.portal.kernel.exception.PortalException
public boolean contains(com.liferay.portal.kernel.security.permission.PermissionChecker permissionChecker, long plid, String portletId, String actionId) throws com.liferay.portal.kernel.exception.PortalException
contains
in interface com.liferay.portal.kernel.service.permission.PortletPermission
com.liferay.portal.kernel.exception.PortalException
public boolean contains(com.liferay.portal.kernel.security.permission.PermissionChecker permissionChecker, long plid, String portletId, String actionId, boolean strict) throws com.liferay.portal.kernel.exception.PortalException
contains
in interface com.liferay.portal.kernel.service.permission.PortletPermission
com.liferay.portal.kernel.exception.PortalException
public boolean contains(com.liferay.portal.kernel.security.permission.PermissionChecker permissionChecker, String portletId, String actionId) throws com.liferay.portal.kernel.exception.PortalException
contains
in interface com.liferay.portal.kernel.service.permission.PortletPermission
com.liferay.portal.kernel.exception.PortalException
public String getPrimaryKey(long plid, String portletId)
getPrimaryKey
in interface com.liferay.portal.kernel.service.permission.PortletPermission
public boolean hasAccessPermission(com.liferay.portal.kernel.security.permission.PermissionChecker permissionChecker, long scopeGroupId, com.liferay.portal.kernel.model.Layout layout, com.liferay.portal.kernel.model.Portlet portlet, PortletMode portletMode) throws com.liferay.portal.kernel.exception.PortalException
hasAccessPermission
in interface com.liferay.portal.kernel.service.permission.PortletPermission
com.liferay.portal.kernel.exception.PortalException
public boolean hasConfigurationPermission(com.liferay.portal.kernel.security.permission.PermissionChecker permissionChecker, long groupId, com.liferay.portal.kernel.model.Layout layout, String actionId) throws com.liferay.portal.kernel.exception.PortalException
hasConfigurationPermission
in interface com.liferay.portal.kernel.service.permission.PortletPermission
com.liferay.portal.kernel.exception.PortalException
public boolean hasControlPanelAccessPermission(com.liferay.portal.kernel.security.permission.PermissionChecker permissionChecker, long groupId, Collection<com.liferay.portal.kernel.model.Portlet> portlets) throws com.liferay.portal.kernel.exception.PortalException
hasControlPanelAccessPermission
in interface com.liferay.portal.kernel.service.permission.PortletPermission
com.liferay.portal.kernel.exception.PortalException
public boolean hasControlPanelAccessPermission(com.liferay.portal.kernel.security.permission.PermissionChecker permissionChecker, long scopeGroupId, com.liferay.portal.kernel.model.Portlet portlet) throws com.liferay.portal.kernel.exception.PortalException
hasControlPanelAccessPermission
in interface com.liferay.portal.kernel.service.permission.PortletPermission
com.liferay.portal.kernel.exception.PortalException
public boolean hasControlPanelAccessPermission(com.liferay.portal.kernel.security.permission.PermissionChecker permissionChecker, long scopeGroupId, String portletId) throws com.liferay.portal.kernel.exception.PortalException
hasControlPanelAccessPermission
in interface com.liferay.portal.kernel.service.permission.PortletPermission
com.liferay.portal.kernel.exception.PortalException
public boolean hasLayoutManagerPermission(String portletId, String actionId)
hasLayoutManagerPermission
in interface com.liferay.portal.kernel.service.permission.PortletPermission
protected boolean hasAddToPagePermission(com.liferay.portal.kernel.security.permission.PermissionChecker permissionChecker, com.liferay.portal.kernel.model.Layout layout, String portletId, String actionId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
protected boolean hasConfigurePermission(com.liferay.portal.kernel.security.permission.PermissionChecker permissionChecker, com.liferay.portal.kernel.model.Layout layout, com.liferay.portal.kernel.model.Portlet portlet, String actionId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
@Deprecated protected boolean hasConfigurePermission(com.liferay.portal.kernel.security.permission.PermissionChecker permissionChecker, com.liferay.portal.kernel.model.Layout layout, String portletId, String actionId) throws com.liferay.portal.kernel.exception.PortalException
hasConfigurePermission(PermissionChecker, Layout, Portlet,
String)
com.liferay.portal.kernel.exception.PortalException
protected boolean hasCustomizePermission(com.liferay.portal.kernel.security.permission.PermissionChecker permissionChecker, com.liferay.portal.kernel.model.Layout layout, com.liferay.portal.kernel.model.Portlet portlet, String actionId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
@Deprecated protected boolean hasCustomizePermission(com.liferay.portal.kernel.security.permission.PermissionChecker permissionChecker, com.liferay.portal.kernel.model.Layout layout, String portletId, String actionId) throws com.liferay.portal.kernel.exception.PortalException
hasCustomizePermission(PermissionChecker, Layout, Portlet,
String)
com.liferay.portal.kernel.exception.PortalException