org.outerj.daisy.repository.commonimpl.comment
Interface CommentStrategy


public interface CommentStrategy


Method Summary
 void deleteComment(long documentId, long branchId, long languageId, long id, AuthenticatedUser user)
           
 org.outerj.daisy.repository.comment.Comment[] loadComments(AuthenticatedUser user)
           
 org.outerj.daisy.repository.comment.Comment[] loadComments(org.outerj.daisy.repository.comment.CommentVisibility visibility, AuthenticatedUser user)
           
 org.outerj.daisy.repository.comment.Comment[] loadComments(long documentId, long branchId, long languageId, AuthenticatedUser user)
           
 CommentImpl storeComment(long documentId, long branchId, long languageId, org.outerj.daisy.repository.comment.CommentVisibility visibility, java.lang.String text, AuthenticatedUser user)
           
 

Method Detail

storeComment

CommentImpl storeComment(long documentId,
                         long branchId,
                         long languageId,
                         org.outerj.daisy.repository.comment.CommentVisibility visibility,
                         java.lang.String text,
                         AuthenticatedUser user)
                         throws org.outerj.daisy.repository.RepositoryException
Throws:
org.outerj.daisy.repository.RepositoryException

deleteComment

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

loadComments

org.outerj.daisy.repository.comment.Comment[] loadComments(long documentId,
                                                           long branchId,
                                                           long languageId,
                                                           AuthenticatedUser user)
                                                           throws org.outerj.daisy.repository.RepositoryException
Throws:
org.outerj.daisy.repository.RepositoryException

loadComments

org.outerj.daisy.repository.comment.Comment[] loadComments(org.outerj.daisy.repository.comment.CommentVisibility visibility,
                                                           AuthenticatedUser user)
                                                           throws org.outerj.daisy.repository.RepositoryException
Throws:
org.outerj.daisy.repository.RepositoryException

loadComments

org.outerj.daisy.repository.comment.Comment[] loadComments(AuthenticatedUser user)
                                                           throws org.outerj.daisy.repository.RepositoryException
Throws:
org.outerj.daisy.repository.RepositoryException


Copyright © -2012 . All Rights Reserved.