Interface ModelResourcePermission<T extends ClassedModel>
- All Known Implementing Classes:
BaseModelResourcePermissionWrapper
public interface ModelResourcePermission<T extends ClassedModel>
- Author:
- Preston Crary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
check
(PermissionChecker permissionChecker, long primaryKey, String actionId) void
check
(PermissionChecker permissionChecker, T model, String actionId) boolean
contains
(PermissionChecker permissionChecker, long primaryKey, String actionId) boolean
contains
(PermissionChecker permissionChecker, T model, String actionId)
-
Method Details
-
check
void check(PermissionChecker permissionChecker, long primaryKey, String actionId) throws PortalException - Throws:
PortalException
-
check
- Throws:
PortalException
-
contains
boolean contains(PermissionChecker permissionChecker, long primaryKey, String actionId) throws PortalException - Throws:
PortalException
-
contains
boolean contains(PermissionChecker permissionChecker, T model, String actionId) throws PortalException - Throws:
PortalException
-
getModelName
String getModelName() -
getPortletResourcePermission
PortletResourcePermission getPortletResourcePermission()
-