|
SAP NetWeaver 7.40 SP 06 KMC | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IWikiCommentManager
Entry point for managing comments in the wiki application.
| Method Summary | |
|---|---|
IWikiComment |
createComment(long id,
boolean isParentDocument,
String body)
Creates comment |
void |
deleteComment(long pageID,
long commentID)
Deletes comment |
IWikiComment |
getComment(long pageID,
long commentID)
Returns specific comment attached to page. |
Iterable<IWikiComment> |
getComments(long pageID)
Returns comments attached to specific page. |
Iterable<String[]> |
getProperties(long commentID)
Returns extended properties of comment |
String |
getProperty(long commentID,
String name)
Returns value of extended property of comment |
void |
setBody(long pageID,
long commentID,
String body)
Sets body of comment |
Iterable<String[]> |
setProperties(long commentID,
String[] names,
String[] values)
Sets extended properties of comment |
Iterable<String[]> |
setProperty(long commentID,
String name,
String value)
Sets extended property of comment |
| Method Detail |
|---|
Iterable<IWikiComment> getComments(long pageID)
throws com.sap.netweaver.coll.wiki.exception.WikiPageNotFoundException
pageID - unique identifier of page
com.sap.netweaver.coll.wiki.exception.WikiPageNotFoundException
IWikiComment getComment(long pageID,
long commentID)
throws com.sap.netweaver.coll.wiki.exception.WikiPageNotFoundException,
com.sap.netweaver.coll.wiki.exception.WikiCommentNotFoundException
pageID - unique identifier of pagecommentID - unique identifier of comment
com.sap.netweaver.coll.wiki.exception.WikiPageNotFoundException
com.sap.netweaver.coll.wiki.exception.WikiCommentNotFoundException
Iterable<String[]> getProperties(long commentID)
throws com.sap.netweaver.coll.wiki.exception.WikiCommentNotFoundException
commentID - unique identifier of comment
com.sap.netweaver.coll.wiki.exception.WikiCommentNotFoundException
String getProperty(long commentID,
String name)
throws com.sap.netweaver.coll.wiki.exception.WikiCommentNotFoundException
commentID - unique identifier of commentname - name of extended property
com.sap.netweaver.coll.wiki.exception.WikiCommentNotFoundException
Iterable<String[]> setProperties(long commentID,
String[] names,
String[] values)
throws com.sap.netweaver.coll.wiki.exception.WikiCommentNotFoundException
commentID - unique identifier of commentnames - array of names of extended propertiesvalues - array of corresponding values of extended properties
com.sap.netweaver.coll.wiki.exception.WikiCommentNotFoundException
Iterable<String[]> setProperty(long commentID,
String name,
String value)
throws com.sap.netweaver.coll.wiki.exception.WikiCommentNotFoundException
commentID - unique identifier of commentname - name of extended propertyvalue - value of extended property
com.sap.netweaver.coll.wiki.exception.WikiCommentNotFoundException
IWikiComment createComment(long id,
boolean isParentDocument,
String body)
throws com.sap.netweaver.coll.wiki.exception.WikiPageNotFoundException,
com.sap.netweaver.coll.wiki.exception.WikiCommentNotFoundException,
com.sap.netweaver.coll.wiki.exception.WikiSpaceNotFoundException,
com.sap.netweaver.coll.wiki.exception.RejectedException
id - unique identifier of page or commentisParentDocument - if the comment is attached directly to page or to commentbody - the body of the comment
com.sap.netweaver.coll.wiki.exception.WikiPageNotFoundException
com.sap.netweaver.coll.wiki.exception.WikiCommentNotFoundException
com.sap.netweaver.coll.wiki.exception.WikiSpaceNotFoundException
com.sap.netweaver.coll.wiki.exception.RejectedException
void deleteComment(long pageID,
long commentID)
throws com.sap.netweaver.coll.wiki.exception.UnauthorizedException,
com.sap.netweaver.coll.wiki.exception.WikiCommentNotFoundException
pageID - unique identifier of pagecommentID - unique identifier of comment
com.sap.netweaver.coll.wiki.exception.UnauthorizedException
com.sap.netweaver.coll.wiki.exception.WikiCommentNotFoundException
void setBody(long pageID,
long commentID,
String body)
throws com.sap.netweaver.coll.wiki.exception.WikiCommentNotFoundException
pageID - unique identifier of pagecommentID - unique identifier of commentbody -
com.sap.netweaver.coll.wiki.exception.WikiCommentNotFoundException| Access Rights |
|---|
| SC | DC | Public Part | ACH |
|---|---|---|---|
[com.sap] KMC-WIKI
|
[com.sap] com.sap.netweaver.coll.wiki.api
|
api
|
BC-COM-WIK
|
|
SAP NetWeaver 7.40 SP 06 KMC | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||