public interface DiscussionPermission
| 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 |
hasAddPermission(long companyId,
long groupId,
String className,
long classPK) |
boolean |
hasDeletePermission(long commentId) |
boolean |
hasPermission(long commentId,
String actionId) |
boolean |
hasSubscribePermission(long companyId,
long groupId,
String className,
long classPK) |
boolean |
hasUpdatePermission(long commentId) |
boolean |
hasViewPermission(long companyId,
long groupId,
String className,
long classPK) |
void checkAddPermission(long companyId,
long groupId,
String className,
long classPK)
throws PortalException
PortalExceptionvoid checkDeletePermission(long commentId)
throws PortalException
PortalExceptionvoid checkSubscribePermission(long companyId,
long groupId,
String className,
long classPK)
throws PortalException
PortalExceptionvoid checkUpdatePermission(long commentId)
throws PortalException
PortalExceptionvoid checkViewPermission(long companyId,
long groupId,
String className,
long classPK)
throws PortalException
PortalExceptionboolean hasAddPermission(long companyId,
long groupId,
String className,
long classPK)
throws PortalException
PortalExceptionboolean hasDeletePermission(long commentId)
throws PortalException
PortalExceptionboolean hasPermission(long commentId,
String actionId)
throws PortalException
PortalExceptionboolean hasSubscribePermission(long companyId,
long groupId,
String className,
long classPK)
throws PortalException
PortalExceptionboolean hasUpdatePermission(long commentId)
throws PortalException
PortalExceptionboolean hasViewPermission(long companyId,
long groupId,
String className,
long classPK)
throws PortalException
PortalException