Package | Description |
---|---|
org.alfresco.repo.discussion | |
org.alfresco.repo.web.scripts.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 |
---|---|
protected void |
AbstractDiscussionWebScript.addActivityEntry(String thing,
String event,
TopicInfo topic,
PostInfo post,
SiteInfo site,
org.springframework.extensions.webscripts.WebScriptRequest req,
org.json.simple.JSONObject json)
Generates an activity entry for the discussion item
|
protected Map<String,Object> |
AbstractDiscussionWebScript.buildCommonModel(SiteInfo site,
TopicInfo topic,
PostInfo post,
org.springframework.extensions.webscripts.WebScriptRequest req) |
protected boolean |
AbstractDiscussionWebScript.canUserEditPost(PostInfo post,
SiteInfo site)
Is the current user allowed to edit this post?
In order to be deemed allowed, you first need write
permissions on the underlying node of the post.
|
protected Map<String,Object> |
ForumTopicsFilteredGet.executeImpl(SiteInfo site,
org.alfresco.service.cmr.repository.NodeRef nodeRef,
TopicInfo topic,
PostInfo post,
org.springframework.extensions.webscripts.WebScriptRequest req,
org.json.simple.JSONObject json,
org.springframework.extensions.webscripts.Status status,
org.springframework.extensions.webscripts.Cache cache) |
protected Map<String,Object> |
ForumPostPut.executeImpl(SiteInfo site,
org.alfresco.service.cmr.repository.NodeRef nodeRef,
TopicInfo topic,
PostInfo post,
org.springframework.extensions.webscripts.WebScriptRequest req,
org.json.simple.JSONObject json,
org.springframework.extensions.webscripts.Status status,
org.springframework.extensions.webscripts.Cache cache) |
protected Map<String,Object> |
ForumPostGet.executeImpl(SiteInfo site,
org.alfresco.service.cmr.repository.NodeRef nodeRef,
TopicInfo topic,
PostInfo post,
org.springframework.extensions.webscripts.WebScriptRequest req,
org.json.simple.JSONObject json,
org.springframework.extensions.webscripts.Status status,
org.springframework.extensions.webscripts.Cache cache) |
protected Map<String,Object> |
ForumTopicPost.executeImpl(SiteInfo site,
org.alfresco.service.cmr.repository.NodeRef nodeRef,
TopicInfo topic,
PostInfo post,
org.springframework.extensions.webscripts.WebScriptRequest req,
org.json.simple.JSONObject json,
org.springframework.extensions.webscripts.Status status,
org.springframework.extensions.webscripts.Cache cache) |
protected Map<String,Object> |
ForumTopicsRecentGet.executeImpl(SiteInfo site,
org.alfresco.service.cmr.repository.NodeRef nodeRef,
TopicInfo topic,
PostInfo post,
org.springframework.extensions.webscripts.WebScriptRequest req,
org.json.simple.JSONObject json,
org.springframework.extensions.webscripts.Status status,
org.springframework.extensions.webscripts.Cache cache) |
protected Map<String,Object> |
ForumTopicsMineGet.executeImpl(SiteInfo site,
org.alfresco.service.cmr.repository.NodeRef nodeRef,
TopicInfo topic,
PostInfo post,
org.springframework.extensions.webscripts.WebScriptRequest req,
org.json.simple.JSONObject json,
org.springframework.extensions.webscripts.Status status,
org.springframework.extensions.webscripts.Cache cache) |
protected Map<String,Object> |
ForumTopicsGet.executeImpl(SiteInfo site,
org.alfresco.service.cmr.repository.NodeRef nodeRef,
TopicInfo topic,
PostInfo post,
org.springframework.extensions.webscripts.WebScriptRequest req,
org.json.simple.JSONObject json,
org.springframework.extensions.webscripts.Status status,
org.springframework.extensions.webscripts.Cache cache) |
protected Map<String,Object> |
ForumPostDelete.executeImpl(SiteInfo site,
org.alfresco.service.cmr.repository.NodeRef nodeRef,
TopicInfo topic,
PostInfo post,
org.springframework.extensions.webscripts.WebScriptRequest req,
org.json.simple.JSONObject json,
org.springframework.extensions.webscripts.Status status,
org.springframework.extensions.webscripts.Cache cache) |
protected Map<String,Object> |
ForumPostRepliesPost.executeImpl(SiteInfo site,
org.alfresco.service.cmr.repository.NodeRef nodeRef,
TopicInfo topic,
PostInfo post,
org.springframework.extensions.webscripts.WebScriptRequest req,
org.json.simple.JSONObject json,
org.springframework.extensions.webscripts.Status status,
org.springframework.extensions.webscripts.Cache cache) |
protected abstract Map<String,Object> |
AbstractDiscussionWebScript.executeImpl(SiteInfo site,
org.alfresco.service.cmr.repository.NodeRef nodeRef,
TopicInfo topic,
PostInfo post,
org.springframework.extensions.webscripts.WebScriptRequest req,
org.json.simple.JSONObject json,
org.springframework.extensions.webscripts.Status status,
org.springframework.extensions.webscripts.Cache cache) |
protected Map<String,Object> |
ForumPostRepliesGet.executeImpl(SiteInfo site,
org.alfresco.service.cmr.repository.NodeRef nodeRef,
TopicInfo topic,
PostInfo post,
org.springframework.extensions.webscripts.WebScriptRequest req,
org.json.simple.JSONObject json,
org.springframework.extensions.webscripts.Status status,
org.springframework.extensions.webscripts.Cache cache) |
protected Map<String,Object> |
ForumTopicsHotGet.executeImpl(SiteInfo site,
org.alfresco.service.cmr.repository.NodeRef nodeRef,
TopicInfo topic,
PostInfo post,
org.springframework.extensions.webscripts.WebScriptRequest req,
org.json.simple.JSONObject json,
org.springframework.extensions.webscripts.Status status,
org.springframework.extensions.webscripts.Cache cache) |
protected Map<String,Object> |
AbstractDiscussionWebScript.renderPost(PostInfo post,
SiteInfo site) |
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–2017 Alfresco Software. All rights reserved.