| Package | Description |
|---|---|
| org.alfresco.repo.discussion | |
| org.alfresco.service.cmr.discussion |
| Modifier and Type | Class and Description |
|---|---|
class |
PostInfoImpl
An implementation of
PostInfo |
| Modifier and Type | Method and Description |
|---|---|
PostInfo |
DiscussionServiceImpl.createPost(TopicInfo topic,
String contents) |
PostInfo |
DiscussionServiceImpl.createReply(PostInfo parentPost,
String contents) |
PostInfo |
DiscussionServiceImpl.getMostRecentPost(TopicInfo topic) |
PostInfo |
DiscussionServiceImpl.getPost(TopicInfo topic,
String postName) |
PostInfo |
DiscussionServiceImpl.getPrimaryPost(TopicInfo topic) |
PostInfo |
DiscussionServiceImpl.updatePost(PostInfo post) |
| Modifier and Type | Method and Description |
|---|---|
org.alfresco.util.Pair<TopicInfo,PostInfo> |
DiscussionServiceImpl.getForNodeRef(org.alfresco.service.cmr.repository.NodeRef nodeRef) |
org.alfresco.query.PagingResults<PostInfo> |
DiscussionServiceImpl.listPosts(TopicInfo topic,
org.alfresco.query.PagingRequest paging) |
| Modifier and Type | Method and Description |
|---|---|
PostInfo |
DiscussionServiceImpl.createReply(PostInfo parentPost,
String contents) |
void |
DiscussionServiceImpl.deletePost(PostInfo post) |
PostWithReplies |
DiscussionServiceImpl.listPostReplies(PostInfo primaryPost,
int levels) |
PostInfo |
DiscussionServiceImpl.updatePost(PostInfo post) |
| Modifier and Type | Method and Description |
|---|---|
PostInfo |
DiscussionService.createPost(TopicInfo topic,
String contents)
Creates a new
PostInfo in the given topic,
with the specified contents. |
PostInfo |
DiscussionService.createReply(PostInfo parentPost,
String contents)
Creates a new
PostInfo which is a reply to
the specified other post, with the given contents. |
PostInfo |
DiscussionService.getMostRecentPost(TopicInfo topic)
Retrieves the newest (most recent) Post in a topic, be that
the Primary Post or a Reply.
|
PostInfo |
PostWithReplies.getPost() |
PostInfo |
DiscussionService.getPost(TopicInfo topic,
String postName)
Retrieves an existing
PostInfo from the repository |
PostInfo |
DiscussionService.getPrimaryPost(TopicInfo topic)
Retrieves the Primary (Root) Post in a topic, to which all
replies belong.
|
PostInfo |
DiscussionService.updatePost(PostInfo post)
Updates an existing
PostInfo in the repository. |
| Modifier and Type | Method and Description |
|---|---|
org.alfresco.util.Pair<TopicInfo,PostInfo> |
DiscussionService.getForNodeRef(org.alfresco.service.cmr.repository.NodeRef nodeRef)
|
org.alfresco.query.PagingResults<PostInfo> |
DiscussionService.listPosts(TopicInfo topic,
org.alfresco.query.PagingRequest paging)
Retrieves all posts in a topic, ordered by creation date
|
| Modifier and Type | Method and Description |
|---|---|
PostInfo |
DiscussionService.createReply(PostInfo parentPost,
String contents)
Creates a new
PostInfo which is a reply to
the specified other post, with the given contents. |
void |
DiscussionService.deletePost(PostInfo post)
Deletes an existing
PostInfo from the repository |
PostWithReplies |
DiscussionService.listPostReplies(PostInfo primaryPost,
int levels)
Retrieves all replies to a Post
|
PostInfo |
DiscussionService.updatePost(PostInfo post)
Updates an existing
PostInfo in the repository. |
| Constructor and Description |
|---|
PostWithReplies(PostInfo post,
List<PostWithReplies> replies) |
Copyright © 2005–2018 Alfresco Software. All rights reserved.