Liferay 6.2-ce-ga5

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, boolean checkViewableGroup, String actionId)
           
static boolean contains(PermissionChecker permissionChecker, Layout layout, String actionId)
           
static boolean contains(PermissionChecker permissionChecker, Layout layout, String controlPanelCategory, boolean checkViewableGroup, String actionId)
          Deprecated. As of 6.2.0, replaced by contains(PermissionChecker, Layout, boolean, String)
static boolean contains(PermissionChecker permissionChecker, Layout layout, String controlPanelCategory, String actionId)
          Deprecated. As of 6.2.0, replaced by contains(PermissionChecker, Layout, String)
static boolean contains(PermissionChecker permissionChecker, long groupId, boolean privateLayout, long layoutId, String actionId)
           
static boolean contains(PermissionChecker permissionChecker, long groupId, boolean privateLayout, long layoutId, String controlPanelCategory, String actionId)
          Deprecated. As of 6.2.0, replaced by contains(PermissionChecker, long, boolean, long, String)
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 boolean containsWithoutViewableGroup(PermissionChecker permissionChecker, Layout layout, String controlPanelCategory, boolean checkLayoutUpdateable, String actionId)
          Deprecated. As of 6.2.0, replaced by containsWithoutViewableGroup(PermissionChecker, Layout, boolean, String)
static boolean containsWithoutViewableGroup(PermissionChecker permissionChecker, Layout layout, String controlPanelCategory, String actionId)
          Deprecated. As of 6.2.0, replaced by containsWithoutViewableGroup(PermissionChecker, Layout, String)
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,
                         Layout layout,
                         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,
                         long plid,
                         String actionId)
                  throws PortalException,
                         SystemException
Throws:
PortalException
SystemException

contains

public static boolean contains(PermissionChecker permissionChecker,
                               Layout layout,
                               boolean checkViewableGroup,
                               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

contains

public static boolean contains(PermissionChecker permissionChecker,
                               Layout layout,
                               String controlPanelCategory,
                               boolean checkViewableGroup,
                               String actionId)
                        throws PortalException,
                               SystemException
Deprecated. As of 6.2.0, replaced by contains(PermissionChecker, Layout, boolean, String)

Throws:
PortalException
SystemException

contains

public static boolean contains(PermissionChecker permissionChecker,
                               Layout layout,
                               String controlPanelCategory,
                               String actionId)
                        throws PortalException,
                               SystemException
Deprecated. As of 6.2.0, replaced by contains(PermissionChecker, Layout, String)

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,
                               long groupId,
                               boolean privateLayout,
                               long layoutId,
                               String controlPanelCategory,
                               String actionId)
                        throws PortalException,
                               SystemException
Deprecated. As of 6.2.0, replaced by contains(PermissionChecker, long, boolean, long, String)

Throws:
PortalException
SystemException

contains

public static boolean contains(PermissionChecker permissionChecker,
                               long plid,
                               String actionId)
                        throws PortalException,
                               SystemException
Throws:
PortalException
SystemException

containsWithoutViewableGroup

public static boolean containsWithoutViewableGroup(PermissionChecker permissionChecker,
                                                   Layout layout,
                                                   boolean checkLayoutUpdateable,
                                                   String actionId)
                                            throws PortalException,
                                                   SystemException
Throws:
PortalException
SystemException

containsWithoutViewableGroup

public static boolean containsWithoutViewableGroup(PermissionChecker permissionChecker,
                                                   Layout layout,
                                                   String actionId)
                                            throws PortalException,
                                                   SystemException
Throws:
PortalException
SystemException

containsWithoutViewableGroup

public static boolean containsWithoutViewableGroup(PermissionChecker permissionChecker,
                                                   Layout layout,
                                                   String controlPanelCategory,
                                                   boolean checkLayoutUpdateable,
                                                   String actionId)
                                            throws PortalException,
                                                   SystemException
Deprecated. As of 6.2.0, replaced by containsWithoutViewableGroup(PermissionChecker, Layout, boolean, String)

Throws:
PortalException
SystemException

containsWithoutViewableGroup

public static boolean containsWithoutViewableGroup(PermissionChecker permissionChecker,
                                                   Layout layout,
                                                   String controlPanelCategory,
                                                   String actionId)
                                            throws PortalException,
                                                   SystemException
Deprecated. As of 6.2.0, replaced by containsWithoutViewableGroup(PermissionChecker, Layout, String)

Throws:
PortalException
SystemException

getLayoutPermission

public static LayoutPermission getLayoutPermission()

setLayoutPermission

public void setLayoutPermission(LayoutPermission layoutPermission)

Liferay 6.2-ce-ga5