mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
ALF-9153 Start on the lucene-free Discussions Webscripts
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@29729 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -23,6 +23,7 @@ import org.alfresco.query.PagingRequest;
|
||||
import org.alfresco.query.PagingResults;
|
||||
import org.alfresco.service.NotAuditable;
|
||||
import org.alfresco.service.cmr.repository.NodeRef;
|
||||
import org.alfresco.util.Pair;
|
||||
|
||||
/**
|
||||
* The Discussions service.
|
||||
@@ -97,6 +98,18 @@ public interface DiscussionService {
|
||||
@NotAuditable
|
||||
void deleteTopic(TopicInfo topic);
|
||||
|
||||
/**
|
||||
* For a given NodeRef corresponding to either a
|
||||
* {@link TopicInfo} or a {@link PostInfo}, returns
|
||||
* the objects wrapping the Node.
|
||||
*
|
||||
* For a Topic, the 2nd half of the pair is null.
|
||||
* For a Post, both halves of the pair are set.
|
||||
* For anything else, the response is null.
|
||||
*/
|
||||
@NotAuditable
|
||||
Pair<TopicInfo,PostInfo> getForNodeRef(NodeRef nodeRef);
|
||||
|
||||
/**
|
||||
* Retrieves an existing {@link PostInfo} from the repository
|
||||
*/
|
||||
|
Reference in New Issue
Block a user