com.liferay.portal.comment
Class DummyCommentManagerImpl
java.lang.Object
com.liferay.portal.comment.DummyCommentManagerImpl
- All Implemented Interfaces:
- CommentManager
public class DummyCommentManagerImpl
- extends Object
- implements CommentManager
|
Method Summary |
void |
addComment(long userId,
long groupId,
String className,
long classPK,
String body,
Function<String,ServiceContext> serviceContextFunction)
|
long |
addComment(long userId,
long groupId,
String className,
long classPK,
String userName,
String subject,
String body,
Function<String,ServiceContext> serviceContextFunction)
|
long |
addComment(long userId,
String className,
long classPK,
String userName,
long parentCommentId,
String subject,
String body,
Function<String,ServiceContext> serviceContextFunction)
|
void |
addDiscussion(long userId,
long groupId,
String className,
long classPK,
String userName)
|
void |
deleteComment(long commentId)
|
void |
deleteDiscussion(String className,
long classPK)
|
int |
getCommentsCount(String className,
long classPK)
|
Discussion |
getDiscussion(long userId,
long groupId,
String className,
long classPK,
Function<String,ServiceContext> serviceContextFunction)
|
DiscussionPermission |
getDiscussionPermission(PermissionChecker permissionChecker)
|
boolean |
hasDiscussion(String className,
long classPK)
|
void |
subscribeDiscussion(long userId,
long groupId,
String className,
long classPK)
|
void |
unsubscribeDiscussion(long userId,
String className,
long classPK)
|
long |
updateComment(long userId,
String className,
long classPK,
long commentId,
String subject,
String body,
Function<String,ServiceContext> serviceContextFunction)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DummyCommentManagerImpl
public DummyCommentManagerImpl()
addComment
public void addComment(long userId,
long groupId,
String className,
long classPK,
String body,
Function<String,ServiceContext> serviceContextFunction)
- Specified by:
addComment in interface CommentManager
addComment
public long addComment(long userId,
long groupId,
String className,
long classPK,
String userName,
String subject,
String body,
Function<String,ServiceContext> serviceContextFunction)
- Specified by:
addComment in interface CommentManager
addComment
public long addComment(long userId,
String className,
long classPK,
String userName,
long parentCommentId,
String subject,
String body,
Function<String,ServiceContext> serviceContextFunction)
- Specified by:
addComment in interface CommentManager
addDiscussion
public void addDiscussion(long userId,
long groupId,
String className,
long classPK,
String userName)
- Specified by:
addDiscussion in interface CommentManager
deleteComment
public void deleteComment(long commentId)
- Specified by:
deleteComment in interface CommentManager
deleteDiscussion
public void deleteDiscussion(String className,
long classPK)
- Specified by:
deleteDiscussion in interface CommentManager
getCommentsCount
public int getCommentsCount(String className,
long classPK)
- Specified by:
getCommentsCount in interface CommentManager
getDiscussion
public Discussion getDiscussion(long userId,
long groupId,
String className,
long classPK,
Function<String,ServiceContext> serviceContextFunction)
- Specified by:
getDiscussion in interface CommentManager
getDiscussionPermission
public DiscussionPermission getDiscussionPermission(PermissionChecker permissionChecker)
- Specified by:
getDiscussionPermission in interface CommentManager
hasDiscussion
public boolean hasDiscussion(String className,
long classPK)
- Specified by:
hasDiscussion in interface CommentManager
subscribeDiscussion
public void subscribeDiscussion(long userId,
long groupId,
String className,
long classPK)
- Specified by:
subscribeDiscussion in interface CommentManager
unsubscribeDiscussion
public void unsubscribeDiscussion(long userId,
String className,
long classPK)
- Specified by:
unsubscribeDiscussion in interface CommentManager
updateComment
public long updateComment(long userId,
String className,
long classPK,
long commentId,
String subject,
String body,
Function<String,ServiceContext> serviceContextFunction)
- Specified by:
updateComment in interface CommentManager