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) |
default boolean |
hasPermission(Comment comment,
String actionId) |
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
PortalException
void checkDeletePermission(long commentId) throws PortalException
PortalException
void checkSubscribePermission(long companyId, long groupId, String className, long classPK) throws PortalException
PortalException
void checkUpdatePermission(long commentId) throws PortalException
PortalException
void checkViewPermission(long companyId, long groupId, String className, long classPK) throws PortalException
PortalException
boolean hasAddPermission(long companyId, long groupId, String className, long classPK) throws PortalException
PortalException
boolean hasDeletePermission(long commentId) throws PortalException
PortalException
default boolean hasPermission(Comment comment, String actionId) throws PortalException
PortalException
boolean hasPermission(long commentId, String actionId) throws PortalException
PortalException
boolean hasSubscribePermission(long companyId, long groupId, String className, long classPK) throws PortalException
PortalException
boolean hasUpdatePermission(long commentId) throws PortalException
PortalException
boolean hasViewPermission(long companyId, long groupId, String className, long classPK) throws PortalException
PortalException