Liferay 6.0.5

com.liferay.portal.service.permission
Class LayoutPermissionUtil

java.lang.Object
  extended by com.liferay.portal.service.permission.LayoutPermissionUtil

public class LayoutPermissionUtil
extends Object


Constructor Summary
LayoutPermissionUtil()
           
 
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
 

Constructor Detail

LayoutPermissionUtil

public LayoutPermissionUtil()
Method Detail

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)

Liferay 6.0.5