Nuxeo Enterprise Platform 5.1

org.nuxeo.ecm.platform.comment.api
Interface CommentManager

All Known Subinterfaces:
CommentManagerLocal
All Known Implementing Classes:
CommentManagerBean, CommentManagerImpl

public interface CommentManager

Author:
George Lefter

Method Summary
 DocumentModel createComment(DocumentModel docModel, DocumentModel comment)
           
 DocumentModel createComment(DocumentModel docModel, DocumentModel parent, DocumentModel child)
           
 DocumentModel createComment(DocumentModel docModel, String comment)
          Deprecated. CommentManager cannot find the author if invoked remote so one should use CommentManager.createComment(docModel, comment, author)
 DocumentModel createComment(DocumentModel docModel, String comment, String author)
           
 void deleteComment(DocumentModel docModel, DocumentModel comment)
           
 List<DocumentModel> getComments(DocumentModel docModel)
           
 List<DocumentModel> getComments(DocumentModel docModel, DocumentModel parent)
           
 

Method Detail

getComments

List<DocumentModel> getComments(DocumentModel docModel)
                                throws ClientException
Throws:
ClientException

getComments

List<DocumentModel> getComments(DocumentModel docModel,
                                DocumentModel parent)
                                throws ClientException
Throws:
ClientException

createComment

DocumentModel createComment(DocumentModel docModel,
                            String comment)
                            throws ClientException
Deprecated. CommentManager cannot find the author if invoked remote so one should use CommentManager.createComment(docModel, comment, author)

Throws:
ClientException

createComment

DocumentModel createComment(DocumentModel docModel,
                            String comment,
                            String author)
                            throws ClientException
Throws:
ClientException

createComment

DocumentModel createComment(DocumentModel docModel,
                            DocumentModel comment)
                            throws ClientException
Throws:
ClientException

createComment

DocumentModel createComment(DocumentModel docModel,
                            DocumentModel parent,
                            DocumentModel child)
                            throws ClientException
Throws:
ClientException

deleteComment

void deleteComment(DocumentModel docModel,
                   DocumentModel comment)
                   throws ClientException
Throws:
ClientException

Nuxeo Enterprise Platform 5.1

Copyright ? 2007 Nuxeo SAS. All Rights Reserved.