Liferay 6.2-ce-ga5

com.liferay.portal.service.permission
Class LayoutPermissionImpl

java.lang.Object
  extended by com.liferay.portal.service.permission.LayoutPermissionImpl
All Implemented Interfaces:
LayoutPermission

public class LayoutPermissionImpl
extends Object
implements LayoutPermission


Constructor Summary
LayoutPermissionImpl()
           
 
Method Summary
 void check(PermissionChecker permissionChecker, Layout layout, String actionId)
           
 void check(PermissionChecker permissionChecker, long groupId, boolean privateLayout, long layoutId, String actionId)
           
 void check(PermissionChecker permissionChecker, long plid, String actionId)
           
 boolean contains(PermissionChecker permissionChecker, Layout layout, boolean checkViewableGroup, String actionId)
           
 boolean contains(PermissionChecker permissionChecker, Layout layout, String actionId)
           
 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)
 boolean contains(PermissionChecker permissionChecker, Layout layout, String controlPanelCategory, String actionId)
          Deprecated. As of 6.2.0, replaced by contains(PermissionChecker, Layout, String)
 boolean contains(PermissionChecker permissionChecker, long groupId, boolean privateLayout, long layoutId, String actionId)
           
 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)
 boolean contains(PermissionChecker permissionChecker, long plid, String actionId)
           
 boolean containsWithoutViewableGroup(PermissionChecker permissionChecker, Layout layout, boolean checkLayoutUpdateable, String actionId)
           
 boolean containsWithoutViewableGroup(PermissionChecker permissionChecker, Layout layout, String actionId)
           
 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)
 boolean containsWithoutViewableGroup(PermissionChecker permissionChecker, Layout layout, String controlPanelCategory, String actionId)
          Deprecated. As of 6.2.0, replaced by containsWithoutViewableGroup(PermissionChecker, Layout, String)
protected  boolean containsWithViewableGroup(PermissionChecker permissionChecker, Layout layout, boolean checkViewableGroup, String actionId)
           
protected  boolean isAttemptToModifyLockedLayout(Layout layout, String actionId)
           
protected  boolean isViewableGroup(PermissionChecker permissionChecker, Layout layout, boolean checkResourcePermission)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LayoutPermissionImpl

public LayoutPermissionImpl()
Method Detail

check

public void check(PermissionChecker permissionChecker,
                  Layout layout,
                  String actionId)
           throws PortalException,
                  SystemException
Specified by:
check in interface LayoutPermission
Throws:
PortalException
SystemException

check

public void check(PermissionChecker permissionChecker,
                  long groupId,
                  boolean privateLayout,
                  long layoutId,
                  String actionId)
           throws PortalException,
                  SystemException
Specified by:
check in interface LayoutPermission
Throws:
PortalException
SystemException

check

public void check(PermissionChecker permissionChecker,
                  long plid,
                  String actionId)
           throws PortalException,
                  SystemException
Specified by:
check in interface LayoutPermission
Throws:
PortalException
SystemException

contains

public boolean contains(PermissionChecker permissionChecker,
                        Layout layout,
                        boolean checkViewableGroup,
                        String actionId)
                 throws PortalException,
                        SystemException
Specified by:
contains in interface LayoutPermission
Throws:
PortalException
SystemException

contains

public boolean contains(PermissionChecker permissionChecker,
                        Layout layout,
                        String actionId)
                 throws PortalException,
                        SystemException
Specified by:
contains in interface LayoutPermission
Throws:
PortalException
SystemException

contains

public 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)

Specified by:
contains in interface LayoutPermission
Throws:
PortalException
SystemException

contains

public 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)

Specified by:
contains in interface LayoutPermission
Throws:
PortalException
SystemException

contains

public boolean contains(PermissionChecker permissionChecker,
                        long groupId,
                        boolean privateLayout,
                        long layoutId,
                        String actionId)
                 throws PortalException,
                        SystemException
Specified by:
contains in interface LayoutPermission
Throws:
PortalException
SystemException

contains

public 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)

Specified by:
contains in interface LayoutPermission
Throws:
PortalException
SystemException

contains

public boolean contains(PermissionChecker permissionChecker,
                        long plid,
                        String actionId)
                 throws PortalException,
                        SystemException
Specified by:
contains in interface LayoutPermission
Throws:
PortalException
SystemException

containsWithoutViewableGroup

public boolean containsWithoutViewableGroup(PermissionChecker permissionChecker,
                                            Layout layout,
                                            boolean checkLayoutUpdateable,
                                            String actionId)
                                     throws PortalException,
                                            SystemException
Specified by:
containsWithoutViewableGroup in interface LayoutPermission
Throws:
PortalException
SystemException

containsWithoutViewableGroup

public boolean containsWithoutViewableGroup(PermissionChecker permissionChecker,
                                            Layout layout,
                                            String actionId)
                                     throws PortalException,
                                            SystemException
Specified by:
containsWithoutViewableGroup in interface LayoutPermission
Throws:
PortalException
SystemException

containsWithoutViewableGroup

public 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)

Specified by:
containsWithoutViewableGroup in interface LayoutPermission
Throws:
PortalException
SystemException

containsWithoutViewableGroup

public 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)

Specified by:
containsWithoutViewableGroup in interface LayoutPermission
Throws:
PortalException
SystemException

containsWithViewableGroup

protected boolean containsWithViewableGroup(PermissionChecker permissionChecker,
                                            Layout layout,
                                            boolean checkViewableGroup,
                                            String actionId)
                                     throws PortalException,
                                            SystemException
Throws:
PortalException
SystemException

isAttemptToModifyLockedLayout

protected boolean isAttemptToModifyLockedLayout(Layout layout,
                                                String actionId)

isViewableGroup

protected boolean isViewableGroup(PermissionChecker permissionChecker,
                                  Layout layout,
                                  boolean checkResourcePermission)
                           throws PortalException,
                                  SystemException
Throws:
PortalException
SystemException

Liferay 6.2-ce-ga5