org.outerj.daisy.repository.commonimpl.comment
Class CommonCommentManager

java.lang.Object
  extended by org.outerj.daisy.repository.commonimpl.comment.CommonCommentManager

public class CommonCommentManager
extends java.lang.Object


Constructor Summary
CommonCommentManager(CommentStrategy commentStrategy)
           
 
Method Summary
 org.outerj.daisy.repository.comment.Comment addComment(long documentId, long branchId, long languageId, org.outerj.daisy.repository.comment.CommentVisibility visibility, java.lang.String commentText, AuthenticatedUser user)
           
 void deleteComment(org.outerj.daisy.repository.comment.Comment comment, AuthenticatedUser user)
           
 void deleteComment(long documentId, long branchId, long languageId, long commentId, AuthenticatedUser user)
           
 org.outerj.daisy.repository.comment.Comments getComments(AuthenticatedUser user)
           
 org.outerj.daisy.repository.comment.Comments getComments(org.outerj.daisy.repository.comment.CommentVisibility visibility, AuthenticatedUser user)
           
 org.outerj.daisy.repository.comment.Comments getComments(long documentId, long branchId, long languageId, AuthenticatedUser user)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CommonCommentManager

public CommonCommentManager(CommentStrategy commentStrategy)
Method Detail

addComment

public org.outerj.daisy.repository.comment.Comment addComment(long documentId,
                                                              long branchId,
                                                              long languageId,
                                                              org.outerj.daisy.repository.comment.CommentVisibility visibility,
                                                              java.lang.String commentText,
                                                              AuthenticatedUser user)
                                                       throws org.outerj.daisy.repository.RepositoryException
Throws:
org.outerj.daisy.repository.RepositoryException

deleteComment

public void deleteComment(long documentId,
                          long branchId,
                          long languageId,
                          long commentId,
                          AuthenticatedUser user)
                   throws org.outerj.daisy.repository.RepositoryException
Throws:
org.outerj.daisy.repository.RepositoryException

deleteComment

public void deleteComment(org.outerj.daisy.repository.comment.Comment comment,
                          AuthenticatedUser user)
                   throws org.outerj.daisy.repository.RepositoryException
Throws:
org.outerj.daisy.repository.RepositoryException

getComments

public org.outerj.daisy.repository.comment.Comments getComments(long documentId,
                                                                long branchId,
                                                                long languageId,
                                                                AuthenticatedUser user)
                                                         throws org.outerj.daisy.repository.RepositoryException
Throws:
org.outerj.daisy.repository.RepositoryException

getComments

public org.outerj.daisy.repository.comment.Comments getComments(org.outerj.daisy.repository.comment.CommentVisibility visibility,
                                                                AuthenticatedUser user)
                                                         throws org.outerj.daisy.repository.RepositoryException
Throws:
org.outerj.daisy.repository.RepositoryException

getComments

public org.outerj.daisy.repository.comment.Comments getComments(AuthenticatedUser user)
                                                         throws org.outerj.daisy.repository.RepositoryException
Throws:
org.outerj.daisy.repository.RepositoryException


Copyright © -2012 . All Rights Reserved.