Nuxeo ECM Projects 5.4.3-SNAPSHOT

org.nuxeo.ecm.platform.forum.web.api
Class ThreadAdapterImpl

java.lang.Object
  extended by org.nuxeo.ecm.platform.forum.web.api.ThreadAdapterImpl
All Implemented Interfaces:
Serializable, ThreadAdapter

public class ThreadAdapterImpl
extends Object
implements ThreadAdapter, Serializable

See Also:
Serialized Form

Constructor Summary
ThreadAdapterImpl(DocumentModel threadDoc)
           
 
Method Summary
 List<DocumentModel> getAllPosts()
           
 DocumentModel getLastPublishedPost()
           
 List<DocumentModel> getPendingPosts()
           
 List<DocumentModel> getPublishedPosts()
           
 DocumentModel getThreadDoc()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ThreadAdapterImpl

public ThreadAdapterImpl(DocumentModel threadDoc)
Method Detail

getAllPosts

public List<DocumentModel> getAllPosts()
                                throws ClientException
Specified by:
getAllPosts in interface ThreadAdapter
Throws:
ClientException

getPublishedPosts

public List<DocumentModel> getPublishedPosts()
                                      throws ClientException
Specified by:
getPublishedPosts in interface ThreadAdapter
Throws:
ClientException

getPendingPosts

public List<DocumentModel> getPendingPosts()
                                    throws ClientException
Specified by:
getPendingPosts in interface ThreadAdapter
Throws:
ClientException

getLastPublishedPost

public DocumentModel getLastPublishedPost()
                                   throws ClientException
Specified by:
getLastPublishedPost in interface ThreadAdapter
Throws:
ClientException

getThreadDoc

public DocumentModel getThreadDoc()
Specified by:
getThreadDoc in interface ThreadAdapter

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.