public class MBDiscussionPermission
extends Object
implements com.liferay.portal.kernel.security.permission.BaseModelPermissionChecker
Constructor and Description |
---|
MBDiscussionPermission() |
Modifier and Type | Method and Description |
---|---|
static void |
check(com.liferay.portal.kernel.security.permission.PermissionChecker permissionChecker,
long companyId,
long groupId,
String className,
long classPK,
String actionId) |
static void |
check(com.liferay.portal.kernel.security.permission.PermissionChecker permissionChecker,
long messageId,
String actionId) |
void |
checkBaseModel(com.liferay.portal.kernel.security.permission.PermissionChecker permissionChecker,
long groupId,
long primaryKey,
String actionId) |
static boolean |
contains(com.liferay.portal.kernel.security.permission.PermissionChecker permissionChecker,
long companyId,
long groupId,
String className,
long classPK,
String actionId) |
static boolean |
contains(com.liferay.portal.kernel.security.permission.PermissionChecker permissionChecker,
long messageId,
String actionId) |
static boolean |
contains(com.liferay.portal.kernel.security.permission.PermissionChecker permissionChecker,
com.liferay.message.boards.kernel.model.MBMessage message,
String actionId) |
public static void check(com.liferay.portal.kernel.security.permission.PermissionChecker permissionChecker, long companyId, long groupId, String className, long classPK, String actionId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static void check(com.liferay.portal.kernel.security.permission.PermissionChecker permissionChecker, long messageId, String actionId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static boolean contains(com.liferay.portal.kernel.security.permission.PermissionChecker permissionChecker, long companyId, long groupId, String className, long classPK, String actionId)
public static boolean contains(com.liferay.portal.kernel.security.permission.PermissionChecker permissionChecker, long messageId, String actionId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static boolean contains(com.liferay.portal.kernel.security.permission.PermissionChecker permissionChecker, com.liferay.message.boards.kernel.model.MBMessage message, String actionId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public void checkBaseModel(com.liferay.portal.kernel.security.permission.PermissionChecker permissionChecker, long groupId, long primaryKey, String actionId) throws com.liferay.portal.kernel.exception.PortalException
checkBaseModel
in interface com.liferay.portal.kernel.security.permission.BaseModelPermissionChecker
com.liferay.portal.kernel.exception.PortalException