public interface IComment
The comments service can be configured. It offers a method to determine the current configuration.
Modifier and Type | Method and Description |
---|---|
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.
|
boolean addComment(IResource resource, String Text) throws WcmException
resource
- the resource for which the comment is givenText
- text of the commentWcmException
IResourceList getComment(IResource resource)
resource
- the resource for which the comments were givenProperties getProperties()
boolean delComment(IResource resource, IResource commentres)
resource
- resource for which the comment was savedcommentres
- resource that stores the comment to be deletedint getCommentCount(IResource resource)
resource
- resource for which comments existboolean 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
|
Copyright 2018 SAP AG Complete Copyright Notice