com.liferay.portlet.messageboards.service.permission
Class MBMessagePermission
java.lang.Object
com.liferay.portlet.messageboards.service.permission.MBMessagePermission
- All Implemented Interfaces:
- BaseModelPermissionChecker
- Direct Known Subclasses:
- MBThreadPermission
public class MBMessagePermission
- extends Object
- implements BaseModelPermissionChecker
|
Method Summary |
static void |
check(PermissionChecker permissionChecker,
long messageId,
String actionId)
|
static void |
check(PermissionChecker permissionChecker,
MBMessage message,
String actionId)
|
void |
checkBaseModel(PermissionChecker permissionChecker,
long groupId,
long primaryKey,
String actionId)
|
static boolean |
contains(PermissionChecker permissionChecker,
long classPK,
String actionId)
|
static boolean |
contains(PermissionChecker permissionChecker,
MBMessage message,
String actionId)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MBMessagePermission
public MBMessagePermission()
check
public static void check(PermissionChecker permissionChecker,
long messageId,
String actionId)
throws PortalException
- Throws:
PortalException
check
public static void check(PermissionChecker permissionChecker,
MBMessage message,
String actionId)
throws PortalException
- Throws:
PortalException
contains
public static boolean contains(PermissionChecker permissionChecker,
long classPK,
String actionId)
throws PortalException
- Throws:
PortalException
contains
public static boolean contains(PermissionChecker permissionChecker,
MBMessage message,
String actionId)
throws PortalException
- Throws:
PortalException
checkBaseModel
public void checkBaseModel(PermissionChecker permissionChecker,
long groupId,
long primaryKey,
String actionId)
throws PortalException
- Specified by:
checkBaseModel in interface BaseModelPermissionChecker
- Throws:
PortalException