001
014
015 package com.liferay.portlet.journal.util;
016
017 import com.liferay.portal.kernel.portlet.PortletRequestModel;
018 import com.liferay.portal.theme.ThemeDisplay;
019 import com.liferay.portlet.journal.model.JournalArticleDisplay;
020
021
024 public interface JournalContent {
025
026 public void clearCache();
027
028 public void clearCache(
029 long groupId, String articleId, String ddmTemplateKey);
030
031 public String getContent(
032 long groupId, String articleId, String viewMode, String languageId,
033 PortletRequestModel portletRequestModel);
034
035 public String getContent(
036 long groupId, String articleId, String ddmTemplateKey, String viewMode,
037 String languageId, PortletRequestModel portletRequestModel);
038
039 public String getContent(
040 long groupId, String articleId, String ddmTemplateKey, String viewMode,
041 String languageId, PortletRequestModel portletRequestModel,
042 ThemeDisplay themeDisplay);
043
044 public String getContent(
045 long groupId, String articleId, String ddmTemplateKey, String viewMode,
046 String languageId, ThemeDisplay themeDisplay);
047
048 public String getContent(
049 long groupId, String articleId, String viewMode, String languageId,
050 ThemeDisplay themeDisplay);
051
052 public JournalArticleDisplay getDisplay(
053 long groupId, String articleId, double version, String ddmTemplateKey,
054 String viewMode, String languageId, int page,
055 PortletRequestModel portletRequestModel, ThemeDisplay themeDisplay);
056
057 public JournalArticleDisplay getDisplay(
058 long groupId, String articleId, String viewMode, String languageId,
059 int page, ThemeDisplay themeDisplay);
060
061 public JournalArticleDisplay getDisplay(
062 long groupId, String articleId, String viewMode, String languageId,
063 PortletRequestModel portletRequestModel);
064
065 public JournalArticleDisplay getDisplay(
066 long groupId, String articleId, String ddmTemplateKey, String viewMode,
067 String languageId, int page, PortletRequestModel portletRequestModel,
068 ThemeDisplay themeDisplay);
069
070 public JournalArticleDisplay getDisplay(
071 long groupId, String articleId, String ddmTemplateKey, String viewMode,
072 String languageId, PortletRequestModel portletRequestModel);
073
074 public JournalArticleDisplay getDisplay(
075 long groupId, String articleId, String ddmTemplateKey, String viewMode,
076 String languageId, ThemeDisplay themeDisplay);
077
078 public JournalArticleDisplay getDisplay(
079 long groupId, String articleId, String viewMode, String languageId,
080 ThemeDisplay themeDisplay);
081
082 }