public class JournalRSSUtil
extends java.lang.Object
Constructor and Description |
---|
JournalRSSUtil() |
Modifier and Type | Method and Description |
---|---|
protected java.lang.String |
exportToRSS(javax.portlet.ResourceRequest resourceRequest,
javax.portlet.ResourceResponse resourceResponse,
JournalFeed feed,
java.lang.String languageId,
com.liferay.portal.kernel.model.Layout layout,
com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay) |
java.util.List<JournalArticle> |
getArticles(JournalFeed feed) |
java.util.List<com.sun.syndication.feed.synd.SyndEnclosure> |
getDLEnclosures(java.lang.String portalURL,
java.lang.String url) |
java.util.List<com.sun.syndication.feed.synd.SyndLink> |
getDLLinks(java.lang.String portalURL,
java.lang.String url) |
protected java.lang.String |
getEntryURL(javax.portlet.ResourceRequest resourceRequest,
JournalFeed feed,
JournalArticle article,
com.liferay.portal.kernel.model.Layout layout,
com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay) |
com.liferay.portal.kernel.repository.model.FileEntry |
getFileEntry(java.lang.String url) |
java.util.List<com.sun.syndication.feed.synd.SyndEnclosure> |
getIGEnclosures(java.lang.String portalURL,
java.lang.String url) |
java.util.List<com.sun.syndication.feed.synd.SyndLink> |
getIGLinks(java.lang.String portalURL,
java.lang.String url) |
com.liferay.portal.kernel.model.Image |
getImage(java.lang.String url) |
protected java.lang.Object[] |
getImageProperties(java.lang.String url) |
byte[] |
getRSS(javax.portlet.ResourceRequest resourceRequest,
javax.portlet.ResourceResponse resourceResponse) |
protected java.lang.String |
processContent(JournalFeed feed,
JournalArticle article,
java.lang.String languageId,
com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay,
com.sun.syndication.feed.synd.SyndEntry syndEntry,
com.sun.syndication.feed.synd.SyndContent syndContent)
Deprecated.
|
protected java.lang.String |
processContent(javax.portlet.ResourceRequest resourceRequest,
javax.portlet.ResourceResponse resourceResponse,
JournalFeed feed,
JournalArticle article,
java.lang.String languageId,
com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay,
com.sun.syndication.feed.synd.SyndEntry syndEntry,
com.sun.syndication.feed.synd.SyndContent syndContent) |
protected java.lang.String |
processURL(JournalFeed feed,
java.lang.String url,
com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay,
com.sun.syndication.feed.synd.SyndEntry syndEntry) |
protected void |
setDLAppLocalService(com.liferay.document.library.kernel.service.DLAppLocalService dlAppLocalService) |
protected void |
setImageLocalService(com.liferay.portal.kernel.service.ImageLocalService imageLocalService) |
protected void |
setJournalArticleLocalService(JournalArticleLocalService journalArticleLocalService) |
protected void |
setJournalContent(JournalContent journalContent) |
protected void |
setJournalContentSearchLocalService(JournalContentSearchLocalService journalContentSearchLocalService) |
protected void |
setJournalFeedLocalService(JournalFeedLocalService journalFeedLocalService) |
protected void |
setLayoutLocalService(com.liferay.portal.kernel.service.LayoutLocalService layoutLocalService) |
public java.util.List<JournalArticle> getArticles(JournalFeed feed)
public java.util.List<com.sun.syndication.feed.synd.SyndEnclosure> getDLEnclosures(java.lang.String portalURL, java.lang.String url)
public java.util.List<com.sun.syndication.feed.synd.SyndLink> getDLLinks(java.lang.String portalURL, java.lang.String url)
public com.liferay.portal.kernel.repository.model.FileEntry getFileEntry(java.lang.String url)
public java.util.List<com.sun.syndication.feed.synd.SyndEnclosure> getIGEnclosures(java.lang.String portalURL, java.lang.String url)
public java.util.List<com.sun.syndication.feed.synd.SyndLink> getIGLinks(java.lang.String portalURL, java.lang.String url)
public com.liferay.portal.kernel.model.Image getImage(java.lang.String url)
public byte[] getRSS(javax.portlet.ResourceRequest resourceRequest, javax.portlet.ResourceResponse resourceResponse) throws java.lang.Exception
java.lang.Exception
protected java.lang.String exportToRSS(javax.portlet.ResourceRequest resourceRequest, javax.portlet.ResourceResponse resourceResponse, JournalFeed feed, java.lang.String languageId, com.liferay.portal.kernel.model.Layout layout, com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay) throws java.lang.Exception
java.lang.Exception
protected java.lang.String getEntryURL(javax.portlet.ResourceRequest resourceRequest, JournalFeed feed, JournalArticle article, com.liferay.portal.kernel.model.Layout layout, com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay) throws java.lang.Exception
java.lang.Exception
protected java.lang.Object[] getImageProperties(java.lang.String url)
@Deprecated protected java.lang.String processContent(JournalFeed feed, JournalArticle article, java.lang.String languageId, com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay, com.sun.syndication.feed.synd.SyndEntry syndEntry, com.sun.syndication.feed.synd.SyndContent syndContent) throws java.lang.Exception
processContent(ResourceRequest, ResourceResponse,
JournalFeed, JournalArticle, String, ThemeDisplay, SyndEntry,
SyndContent)
java.lang.Exception
protected java.lang.String processContent(javax.portlet.ResourceRequest resourceRequest, javax.portlet.ResourceResponse resourceResponse, JournalFeed feed, JournalArticle article, java.lang.String languageId, com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay, com.sun.syndication.feed.synd.SyndEntry syndEntry, com.sun.syndication.feed.synd.SyndContent syndContent) throws java.lang.Exception
java.lang.Exception
protected java.lang.String processURL(JournalFeed feed, java.lang.String url, com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay, com.sun.syndication.feed.synd.SyndEntry syndEntry)
protected void setDLAppLocalService(com.liferay.document.library.kernel.service.DLAppLocalService dlAppLocalService)
protected void setImageLocalService(com.liferay.portal.kernel.service.ImageLocalService imageLocalService)
protected void setJournalArticleLocalService(JournalArticleLocalService journalArticleLocalService)
protected void setJournalContent(JournalContent journalContent)
protected void setJournalContentSearchLocalService(JournalContentSearchLocalService journalContentSearchLocalService)
protected void setJournalFeedLocalService(JournalFeedLocalService journalFeedLocalService)
protected void setLayoutLocalService(com.liferay.portal.kernel.service.LayoutLocalService layoutLocalService)