|
SAP NetWeaver 7.30 SP01 KMC | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IComment
The interface represents a service for handling comments on resources. Comments are assigned to resources and can be viewed by all users.
The comments service can be configured. It offers a method to determine the current configuration.
| Method Summary | |
|---|---|
boolean |
addComment(IResource resource,
String Text)
Adds a comment to a given resource. |
boolean |
delComment(IResource resource,
IResource commentres)
Deletes a comment for a resource. |
IResourceList |
getComment(IResource resource)
Gets all comments for a given resource sorted by creation date. |
int |
getCommentCount(IResource resource)
Returns the number of comments given for a resource. |
Properties |
getProperties()
Gets all configuration data for this service. |
boolean |
isSecure()
Checks if service is set to be a secure service. |
| Method Detail |
|---|
boolean addComment(IResource resource,
String Text)
throws com.sapportals.wcm.WcmException
resource - the resource for which the comment is givenText - text of the comment
com.sapportals.wcm.WcmExceptionIResourceList getComment(IResource resource)
resource - the resource for which the comments were given
Properties getProperties()
boolean delComment(IResource resource,
IResource commentres)
resource - resource for which the comment was savedcommentres - resource that stores the comment to be deleted
int getCommentCount(IResource resource)
resource - resource for which comments exist
boolean isSecure()
| Access Rights |
|---|
| SC | DC | Public Part | ACH |
|---|---|---|---|
[sap.com] KMC-CM
|
[sap.com] tc/km/frwk
|
api
|
EP-KM-CM
|
[sap.com] KMC-WPC
|
[sap.com] tc/kmc/wpc/wpcfacade
|
api
|
EP-PIN-WPC-WCM
|
|
SAP NetWeaver 7.30 SP01 KMC | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||