|
SAP NetWeaver '04 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
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,
java.lang.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. |
java.util.Properties |
getProperties()
Gets all configuration data for this service. |
boolean |
isSecure()
Checks if service is set to be a secure service. |
| Method Detail |
public boolean addComment(IResource resource,
java.lang.String Text)
throws WcmException
resource - the resource for which the comment is givenText - text of the commentWcmException - not yet usedpublic IResourceList getComment(IResource resource)
resource - the resource for which the comments were givenpublic java.util.Properties getProperties()
public boolean delComment(IResource resource,
IResource commentres)
resource - resource for which the comment was savedcommentres - resource that stores the comment to be deletedpublic int getCommentCount(IResource resource)
resource - resource for which comments existpublic boolean isSecure()
|
SAP NetWeaver '04 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||