public class LayoutPermissionUtil
extends Object
Constructor and Description |
---|
LayoutPermissionUtil() |
Modifier and Type | Method and Description |
---|---|
static void |
check(PermissionChecker permissionChecker,
Layout layout,
boolean checkViewableGroup,
String actionId) |
static void |
check(PermissionChecker permissionChecker,
Layout layout,
String actionId) |
static void |
check(PermissionChecker permissionChecker,
long groupId,
boolean privateLayout,
long layoutId,
String actionId) |
static void |
check(PermissionChecker permissionChecker,
long plid,
String actionId) |
static boolean |
contains(PermissionChecker permissionChecker,
Layout layout,
boolean checkViewableGroup,
String actionId) |
static boolean |
contains(PermissionChecker permissionChecker,
Layout layout,
String actionId) |
static boolean |
contains(PermissionChecker permissionChecker,
long groupId,
boolean privateLayout,
long layoutId,
String actionId) |
static boolean |
contains(PermissionChecker permissionChecker,
long plid,
String actionId) |
static boolean |
containsWithoutViewableGroup(PermissionChecker permissionChecker,
Layout layout,
boolean checkLayoutUpdateable,
String actionId) |
static boolean |
containsWithoutViewableGroup(PermissionChecker permissionChecker,
Layout layout,
String actionId) |
static LayoutPermission |
getLayoutPermission() |
void |
setLayoutPermission(LayoutPermission layoutPermission) |
public static void check(PermissionChecker permissionChecker, Layout layout, boolean checkViewableGroup, String actionId) throws PortalException
PortalException
public static void check(PermissionChecker permissionChecker, Layout layout, String actionId) throws PortalException
PortalException
public static void check(PermissionChecker permissionChecker, long groupId, boolean privateLayout, long layoutId, String actionId) throws PortalException
PortalException
public static void check(PermissionChecker permissionChecker, long plid, String actionId) throws PortalException
PortalException
public static boolean contains(PermissionChecker permissionChecker, Layout layout, boolean checkViewableGroup, String actionId) throws PortalException
PortalException
public static boolean contains(PermissionChecker permissionChecker, Layout layout, String actionId) throws PortalException
PortalException
public static boolean contains(PermissionChecker permissionChecker, long groupId, boolean privateLayout, long layoutId, String actionId) throws PortalException
PortalException
public static boolean contains(PermissionChecker permissionChecker, long plid, String actionId) throws PortalException
PortalException
public static boolean containsWithoutViewableGroup(PermissionChecker permissionChecker, Layout layout, boolean checkLayoutUpdateable, String actionId) throws PortalException
PortalException
public static boolean containsWithoutViewableGroup(PermissionChecker permissionChecker, Layout layout, String actionId) throws PortalException
PortalException
public static LayoutPermission getLayoutPermission()
public void setLayoutPermission(LayoutPermission layoutPermission)