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)
           
 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
getAllCurrentEntities, getById, getNextVersion, getOtherVersion, getPreviousVersion, getRecentlyAddedEntities, getRecentlyModifiedEntities, getRecentlyModifiedEntitiesForUser, getRecentlyModifiedForChangeDigest, getVersionHistorySummaries, removeContentEntity, revertContentEntityBackToVersion, 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)


Copyright © 2003-2011 Atlassian. All Rights Reserved.