com.sap.netweaver.coll.wiki.api

Interface IWikiComment

All Superinterfaces:
IWikiObject

public interface IWikiComment
extends IWikiObject

Comment to wiki page.


Method Summary
 String getBody()
          Returns the body of comment
 Date getCreationDate()
          Returns creation date of comment
 Date getModificationDate()
          Returns modification date of comment
 IWikiPage getPage()
          Returns the page to which this comment is attached
 IWikiComment getParentComment()
          Returns the parent comment
 Map<String,String> getProperties()
          Returns extended properties of comment
 Iterable<IWikiComment> getReplies()
          Returns replies to comment
 String getUnfilteredBody()
          Returns the body of comment without applying any filters
 void refresh()
          Retrieves latest properties / content of comment.
 
Methods inherited from interface com.sap.netweaver.coll.wiki.api.IWikiObject
getID
 

Method Detail

getBody

String getBody()
Returns the body of comment

Returns:
body of comment

getUnfilteredBody

String getUnfilteredBody()
Returns the body of comment without applying any filters

Returns:
unfiltered body of comment

getCreationDate

Date getCreationDate()
Returns creation date of comment

Returns:
creation date

getModificationDate

Date getModificationDate()
Returns modification date of comment

Returns:
modification date

getReplies

Iterable<IWikiComment> getReplies()
Returns replies to comment

Returns:
iterable of comments

getParentComment

IWikiComment getParentComment()
Returns the parent comment

Returns:
parent comment

getPage

IWikiPage getPage()
Returns the page to which this comment is attached

Returns:
wiki page

getProperties

Map<String,String> getProperties()
Returns extended properties of comment

Returns:
map of extended properties

refresh

void refresh()
             throws com.sap.netweaver.coll.wiki.exception.WikiCommentNotFoundException,
                    com.sap.netweaver.coll.wiki.exception.WikiPageNotFoundException
Retrieves latest properties / content of comment.

Throws:
com.sap.netweaver.coll.wiki.exception.WikiCommentNotFoundException
com.sap.netweaver.coll.wiki.exception.WikiPageNotFoundException
Access Rights

This class can be accessed from:


SC DC Public Part ACH
[com.sap] KMC-WIKI [com.sap] com.sap.netweaver.coll.wiki.api api BC-COM-WIK


Copyright 2014 SAP AG Complete Copyright Notice