public interface CommentsService
| Modifier and Type | Method and Description |
|---|---|
void |
addComment(Resource resource,
Comment c)
Add a comment to the resource
|
String |
getCommentsResourcePath(Resource resource)
Return the path to the comments resource for a resource.
|
String getCommentsResourcePath(Resource resource)
resource - The content resource, this is usually an entry.null if
the passed in content resource is not part of
Slingshot.void addComment(Resource resource, Comment c) throws PersistenceException
resource - The resourcec - The commoentPersistenceException - If the comment can't be addedCopyright © 2017 The Apache Software Foundation. All rights reserved.