001
014
015 package com.liferay.portlet.journalcontent.util;
016
017 import com.liferay.portal.theme.ThemeDisplay;
018 import com.liferay.portlet.journal.model.JournalArticleDisplay;
019
020
023 public interface JournalContent {
024
025 public static final String ARTICLE_SEPARATOR = "_ARTICLE_";
026
027 public static final String LANGUAGE_SEPARATOR = "_LANGUAGE_";
028
029 public static final String LAYOUT_SET_SEPARATOR = "_LAYOUT_SET_";
030
031 public static final String PAGE_SEPARATOR = "_PAGE_";
032
033 public static final String SECURE_SEPARATOR = "_SECURE_";
034
035 public static final String TEMPLATE_SEPARATOR = "_TEMPLATE_";
036
037 public static final String VERSION_SEPARATOR = "_VERSION_";
038
039 public static final String VIEW_MODE_SEPARATOR = "_VIEW_MODE_";
040
041 public void clearCache();
042
043 public void clearCache(long groupId, String articleId, String templateId);
044
045 public String getContent(
046 long groupId, String articleId, String viewMode, String languageId,
047 String xmlRequest);
048
049 public String getContent(
050 long groupId, String articleId, String templateId, String viewMode,
051 String languageId, String xmlRequest);
052
053 public String getContent(
054 long groupId, String articleId, String templateId, String viewMode,
055 String languageId, ThemeDisplay themeDisplay);
056
057 public String getContent(
058 long groupId, String articleId, String templateId, String viewMode,
059 String languageId, ThemeDisplay themeDisplay, String xmlRequest);
060
061 public String getContent(
062 long groupId, String articleId, String viewMode, String languageId,
063 ThemeDisplay themeDisplay);
064
065 public JournalArticleDisplay getDisplay(
066 long groupId, String articleId, double version, String templateId,
067 String viewMode, String languageId, ThemeDisplay themeDisplay, int page,
068 String xmlRequest);
069
070 public JournalArticleDisplay getDisplay(
071 long groupId, String articleId, String viewMode, String languageId,
072 String xmlRequest);
073
074 public JournalArticleDisplay getDisplay(
075 long groupId, String articleId, String templateId, String viewMode,
076 String languageId, String xmlRequest);
077
078 public JournalArticleDisplay getDisplay(
079 long groupId, String articleId, String templateId, String viewMode,
080 String languageId, ThemeDisplay themeDisplay);
081
082 public JournalArticleDisplay getDisplay(
083 long groupId, String articleId, String templateId, String viewMode,
084 String languageId, ThemeDisplay themeDisplay, int page,
085 String xmlRequest);
086
087 public JournalArticleDisplay getDisplay(
088 long groupId, String articleId, String viewMode, String languageId,
089 ThemeDisplay themeDisplay);
090
091 public JournalArticleDisplay getDisplay(
092 long groupId, String articleId, String viewMode, String languageId,
093 ThemeDisplay themeDisplay, int page);
094
095 }