public class DefaultPortletResourcePermission extends Object implements PortletResourcePermission
Constructor and Description |
---|
DefaultPortletResourcePermission(String resourceName,
PortletResourcePermissionLogic... portletResourcePermissionLogics) |
Modifier and Type | Method and Description |
---|---|
void |
check(PermissionChecker permissionChecker,
Group group,
String actionId) |
void |
check(PermissionChecker permissionChecker,
long groupId,
String actionId) |
boolean |
contains(PermissionChecker permissionChecker,
Group group,
String actionId) |
boolean |
contains(PermissionChecker permissionChecker,
long groupId,
String actionId) |
String |
getResourceName() |
public DefaultPortletResourcePermission(String resourceName, PortletResourcePermissionLogic... portletResourcePermissionLogics)
public void check(PermissionChecker permissionChecker, Group group, String actionId) throws PrincipalException
check
in interface PortletResourcePermission
PrincipalException
public void check(PermissionChecker permissionChecker, long groupId, String actionId) throws PrincipalException
check
in interface PortletResourcePermission
PrincipalException
public boolean contains(PermissionChecker permissionChecker, Group group, String actionId)
contains
in interface PortletResourcePermission
public boolean contains(PermissionChecker permissionChecker, long groupId, String actionId)
contains
in interface PortletResourcePermission
public String getResourceName()
getResourceName
in interface PortletResourcePermission