Liferay 6.1.2-ce-ga3

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)
           
 boolean contains(PermissionChecker permissionChecker, Layout layout, String controlPanelCategory, String actionId)
           
 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)
           
 boolean contains(PermissionChecker permissionChecker, long plid, String actionId)
           
 boolean containsWithoutViewableGroup(PermissionChecker permissionChecker, Layout layout, String controlPanelCategory, boolean checkLayoutUpdateable, String actionId)
           
 boolean containsWithoutViewableGroup(PermissionChecker permissionChecker, Layout layout, String controlPanelCategory, String actionId)
           
protected  boolean containsWithViewableGroup(PermissionChecker permissionChecker, Layout layout, String controlPanelCategory, boolean checkViewableGroup, String actionId)
           
protected  boolean isAttemptToModifyLockedLayout(Layout layout, String actionId)
           
protected  boolean isViewableGroup(PermissionChecker permissionChecker, Layout layout, String controlPanelCategory, 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
Specified by:
contains in interface LayoutPermission
Throws:
PortalException
SystemException

contains

public boolean contains(PermissionChecker permissionChecker,
                        Layout layout,
                        String controlPanelCategory,
                        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 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
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,
                                            String controlPanelCategory,
                                            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 controlPanelCategory,
                                            String actionId)
                                     throws PortalException,
                                            SystemException
Specified by:
containsWithoutViewableGroup in interface LayoutPermission
Throws:
PortalException
SystemException

containsWithViewableGroup

protected boolean containsWithViewableGroup(PermissionChecker permissionChecker,
                                            Layout layout,
                                            String controlPanelCategory,
                                            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,
                                  String controlPanelCategory,
                                  boolean checkResourcePermission)
                           throws PortalException,
                                  SystemException
Throws:
PortalException
SystemException

Liferay 6.1.2-ce-ga3