001
014
015 package com.liferay.portal.comment;
016
017 import com.liferay.portal.kernel.comment.CommentManager;
018 import com.liferay.portal.kernel.util.Function;
019 import com.liferay.portal.service.ServiceContext;
020
021
024 public class DummyCommentManagerImpl implements CommentManager {
025
026 @Override
027 public void addComment(
028 long userId, long groupId, String className, long classPK, String body,
029 ServiceContext serviceContext) {
030 }
031
032 @Override
033 public long addComment(
034 long userId, long groupId, String className, long classPK,
035 String userName, String subject, String body,
036 Function<String, ServiceContext> serviceContextFunction) {
037
038 return 0;
039 }
040
041 @Override
042 public void addDiscussion(
043 long userId, long groupId, String className, long classPK,
044 String userName) {
045 }
046
047 @Override
048 public void deleteComment(long commentId) {
049 }
050
051 @Override
052 public void deleteDiscussion(String className, long classPK) {
053 }
054
055 @Override
056 public int getCommentsCount(String className, long classPK) {
057 return 0;
058 }
059
060 }