public class ThreadAdapterImpl extends Object implements ThreadAdapter, Serializable
Constructor and Description |
---|
ThreadAdapterImpl(DocumentModel threadDoc) |
Modifier and Type | Method and Description |
---|---|
List<DocumentModel> |
getAllPosts() |
DocumentModel |
getLastPublishedPost() |
List<DocumentModel> |
getPendingPosts() |
List<DocumentModel> |
getPublishedPosts() |
DocumentModel |
getThreadDoc() |
public ThreadAdapterImpl(DocumentModel threadDoc)
public List<DocumentModel> getAllPosts() throws ClientException
getAllPosts
in interface ThreadAdapter
ClientException
public List<DocumentModel> getPublishedPosts() throws ClientException
getPublishedPosts
in interface ThreadAdapter
ClientException
public List<DocumentModel> getPendingPosts() throws ClientException
getPendingPosts
in interface ThreadAdapter
ClientException
public DocumentModel getLastPublishedPost() throws ClientException
getLastPublishedPost
in interface ThreadAdapter
ClientException
public DocumentModel getThreadDoc()
getThreadDoc
in interface ThreadAdapter
Copyright © 2011 Nuxeo SA. All Rights Reserved.