mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
ALF-9153 Discussions service CQ support for finding "hot" topics (those with recent replies)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@30027 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -205,6 +205,23 @@ public interface DiscussionService {
|
||||
PagingResults<TopicInfo> findTopics(NodeRef nodeRef, String username, String tag, PagingRequest paging);
|
||||
|
||||
|
||||
/**
|
||||
* Finds topics which have had replies since the specified date, and
|
||||
* returns them along with the count of replies since then.
|
||||
* Primary posts are not included in this.
|
||||
*/
|
||||
@NotAuditable
|
||||
PagingResults<Pair<TopicInfo,Integer>> listHotTopics(String siteShortName, Date since, PagingRequest paging);
|
||||
|
||||
/**
|
||||
* Finds topics which have had replies since the specified date, and
|
||||
* returns them along with the count of replies since then.
|
||||
* Primary posts are not included in this.
|
||||
*/
|
||||
@NotAuditable
|
||||
PagingResults<Pair<TopicInfo,Integer>> listHotTopics(NodeRef nodeRef, Date since, PagingRequest paging);
|
||||
|
||||
|
||||
/**
|
||||
* Retrieves all posts in a topic, ordered by creation date
|
||||
*/
|
||||
@@ -222,20 +239,4 @@ public interface DiscussionService {
|
||||
*/
|
||||
@NotAuditable
|
||||
PostWithReplies listPostReplies(PostInfo primaryPost, int levels);
|
||||
|
||||
/**
|
||||
* Retrieves all posts in a site, across all topics
|
||||
* TODO Is this needed?
|
||||
*/
|
||||
@NotAuditable
|
||||
PagingResults<PostInfo> listPosts(String siteShortName, PagingRequest paging);
|
||||
|
||||
/**
|
||||
* Retrieves all posts attached to the specified Node, across all topics
|
||||
* TODO Is this needed?
|
||||
*/
|
||||
@NotAuditable
|
||||
PagingResults<PostInfo> listPosts(NodeRef nodeRef, PagingRequest paging);
|
||||
|
||||
// TODO Hot topics support
|
||||
}
|
||||
|
Reference in New Issue
Block a user