org.outerj.daisy.repository.clientimpl.comment
Class RemoteCommentStrategy

java.lang.Object
  extended by org.outerj.daisy.repository.clientimpl.infrastructure.AbstractRemoteStrategy
      extended by org.outerj.daisy.repository.clientimpl.comment.RemoteCommentStrategy
All Implemented Interfaces:
org.outerj.daisy.repository.commonimpl.comment.CommentStrategy

public class RemoteCommentStrategy
extends AbstractRemoteStrategy
implements org.outerj.daisy.repository.commonimpl.comment.CommentStrategy


Field Summary
 
Fields inherited from class org.outerj.daisy.repository.clientimpl.infrastructure.AbstractRemoteStrategy
context
 
Constructor Summary
RemoteCommentStrategy(RemoteRepositoryManager.Context context)
           
 
Method Summary
 void deleteComment(long documentId, long branchId, long languageId, long id, org.outerj.daisy.repository.commonimpl.AuthenticatedUser user)
           
 org.outerj.daisy.repository.comment.Comment[] loadComments(org.outerj.daisy.repository.commonimpl.AuthenticatedUser user)
           
 org.outerj.daisy.repository.comment.Comment[] loadComments(org.outerj.daisy.repository.comment.CommentVisibility visibility, org.outerj.daisy.repository.commonimpl.AuthenticatedUser user)
           
 org.outerj.daisy.repository.comment.Comment[] loadComments(long documentId, long branchId, long languageId, org.outerj.daisy.repository.commonimpl.AuthenticatedUser user)
           
 org.outerj.daisy.repository.commonimpl.comment.CommentImpl storeComment(long documentId, long branchId, long languageId, org.outerj.daisy.repository.comment.CommentVisibility visibility, java.lang.String text, org.outerj.daisy.repository.commonimpl.AuthenticatedUser user)
           
 
Methods inherited from class org.outerj.daisy.repository.clientimpl.infrastructure.AbstractRemoteStrategy
encodeNameForUseInPath, getBranchLangParams, getClient
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RemoteCommentStrategy

public RemoteCommentStrategy(RemoteRepositoryManager.Context context)
Method Detail

storeComment

public org.outerj.daisy.repository.commonimpl.comment.CommentImpl storeComment(long documentId,
                                                                               long branchId,
                                                                               long languageId,
                                                                               org.outerj.daisy.repository.comment.CommentVisibility visibility,
                                                                               java.lang.String text,
                                                                               org.outerj.daisy.repository.commonimpl.AuthenticatedUser user)
                                                                        throws org.outerj.daisy.repository.RepositoryException
Specified by:
storeComment in interface org.outerj.daisy.repository.commonimpl.comment.CommentStrategy
Throws:
org.outerj.daisy.repository.RepositoryException

loadComments

public org.outerj.daisy.repository.comment.Comment[] loadComments(long documentId,
                                                                  long branchId,
                                                                  long languageId,
                                                                  org.outerj.daisy.repository.commonimpl.AuthenticatedUser user)
                                                           throws org.outerj.daisy.repository.RepositoryException
Specified by:
loadComments in interface org.outerj.daisy.repository.commonimpl.comment.CommentStrategy
Throws:
org.outerj.daisy.repository.RepositoryException

loadComments

public org.outerj.daisy.repository.comment.Comment[] loadComments(org.outerj.daisy.repository.comment.CommentVisibility visibility,
                                                                  org.outerj.daisy.repository.commonimpl.AuthenticatedUser user)
                                                           throws org.outerj.daisy.repository.RepositoryException
Specified by:
loadComments in interface org.outerj.daisy.repository.commonimpl.comment.CommentStrategy
Throws:
org.outerj.daisy.repository.RepositoryException

loadComments

public org.outerj.daisy.repository.comment.Comment[] loadComments(org.outerj.daisy.repository.commonimpl.AuthenticatedUser user)
                                                           throws org.outerj.daisy.repository.RepositoryException
Specified by:
loadComments in interface org.outerj.daisy.repository.commonimpl.comment.CommentStrategy
Throws:
org.outerj.daisy.repository.RepositoryException

deleteComment

public void deleteComment(long documentId,
                          long branchId,
                          long languageId,
                          long id,
                          org.outerj.daisy.repository.commonimpl.AuthenticatedUser user)
                   throws org.outerj.daisy.repository.RepositoryException
Specified by:
deleteComment in interface org.outerj.daisy.repository.commonimpl.comment.CommentStrategy
Throws:
org.outerj.daisy.repository.RepositoryException


Copyright © -2012 . All Rights Reserved.