ALF-9153 Update the topic listing service methods to optionally filter by cm:creator, with tests

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@29943 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Nick Burch
2011-08-22 11:23:15 +00:00
parent 64e58d0257
commit 3d050b6033
3 changed files with 117 additions and 172 deletions

View File

@@ -165,16 +165,29 @@ public interface DiscussionService {
PagingResults<TopicInfo> listTopics(NodeRef nodeRef, PagingRequest paging);
/**
* Searches for all topics in a site, filtered by tag
* Retrieves all topics in a site, filtered by username
*/
@NotAuditable
PagingResults<TopicInfo> findTopics(String siteShortName, String tag, PagingRequest paging);
PagingResults<TopicInfo> listTopics(String siteShortName, String username, PagingRequest paging);
/**
* Searches for all topics attached to the specified Node, filtered by tag
* Retrieves all topics attached to the specified Node, filtered by username
*/
@NotAuditable
PagingResults<TopicInfo> findTopics(NodeRef nodeRef, String tag, PagingRequest paging);
PagingResults<TopicInfo> listTopics(NodeRef nodeRef, String username, PagingRequest paging);
/**
* Searches for all topics in a site, filtered by username or tag
*/
@NotAuditable
PagingResults<TopicInfo> findTopics(String siteShortName, String username, String tag, PagingRequest paging);
/**
* Searches for all topics attached to the specified Node, filtered
* by username or tag
*/
@NotAuditable
PagingResults<TopicInfo> findTopics(NodeRef nodeRef, String username, String tag, PagingRequest paging);
/**