mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
ALF-9153 Support listing discussion topics by created date, as needed by the hot webscript, with service tests
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@29961 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -18,6 +18,8 @@
|
||||
*/
|
||||
package org.alfresco.service.cmr.discussion;
|
||||
|
||||
import java.util.Date;
|
||||
|
||||
import org.alfresco.model.ForumModel;
|
||||
import org.alfresco.query.PagingRequest;
|
||||
import org.alfresco.query.PagingResults;
|
||||
@@ -176,6 +178,19 @@ public interface DiscussionService {
|
||||
@NotAuditable
|
||||
PagingResults<TopicInfo> listTopics(NodeRef nodeRef, String username, PagingRequest paging);
|
||||
|
||||
/**
|
||||
* Retrieves all topics in a site, created in the given date range
|
||||
*/
|
||||
@NotAuditable
|
||||
PagingResults<TopicInfo> listTopics(String siteShortName, Date from, Date to, PagingRequest paging);
|
||||
|
||||
/**
|
||||
* Retrieves all topics attached to the specified Node, created in the
|
||||
* given date range
|
||||
*/
|
||||
@NotAuditable
|
||||
PagingResults<TopicInfo> listTopics(NodeRef nodeRef, Date from, Date to, PagingRequest paging);
|
||||
|
||||
/**
|
||||
* Searches for all topics in a site, filtered by username or tag
|
||||
*/
|
||||
@@ -210,15 +225,17 @@ public interface DiscussionService {
|
||||
|
||||
/**
|
||||
* 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, New and Mine listing support
|
||||
// TODO Hot topics support
|
||||
}
|
||||
|
Reference in New Issue
Block a user