Package com.liferay.portal.kernel.model
Interface LayoutTypeAccessPolicy
- All Superinterfaces:
Serializable
- All Known Implementing Classes:
DefaultLayoutTypeAccessPolicyImpl
- Author:
- Adolfo Pérez
-
Method Summary
Modifier and TypeMethodDescriptionvoid
checkAccessAllowedToPortlet
(javax.servlet.http.HttpServletRequest httpServletRequest, Layout layout, Portlet portlet) boolean
isAddLayoutAllowed
(PermissionChecker permissionChecker, Layout layout) boolean
isCustomizeLayoutAllowed
(PermissionChecker permissionChecker, Layout layout) boolean
isDeleteLayoutAllowed
(PermissionChecker permissionChecker, Layout layout) boolean
isUpdateLayoutAllowed
(PermissionChecker permissionChecker, Layout layout) boolean
isViewLayoutAllowed
(PermissionChecker permissionChecker, Layout layout)
-
Method Details
-
checkAccessAllowedToPortlet
void checkAccessAllowedToPortlet(javax.servlet.http.HttpServletRequest httpServletRequest, Layout layout, Portlet portlet) throws PortalException - Throws:
PortalException
-
isAddLayoutAllowed
boolean isAddLayoutAllowed(PermissionChecker permissionChecker, Layout layout) throws PortalException - Throws:
PortalException
-
isCustomizeLayoutAllowed
boolean isCustomizeLayoutAllowed(PermissionChecker permissionChecker, Layout layout) throws PortalException - Throws:
PortalException
-
isDeleteLayoutAllowed
boolean isDeleteLayoutAllowed(PermissionChecker permissionChecker, Layout layout) throws PortalException - Throws:
PortalException
-
isUpdateLayoutAllowed
boolean isUpdateLayoutAllowed(PermissionChecker permissionChecker, Layout layout) throws PortalException - Throws:
PortalException
-
isViewLayoutAllowed
boolean isViewLayoutAllowed(PermissionChecker permissionChecker, Layout layout) throws PortalException - Throws:
PortalException
-