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(
044 long groupId, String articleId, String ddmTemplateKey);
045
046 public String getContent(
047 long groupId, String articleId, String viewMode, String languageId,
048 String xmlRequest);
049
050 public String getContent(
051 long groupId, String articleId, String ddmTemplateKey, String viewMode,
052 String languageId, String xmlRequest);
053
054 public String getContent(
055 long groupId, String articleId, String ddmTemplateKey, String viewMode,
056 String languageId, ThemeDisplay themeDisplay);
057
058 public String getContent(
059 long groupId, String articleId, String ddmTemplateKey, String viewMode,
060 String languageId, ThemeDisplay themeDisplay, String xmlRequest);
061
062 public String getContent(
063 long groupId, String articleId, String viewMode, String languageId,
064 ThemeDisplay themeDisplay);
065
066 public JournalArticleDisplay getDisplay(
067 long groupId, String articleId, double version, String ddmTemplateKey,
068 String viewMode, String languageId, ThemeDisplay themeDisplay, int page,
069 String xmlRequest);
070
071 public JournalArticleDisplay getDisplay(
072 long groupId, String articleId, String viewMode, String languageId,
073 String xmlRequest);
074
075 public JournalArticleDisplay getDisplay(
076 long groupId, String articleId, String ddmTemplateKey, String viewMode,
077 String languageId, String xmlRequest);
078
079 public JournalArticleDisplay getDisplay(
080 long groupId, String articleId, String ddmTemplateKey, String viewMode,
081 String languageId, ThemeDisplay themeDisplay);
082
083 public JournalArticleDisplay getDisplay(
084 long groupId, String articleId, String ddmTemplateKey, String viewMode,
085 String languageId, ThemeDisplay themeDisplay, int page,
086 String xmlRequest);
087
088 public JournalArticleDisplay getDisplay(
089 long groupId, String articleId, String viewMode, String languageId,
090 ThemeDisplay themeDisplay);
091
092 public JournalArticleDisplay getDisplay(
093 long groupId, String articleId, String viewMode, String languageId,
094 ThemeDisplay themeDisplay, int page);
095
096 }