Liferay 6.0.5

com.liferay.portlet.journalcontent.util
Class JournalContentImpl

java.lang.Object
  extended by com.liferay.portlet.journalcontent.util.JournalContentImpl
All Implemented Interfaces:
JournalContent

public class JournalContentImpl
extends Object
implements JournalContent


Field Summary
protected static Pattern lifecycleRenderPhasePatern
           
protected static PortalCache portalCache
           
 
Fields inherited from interface com.liferay.portlet.journalcontent.util.JournalContent
ARTICLE_SEPARATOR, CACHE_NAME, LANGUAGE_SEPARATOR, LAYOUT_SET_SEPARATOR, PAGE_SEPARATOR, SECURE_SEPARATOR, TEMPLATE_SEPARATOR, VIEW_MODE_SEPARATOR
 
Constructor Summary
JournalContentImpl()
           
 
Method Summary
 void clearCache()
           
 void clearCache(long groupId, String articleId, String templateId)
           
protected  String encodeKey(long groupId, String articleId, String templateId, long layoutSetId, String viewMode, String languageId, int page, boolean secure)
           
protected  JournalArticleDisplay getArticleDisplay(long groupId, String articleId, String templateId, String viewMode, String languageId, int page, String xmlRequest, ThemeDisplay themeDisplay)
           
 String getContent(long groupId, String articleId, String viewMode, String languageId, String xmlRequest)
           
 String getContent(long groupId, String articleId, String templateId, String viewMode, String languageId, String xmlRequest)
           
 String getContent(long groupId, String articleId, String templateId, String viewMode, String languageId, ThemeDisplay themeDisplay)
           
 String getContent(long groupId, String articleId, String templateId, String viewMode, String languageId, ThemeDisplay themeDisplay, String xmlRequest)
           
 String getContent(long groupId, String articleId, String viewMode, String languageId, ThemeDisplay themeDisplay)
           
 JournalArticleDisplay getDisplay(long groupId, String articleId, String viewMode, String languageId, String xmlRequest)
           
 JournalArticleDisplay getDisplay(long groupId, String articleId, String templateId, String viewMode, String languageId, String xmlRequest)
           
 JournalArticleDisplay getDisplay(long groupId, String articleId, String templateId, String viewMode, String languageId, ThemeDisplay themeDisplay)
           
 JournalArticleDisplay getDisplay(long groupId, String articleId, String templateId, String viewMode, String languageId, ThemeDisplay themeDisplay, int page, String xmlRequest)
           
 JournalArticleDisplay getDisplay(long groupId, String articleId, String viewMode, String languageId, ThemeDisplay themeDisplay)
           
 JournalArticleDisplay getDisplay(long groupId, String articleId, String viewMode, String languageId, ThemeDisplay themeDisplay, int page)
           
protected  boolean isLifecycleRender(ThemeDisplay themeDisplay, String xmlRequest)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

lifecycleRenderPhasePatern

protected static Pattern lifecycleRenderPhasePatern

portalCache

protected static PortalCache portalCache
Constructor Detail

JournalContentImpl

public JournalContentImpl()
Method Detail

clearCache

public void clearCache()
Specified by:
clearCache in interface JournalContent

clearCache

public void clearCache(long groupId,
                       String articleId,
                       String templateId)
Specified by:
clearCache in interface JournalContent

getContent

public String getContent(long groupId,
                         String articleId,
                         String viewMode,
                         String languageId,
                         String xmlRequest)
Specified by:
getContent in interface JournalContent

getContent

public String getContent(long groupId,
                         String articleId,
                         String viewMode,
                         String languageId,
                         ThemeDisplay themeDisplay)
Specified by:
getContent in interface JournalContent

getContent

public String getContent(long groupId,
                         String articleId,
                         String templateId,
                         String viewMode,
                         String languageId,
                         String xmlRequest)
Specified by:
getContent in interface JournalContent

getContent

public String getContent(long groupId,
                         String articleId,
                         String templateId,
                         String viewMode,
                         String languageId,
                         ThemeDisplay themeDisplay)
Specified by:
getContent in interface JournalContent

getContent

public String getContent(long groupId,
                         String articleId,
                         String templateId,
                         String viewMode,
                         String languageId,
                         ThemeDisplay themeDisplay,
                         String xmlRequest)
Specified by:
getContent in interface JournalContent

getDisplay

public JournalArticleDisplay getDisplay(long groupId,
                                        String articleId,
                                        String viewMode,
                                        String languageId,
                                        String xmlRequest)
Specified by:
getDisplay in interface JournalContent

getDisplay

public JournalArticleDisplay getDisplay(long groupId,
                                        String articleId,
                                        String viewMode,
                                        String languageId,
                                        ThemeDisplay themeDisplay)
Specified by:
getDisplay in interface JournalContent

getDisplay

public JournalArticleDisplay getDisplay(long groupId,
                                        String articleId,
                                        String viewMode,
                                        String languageId,
                                        ThemeDisplay themeDisplay,
                                        int page)
Specified by:
getDisplay in interface JournalContent

getDisplay

public JournalArticleDisplay getDisplay(long groupId,
                                        String articleId,
                                        String templateId,
                                        String viewMode,
                                        String languageId,
                                        String xmlRequest)
Specified by:
getDisplay in interface JournalContent

getDisplay

public JournalArticleDisplay getDisplay(long groupId,
                                        String articleId,
                                        String templateId,
                                        String viewMode,
                                        String languageId,
                                        ThemeDisplay themeDisplay)
Specified by:
getDisplay in interface JournalContent

getDisplay

public JournalArticleDisplay getDisplay(long groupId,
                                        String articleId,
                                        String templateId,
                                        String viewMode,
                                        String languageId,
                                        ThemeDisplay themeDisplay,
                                        int page,
                                        String xmlRequest)
Specified by:
getDisplay in interface JournalContent

encodeKey

protected String encodeKey(long groupId,
                           String articleId,
                           String templateId,
                           long layoutSetId,
                           String viewMode,
                           String languageId,
                           int page,
                           boolean secure)

getArticleDisplay

protected JournalArticleDisplay getArticleDisplay(long groupId,
                                                  String articleId,
                                                  String templateId,
                                                  String viewMode,
                                                  String languageId,
                                                  int page,
                                                  String xmlRequest,
                                                  ThemeDisplay themeDisplay)

isLifecycleRender

protected boolean isLifecycleRender(ThemeDisplay themeDisplay,
                                    String xmlRequest)

Liferay 6.0.5