Class PostWithReplies
- java.lang.Object
-
- org.alfresco.service.cmr.discussion.PostWithReplies
-
- All Implemented Interfaces:
PermissionCheckValue
public class PostWithReplies extends Object implements PermissionCheckValue
This class holds a post and all replies to it, possibly nested. This is used withDiscussionService.listPostReplies(PostInfo, int)- Since:
- 4.0
- Author:
- Nick Burch
-
-
Constructor Summary
Constructors Constructor Description PostWithReplies(PostInfo post, List<PostWithReplies> replies)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.alfresco.service.cmr.repository.NodeRefgetNodeRef()Get the underlying node value that needs to be permission checked.PostInfogetPost()List<PostWithReplies>getReplies()
-
-
-
Constructor Detail
-
PostWithReplies
public PostWithReplies(PostInfo post, List<PostWithReplies> replies)
-
-
Method Detail
-
getPost
public PostInfo getPost()
-
getReplies
public List<PostWithReplies> getReplies()
-
getNodeRef
public org.alfresco.service.cmr.repository.NodeRef getNodeRef()
Description copied from interface:PermissionCheckValueGet the underlying node value that needs to be permission checked.- Specified by:
getNodeRefin interfacePermissionCheckValue- Returns:
- the underlying value to filter
-
-