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 CACHE_NAME = JournalContent.class.getName();
026
027 public static final String ARTICLE_SEPARATOR = "_ARTICLE_";
028
029 public static final String LANGUAGE_SEPARATOR = "_LANGUAGE_";
030
031 public static final String LAYOUT_SET_SEPARATOR = "_LAYOUT_SET_";
032
033 public static final String PAGE_SEPARATOR = "_PAGE_";
034
035 public static final String SECURE_SEPARATOR = "_SECURE_";
036
037 public static final String TEMPLATE_SEPARATOR = "_TEMPLATE_";
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 viewMode, String languageId,
051 ThemeDisplay themeDisplay);
052
053 public String getContent(
054 long groupId, String articleId, String templateId, String viewMode,
055 String languageId, String xmlRequest);
056
057 public String getContent(
058 long groupId, String articleId, String templateId, String viewMode,
059 String languageId, ThemeDisplay themeDisplay);
060
061 public String getContent(
062 long groupId, String articleId, String templateId, String viewMode,
063 String languageId, ThemeDisplay themeDisplay, String xmlRequest);
064
065 public JournalArticleDisplay getDisplay(
066 long groupId, String articleId, String viewMode, String languageId,
067 String xmlRequest);
068
069 public JournalArticleDisplay getDisplay(
070 long groupId, String articleId, String viewMode, String languageId,
071 ThemeDisplay themeDisplay);
072
073 public JournalArticleDisplay getDisplay(
074 long groupId, String articleId, String viewMode, String languageId,
075 ThemeDisplay themeDisplay, int page);
076
077 public JournalArticleDisplay getDisplay(
078 long groupId, String articleId, String templateId, String viewMode,
079 String languageId, String xmlRequest);
080
081 public JournalArticleDisplay getDisplay(
082 long groupId, String articleId, String templateId, String viewMode,
083 String languageId, ThemeDisplay themeDisplay);
084
085 public JournalArticleDisplay getDisplay(
086 long groupId, String articleId, String templateId, String viewMode,
087 String languageId, ThemeDisplay themeDisplay, int page,
088 String xmlRequest);
089
090 }