org.nuxeo.ecm.platform.forum.web.api
Class ThreadAdapterImpl
java.lang.Object
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
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ThreadAdapterImpl
public ThreadAdapterImpl(DocumentModel threadDoc)
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
Copyright © 2010 Nuxeo SAS. All Rights Reserved.