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