org.nuxeo.ecm.platform.forum.web.api
Class ThreadAdapterImpl
java.lang.Object
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
ThreadAdapterImpl
public ThreadAdapterImpl(DocumentModel threadDoc)
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
Copyright © 2011 Nuxeo SAS. All Rights Reserved.