public class CommentServiceImpl extends java.lang.Object implements CommentService
| Constructor and Description |
|---|
CommentServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
org.alfresco.service.cmr.repository.NodeRef |
getDiscussableAncestor(org.alfresco.service.cmr.repository.NodeRef descendantNodeRef)
Thi method retrieves the ancestor in the repository containment hierarchy having the
fm:discussable aspect. |
org.alfresco.service.cmr.repository.NodeRef |
getShareCommentsTopic(org.alfresco.service.cmr.repository.NodeRef discussableNode)
This method retrieves the
fm:topic NodeRef which holds the Share comments for
the specified fm:discussable node. |
void |
setNodeService(org.alfresco.service.cmr.repository.NodeService nodeService) |
public void setNodeService(org.alfresco.service.cmr.repository.NodeService nodeService)
public org.alfresco.service.cmr.repository.NodeRef getDiscussableAncestor(org.alfresco.service.cmr.repository.NodeRef descendantNodeRef)
CommentServicefm:discussable aspect.getDiscussableAncestor in interface CommentServicedescendantNodeRef - The nodeRef which descends from the f:discussable node.public org.alfresco.service.cmr.repository.NodeRef getShareCommentsTopic(org.alfresco.service.cmr.repository.NodeRef discussableNode)
CommentServicefm:topic NodeRef which holds the Share comments for
the specified fm:discussable node.getShareCommentsTopic in interface CommentServicediscussableNode - the node whose Share comments are sought.Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.