Nuxeo Enterprise Platform 5.4

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:
java.io.Serializable, ThreadAdapter

public class ThreadAdapterImpl
extends java.lang.Object
implements ThreadAdapter, java.io.Serializable

See Also:
Serialized Form

Constructor Summary
ThreadAdapterImpl(DocumentModel threadDoc)
           
 
Method Summary
 java.util.List<DocumentModel> getAllPosts()
           
 DocumentModel getLastPublishedPost()
           
 java.util.List<DocumentModel> getPendingPosts()
           
 java.util.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 java.util.List<DocumentModel> getAllPosts()
                                          throws ClientException
Specified by:
getAllPosts in interface ThreadAdapter
Throws:
ClientException

getPublishedPosts

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

getPendingPosts

public java.util.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 Enterprise Platform 5.4

Copyright © 2010 Nuxeo SAS. All Rights Reserved.