public abstract class BaseDiscussionPermission extends Object implements DiscussionPermission
| Constructor and Description |
|---|
BaseDiscussionPermission() |
| Modifier and Type | Method and Description |
|---|---|
void |
checkAddPermission(long companyId,
long groupId,
String className,
long classPK) |
void |
checkDeletePermission(long commentId) |
void |
checkSubscribePermission(long companyId,
long groupId,
String className,
long classPK) |
void |
checkUpdatePermission(long commentId) |
void |
checkViewPermission(long companyId,
long groupId,
String className,
long classPK) |
boolean |
hasDeletePermission(long commentId) |
boolean |
hasUpdatePermission(long commentId) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waithasAddPermission, hasPermission, hasPermission, hasSubscribePermission, hasViewPermissionpublic void checkAddPermission(long companyId,
long groupId,
String className,
long classPK)
throws PortalException
checkAddPermission in interface DiscussionPermissionPortalExceptionpublic void checkDeletePermission(long commentId)
throws PortalException
checkDeletePermission in interface DiscussionPermissionPortalExceptionpublic void checkSubscribePermission(long companyId,
long groupId,
String className,
long classPK)
throws PortalException
checkSubscribePermission in interface DiscussionPermissionPortalExceptionpublic void checkUpdatePermission(long commentId)
throws PortalException
checkUpdatePermission in interface DiscussionPermissionPortalExceptionpublic void checkViewPermission(long companyId,
long groupId,
String className,
long classPK)
throws PortalException
checkViewPermission in interface DiscussionPermissionPortalExceptionpublic boolean hasDeletePermission(long commentId)
throws PortalException
hasDeletePermission in interface DiscussionPermissionPortalExceptionpublic boolean hasUpdatePermission(long commentId)
throws PortalException
hasUpdatePermission in interface DiscussionPermissionPortalException