Package | Description |
---|---|
org.alfresco.repo.discussion | |
org.alfresco.repo.web.scripts.discussion | |
org.alfresco.service.cmr.discussion |
Modifier and Type | Class and Description |
---|---|
class |
TopicInfoImpl
An implementation of
TopicInfo |
Modifier and Type | Method and Description |
---|---|
TopicInfo |
DiscussionServiceImpl.createTopic(org.alfresco.service.cmr.repository.NodeRef parentNodeRef,
String title) |
TopicInfo |
DiscussionServiceImpl.createTopic(String siteShortName,
String title) |
TopicInfo |
PostInfoImpl.getTopic() |
TopicInfo |
DiscussionServiceImpl.getTopic(org.alfresco.service.cmr.repository.NodeRef parentNodeRef,
String topicName) |
TopicInfo |
DiscussionServiceImpl.getTopic(String siteShortName,
String topicName) |
TopicInfo |
DiscussionServiceImpl.updateTopic(TopicInfo topic) |
Modifier and Type | Method and Description |
---|---|
org.alfresco.query.PagingResults<TopicInfo> |
DiscussionServiceImpl.findTopics(org.alfresco.service.cmr.repository.NodeRef nodeRef,
String username,
String tag,
boolean sortAscending,
org.alfresco.query.PagingRequest paging) |
org.alfresco.query.PagingResults<TopicInfo> |
DiscussionServiceImpl.findTopics(String siteShortName,
String username,
String tag,
boolean sortAscending,
org.alfresco.query.PagingRequest paging) |
org.alfresco.util.Pair<TopicInfo,PostInfo> |
DiscussionServiceImpl.getForNodeRef(org.alfresco.service.cmr.repository.NodeRef nodeRef) |
org.alfresco.query.PagingResults<org.alfresco.util.Pair<TopicInfo,Integer>> |
DiscussionServiceImpl.listHotTopics(org.alfresco.service.cmr.repository.NodeRef nodeRef,
Date since,
org.alfresco.query.PagingRequest paging) |
org.alfresco.query.PagingResults<org.alfresco.util.Pair<TopicInfo,Integer>> |
DiscussionServiceImpl.listHotTopics(String siteShortName,
Date since,
org.alfresco.query.PagingRequest paging) |
org.alfresco.query.PagingResults<TopicInfo> |
DiscussionServiceImpl.listTopics(org.alfresco.service.cmr.repository.NodeRef nodeRef,
boolean sortAscending,
org.alfresco.query.PagingRequest paging) |
org.alfresco.query.PagingResults<TopicInfo> |
DiscussionServiceImpl.listTopics(org.alfresco.service.cmr.repository.NodeRef nodeRef,
Date from,
Date to,
boolean sortAscending,
org.alfresco.query.PagingRequest paging) |
org.alfresco.query.PagingResults<TopicInfo> |
DiscussionServiceImpl.listTopics(org.alfresco.service.cmr.repository.NodeRef nodeRef,
String username,
boolean sortAscending,
org.alfresco.query.PagingRequest paging) |
org.alfresco.query.PagingResults<TopicInfo> |
DiscussionServiceImpl.listTopics(String siteShortName,
boolean sortAscending,
org.alfresco.query.PagingRequest paging) |
org.alfresco.query.PagingResults<TopicInfo> |
DiscussionServiceImpl.listTopics(String siteShortName,
Date from,
Date to,
boolean sortAscending,
org.alfresco.query.PagingRequest paging) |
org.alfresco.query.PagingResults<TopicInfo> |
DiscussionServiceImpl.listTopics(String siteShortName,
String username,
boolean sortAscending,
org.alfresco.query.PagingRequest paging) |
Modifier and Type | Method and Description |
---|---|
PostInfo |
DiscussionServiceImpl.createPost(TopicInfo topic,
String contents) |
void |
DiscussionServiceImpl.deleteTopic(TopicInfo topic) |
PostInfo |
DiscussionServiceImpl.getMostRecentPost(TopicInfo topic) |
PostInfo |
DiscussionServiceImpl.getPost(TopicInfo topic,
String postName) |
PostInfo |
DiscussionServiceImpl.getPrimaryPost(TopicInfo topic) |
PostWithReplies |
DiscussionServiceImpl.listPostReplies(TopicInfo topic,
int levels) |
org.alfresco.query.PagingResults<PostInfo> |
DiscussionServiceImpl.listPosts(TopicInfo topic,
org.alfresco.query.PagingRequest paging) |
TopicInfo |
DiscussionServiceImpl.updateTopic(TopicInfo topic) |
Constructor and Description |
---|
PostInfoImpl(org.alfresco.service.cmr.repository.NodeRef nodeRef,
String systemName,
TopicInfo topic)
Create a
PostInfo object from an existing node |
Modifier and Type | Method and Description |
---|---|
protected org.alfresco.query.PagingResults<TopicInfo> |
ForumTopicsFilteredGet.doSearch(org.alfresco.util.Pair<String,String> searchQuery,
boolean sortAscending,
org.alfresco.query.PagingRequest paging)
Do the actual search
|
protected org.alfresco.query.PagingResults<TopicInfo> |
ForumTopicsFilteredGet.wrap(org.alfresco.service.cmr.search.ResultSet finalResults,
org.alfresco.query.PagingRequest paging)
Wrap up search results as
TopicInfo instances |
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 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.renderTopic(TopicInfo topic,
SiteInfo site) |
Modifier and Type | Method and Description |
---|---|
protected Map<String,Object> |
AbstractDiscussionWebScript.renderTopics(List<TopicInfo> topics,
org.alfresco.util.Pair<Integer,Integer> size,
org.alfresco.query.PagingRequest paging,
SiteInfo site) |
protected Map<String,Object> |
AbstractDiscussionWebScript.renderTopics(org.alfresco.query.PagingResults<TopicInfo> topics,
org.alfresco.query.PagingRequest paging,
SiteInfo site) |
Modifier and Type | Method and Description |
---|---|
TopicInfo |
DiscussionService.createTopic(org.alfresco.service.cmr.repository.NodeRef parentNodeRef,
String title)
Creates a new
TopicInfo attached to the specified Node. |
TopicInfo |
DiscussionService.createTopic(String siteShortName,
String title)
Creates a new
TopicInfo in the given site |
TopicInfo |
PostInfo.getTopic() |
TopicInfo |
DiscussionService.getTopic(org.alfresco.service.cmr.repository.NodeRef parentNodeRef,
String topicName)
Retrieves an existing
TopicInfo from the repository,
which is attached to the specified Node. |
TopicInfo |
DiscussionService.getTopic(String siteShortName,
String linkName)
Retrieves an existing
TopicInfo from the repository,
which is within a site |
TopicInfo |
DiscussionService.updateTopic(TopicInfo topic)
Updates an existing
TopicInfo in the repository. |
Modifier and Type | Method and Description |
---|---|
org.alfresco.query.PagingResults<TopicInfo> |
DiscussionService.findTopics(org.alfresco.service.cmr.repository.NodeRef nodeRef,
String username,
String tag,
boolean sortAscending,
org.alfresco.query.PagingRequest paging)
Searches for all topics attached to the specified Node, filtered
by username or tag, sorted by either oldest or newest topics first.
|
org.alfresco.query.PagingResults<TopicInfo> |
DiscussionService.findTopics(String siteShortName,
String username,
String tag,
boolean sortAscending,
org.alfresco.query.PagingRequest paging)
Searches for all topics in a site, filtered by username or tag, sorted by
either oldest or newest topics first.
|
org.alfresco.util.Pair<TopicInfo,PostInfo> |
DiscussionService.getForNodeRef(org.alfresco.service.cmr.repository.NodeRef nodeRef)
|
org.alfresco.query.PagingResults<org.alfresco.util.Pair<TopicInfo,Integer>> |
DiscussionService.listHotTopics(org.alfresco.service.cmr.repository.NodeRef nodeRef,
Date since,
org.alfresco.query.PagingRequest paging)
Finds topics which have had replies since the specified date, and
returns them along with the count of replies since then.
|
org.alfresco.query.PagingResults<org.alfresco.util.Pair<TopicInfo,Integer>> |
DiscussionService.listHotTopics(String siteShortName,
Date since,
org.alfresco.query.PagingRequest paging)
Finds topics which have had replies since the specified date, and
returns them along with the count of replies since then.
|
org.alfresco.query.PagingResults<TopicInfo> |
DiscussionService.listTopics(org.alfresco.service.cmr.repository.NodeRef nodeRef,
boolean sortAscending,
org.alfresco.query.PagingRequest paging)
Retrieves all topics attached to the specified Node, sorted by
either oldest or newest topics first.
|
org.alfresco.query.PagingResults<TopicInfo> |
DiscussionService.listTopics(org.alfresco.service.cmr.repository.NodeRef nodeRef,
Date from,
Date to,
boolean sortAscending,
org.alfresco.query.PagingRequest paging)
Retrieves all topics attached to the specified Node, created in the
given date range, sorted by either oldest or newest topics first.
|
org.alfresco.query.PagingResults<TopicInfo> |
DiscussionService.listTopics(org.alfresco.service.cmr.repository.NodeRef nodeRef,
String username,
boolean sortAscending,
org.alfresco.query.PagingRequest paging)
Retrieves all topics attached to the specified Node, filtered by username,
sorted by either oldest or newest topics first.
|
org.alfresco.query.PagingResults<TopicInfo> |
DiscussionService.listTopics(String siteShortName,
boolean sortAscending,
org.alfresco.query.PagingRequest paging)
Retrieves all topics in a site, sorted by either oldest
or newest topics first.
|
org.alfresco.query.PagingResults<TopicInfo> |
DiscussionService.listTopics(String siteShortName,
Date from,
Date to,
boolean sortAscending,
org.alfresco.query.PagingRequest paging)
Retrieves all topics in a site, created in the given date range, sorted by
either oldest or newest topics first.
|
org.alfresco.query.PagingResults<TopicInfo> |
DiscussionService.listTopics(String siteShortName,
String username,
boolean sortAscending,
org.alfresco.query.PagingRequest paging)
Retrieves all topics in a site, filtered by username, sorted by
either oldest or newest topics first.
|
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. |
void |
DiscussionService.deleteTopic(TopicInfo topic)
Deletes an existing
TopicInfo from the repository |
PostInfo |
DiscussionService.getMostRecentPost(TopicInfo topic)
Retrieves the newest (most recent) Post in a topic, be that
the Primary Post or a Reply.
|
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.
|
PostWithReplies |
DiscussionService.listPostReplies(TopicInfo forum,
int levels)
Retrieves all replies on a Topic
|
org.alfresco.query.PagingResults<PostInfo> |
DiscussionService.listPosts(TopicInfo topic,
org.alfresco.query.PagingRequest paging)
Retrieves all posts in a topic, ordered by creation date
|
TopicInfo |
DiscussionService.updateTopic(TopicInfo topic)
Updates an existing
TopicInfo in the repository. |
Copyright © 2005–2017 Alfresco Software. All rights reserved.