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

java.lang.Object
  extended byorg.outerj.daisy.repository.commonimpl.comment.CommentManagerImpl
All Implemented Interfaces:
org.outerj.daisy.repository.comment.CommentManager

public class CommentManagerImpl
extends java.lang.Object
implements org.outerj.daisy.repository.comment.CommentManager


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

Constructor Detail

CommentManagerImpl

public CommentManagerImpl(CommonCommentManager commonCommentManager,
                          AuthenticatedUser user)
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)
                                                       throws org.outerj.daisy.repository.RepositoryException
Specified by:
addComment in interface org.outerj.daisy.repository.comment.CommentManager
Throws:
org.outerj.daisy.repository.RepositoryException

addComment

public org.outerj.daisy.repository.comment.Comment addComment(long documentId,
                                                              org.outerj.daisy.repository.comment.CommentVisibility visibility,
                                                              java.lang.String commentText)
                                                       throws org.outerj.daisy.repository.RepositoryException
Specified by:
addComment in interface org.outerj.daisy.repository.comment.CommentManager
Throws:
org.outerj.daisy.repository.RepositoryException

deleteComment

public void deleteComment(long documentId,
                          long branchId,
                          long languageId,
                          long commentId)
                   throws org.outerj.daisy.repository.RepositoryException
Specified by:
deleteComment in interface org.outerj.daisy.repository.comment.CommentManager
Throws:
org.outerj.daisy.repository.RepositoryException

deleteComment

public void deleteComment(long documentId,
                          long commentId)
                   throws org.outerj.daisy.repository.RepositoryException
Specified by:
deleteComment in interface org.outerj.daisy.repository.comment.CommentManager
Throws:
org.outerj.daisy.repository.RepositoryException

deleteComment

public void deleteComment(org.outerj.daisy.repository.comment.Comment comment)
                   throws org.outerj.daisy.repository.RepositoryException
Specified by:
deleteComment in interface org.outerj.daisy.repository.comment.CommentManager
Throws:
org.outerj.daisy.repository.RepositoryException

getComments

public org.outerj.daisy.repository.comment.Comments getComments(long documentId,
                                                                long branchId,
                                                                long languageId)
                                                         throws org.outerj.daisy.repository.RepositoryException
Specified by:
getComments in interface org.outerj.daisy.repository.comment.CommentManager
Throws:
org.outerj.daisy.repository.RepositoryException

getComments

public org.outerj.daisy.repository.comment.Comments getComments(org.outerj.daisy.repository.VariantKey variantKey)
                                                         throws org.outerj.daisy.repository.RepositoryException
Specified by:
getComments in interface org.outerj.daisy.repository.comment.CommentManager
Throws:
org.outerj.daisy.repository.RepositoryException

getComments

public org.outerj.daisy.repository.comment.Comments getComments(long documentId)
                                                         throws org.outerj.daisy.repository.RepositoryException
Specified by:
getComments in interface org.outerj.daisy.repository.comment.CommentManager
Throws:
org.outerj.daisy.repository.RepositoryException

getComments

public org.outerj.daisy.repository.comment.Comments getComments(org.outerj.daisy.repository.comment.CommentVisibility visibility)
                                                         throws org.outerj.daisy.repository.RepositoryException
Specified by:
getComments in interface org.outerj.daisy.repository.comment.CommentManager
Throws:
org.outerj.daisy.repository.RepositoryException

getComments

public org.outerj.daisy.repository.comment.Comments getComments()
                                                         throws org.outerj.daisy.repository.RepositoryException
Specified by:
getComments in interface org.outerj.daisy.repository.comment.CommentManager
Throws:
org.outerj.daisy.repository.RepositoryException


Copyright © -2005 . All Rights Reserved.