Liferay 7.0-ce-m3

com.liferay.portal.comment
Class DummyCommentManagerImpl

java.lang.Object
  extended by com.liferay.portal.comment.DummyCommentManagerImpl
All Implemented Interfaces:
CommentManager

public class DummyCommentManagerImpl
extends Object
implements CommentManager


Constructor Summary
DummyCommentManagerImpl()
           
 
Method Summary
 void addComment(long userId, long groupId, String className, long classPK, String body, ServiceContext serviceContext)
           
 long addComment(long userId, long groupId, String className, long classPK, String userName, 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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DummyCommentManagerImpl

public DummyCommentManagerImpl()
Method Detail

addComment

public void addComment(long userId,
                       long groupId,
                       String className,
                       long classPK,
                       String body,
                       ServiceContext serviceContext)
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

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

Liferay 7.0-ce-m3