|
Nuxeo Enterprise Platform 5.4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.nuxeo.ecm.platform.syndication.FeedItemAdapter
public class FeedItemAdapter
Method Summary | |
---|---|
static FeedItem |
toFeedItem(DocumentModel doc,
javax.servlet.http.HttpServletRequest req)
Convert a DocumentModel to a FeedItem . |
static java.util.List<FeedItem> |
toFeedItemList(java.util.List<DocumentModel> docList,
javax.servlet.http.HttpServletRequest req)
Convert a list of DocumentModel s to a list of FeedItem s. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static FeedItem toFeedItem(DocumentModel doc, javax.servlet.http.HttpServletRequest req) throws ClientException
DocumentModel
to a FeedItem
.
doc
- the document model to convert
ClientException
public static java.util.List<FeedItem> toFeedItemList(java.util.List<DocumentModel> docList, javax.servlet.http.HttpServletRequest req) throws ClientException
DocumentModel
s to a list of FeedItem
s.
docList
- the list of document models
ClientException
|
Nuxeo Enterprise Platform 5.4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |