com.atlassian.confluence.pages
Interface CommentManager

All Superinterfaces:
ContentEntityManager
All Known Implementing Classes:
DefaultCommentManager

public interface CommentManager
extends ContentEntityManager

Manager for page comments.

Author:
Armond Avanes (armond555@yahoo.com)

Field Summary
 
Fields inherited from interface com.atlassian.confluence.core.ContentEntityManager
ITERATE_ALL
 
Method Summary
 Comment addCommentToObject(ContentEntityObject ceo, Comment parent, String content)
           
 Comment addCommentToPage(AbstractPage page, Comment parent, String content)
          Deprecated. 
 Comment getComment(long id)
           
 List<Comment> getPageComments(long pageId, Date since)
           
 List<Comment> getPageComments(long pageId, Date since, String ignoreUsername)
           
 Iterator getRecentlyUpdatedComments(Space space, int maxResults)
           
 void removeCommentFromObject(long id)
           
 void removeCommentFromPage(long id)
          Deprecated. 
 void updateCommentContent(Comment comment, String content)
           
 
Methods inherited from interface com.atlassian.confluence.core.ContentEntityManager
getById, getNextVersion, getOtherVersion, getPreviousVersion, getRecentlyAddedEntities, getRecentlyModifiedEntities, getRecentlyModifiedEntitiesForUser, getRecentlyModifiedForChangeDigest, getVersionHistorySummaries, refreshContentEntity, removeContentEntity, removeHistoricalVersion, revertContentEntityBackToVersion, saveContentEntity, saveContentEntity, saveNewVersion, saveNewVersion, setEventManager, updateContentLinkingTo, updateOutgoingLinksInContent, updateSingleContentLinkinTo, updateSingleContentLinkinTo
 

Method Detail

getComment

Comment getComment(long id)

addCommentToPage

@Deprecated
Comment addCommentToPage(AbstractPage page,
                                    Comment parent,
                                    String content)
Deprecated. 


addCommentToObject

Comment addCommentToObject(ContentEntityObject ceo,
                           Comment parent,
                           String content)

updateCommentContent

void updateCommentContent(Comment comment,
                          String content)

removeCommentFromPage

@Deprecated
void removeCommentFromPage(long id)
Deprecated. 


removeCommentFromObject

void removeCommentFromObject(long id)

getRecentlyUpdatedComments

Iterator getRecentlyUpdatedComments(Space space,
                                    int maxResults)

getPageComments

List<Comment> getPageComments(long pageId,
                              Date since)

getPageComments

List<Comment> getPageComments(long pageId,
                              Date since,
                              String ignoreUsername)
Returns:
all page comments from a particular date except for comments by the given username.


Copyright © 2003-2013 Atlassian. All Rights Reserved.