org.alfresco.service.cmr.discussion
Class PostWithReplies
java.lang.Object
org.alfresco.service.cmr.discussion.PostWithReplies
- All Implemented Interfaces:
- PermissionCheckValue
public class PostWithReplies
- extends java.lang.Object
- implements PermissionCheckValue
This class holds a post and all replies to it, possibly nested.
This is used with DiscussionService#listPostReplies(PostWithReplies, int, org.alfresco.query.PagingRequest)
- Since:
- 4.0
Method Summary |
org.alfresco.service.cmr.repository.NodeRef |
getNodeRef()
Get the underlying node value that needs to be permission checked. |
PostInfo |
getPost()
|
java.util.List |
getReplies()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PostWithReplies
public PostWithReplies(PostInfo post,
java.util.List replies)
getPost
public PostInfo getPost()
getReplies
public java.util.List getReplies()
getNodeRef
public org.alfresco.service.cmr.repository.NodeRef getNodeRef()
- Description copied from interface:
PermissionCheckValue
- Get the underlying node value that needs to be permission checked.
- Specified by:
getNodeRef
in interface PermissionCheckValue
- Returns:
- the underlying value to filter
Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.