com.liferay.portal.service.permission
Class LayoutPermissionUtil
java.lang.Object
com.liferay.portal.service.permission.LayoutPermissionUtil
public class LayoutPermissionUtil
- extends Object
Method Summary |
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,
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 LayoutPermission |
getLayoutPermission()
|
void |
setLayoutPermission(LayoutPermission layoutPermission)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LayoutPermissionUtil
public LayoutPermissionUtil()
check
public static void check(PermissionChecker permissionChecker,
long plid,
String actionId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
check
public static void check(PermissionChecker permissionChecker,
long groupId,
boolean privateLayout,
long layoutId,
String actionId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
check
public static void check(PermissionChecker permissionChecker,
Layout layout,
String actionId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
contains
public static boolean contains(PermissionChecker permissionChecker,
long plid,
String actionId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
contains
public static boolean contains(PermissionChecker permissionChecker,
long groupId,
boolean privateLayout,
long layoutId,
String actionId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
contains
public static boolean contains(PermissionChecker permissionChecker,
Layout layout,
String actionId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getLayoutPermission
public static LayoutPermission getLayoutPermission()
setLayoutPermission
public void setLayoutPermission(LayoutPermission layoutPermission)