1   /**
2    * Copyright (c) 2000-2008 Liferay, Inc. All rights reserved.
3    *
4    * Permission is hereby granted, free of charge, to any person obtaining a copy
5    * of this software and associated documentation files (the "Software"), to deal
6    * in the Software without restriction, including without limitation the rights
7    * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
8    * copies of the Software, and to permit persons to whom the Software is
9    * furnished to do so, subject to the following conditions:
10   *
11   * The above copyright notice and this permission notice shall be included in
12   * all copies or substantial portions of the Software.
13   *
14   * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15   * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16   * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
17   * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
18   * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
19   * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
20   * SOFTWARE.
21   */
22  
23  package com.liferay.portlet.journalcontent.util;
24  
25  /**
26   * <a href="JournalContentUtil_IW.java.html"><b><i>View Source</i></b></a>
27   *
28   * @author Brian Wing Shun Chan
29   *
30   */
31  public class JournalContentUtil_IW {
32      public static JournalContentUtil_IW getInstance() {
33          return _instance;
34      }
35  
36      public void clearCache() {
37          JournalContentUtil.clearCache();
38      }
39  
40      public void clearCache(long groupId, java.lang.String articleId,
41          java.lang.String templateId) {
42          JournalContentUtil.clearCache(groupId, articleId, templateId);
43      }
44  
45      public java.lang.String getContent(long groupId,
46          java.lang.String articleId, java.lang.String languageId,
47          java.lang.String xmlRequest) {
48          return JournalContentUtil.getContent(groupId, articleId, languageId,
49              xmlRequest);
50      }
51  
52      public java.lang.String getContent(long groupId,
53          java.lang.String articleId, java.lang.String languageId,
54          com.liferay.portal.theme.ThemeDisplay themeDisplay) {
55          return JournalContentUtil.getContent(groupId, articleId, languageId,
56              themeDisplay);
57      }
58  
59      public java.lang.String getContent(long groupId,
60          java.lang.String articleId, java.lang.String templateId,
61          java.lang.String languageId, java.lang.String xmlRequest) {
62          return JournalContentUtil.getContent(groupId, articleId, templateId,
63              languageId, xmlRequest);
64      }
65  
66      public java.lang.String getContent(long groupId,
67          java.lang.String articleId, java.lang.String templateId,
68          java.lang.String languageId,
69          com.liferay.portal.theme.ThemeDisplay themeDisplay) {
70          return JournalContentUtil.getContent(groupId, articleId, templateId,
71              languageId, themeDisplay);
72      }
73  
74      public java.lang.String getContent(long groupId,
75          java.lang.String articleId, java.lang.String templateId,
76          java.lang.String languageId,
77          com.liferay.portal.theme.ThemeDisplay themeDisplay,
78          java.lang.String xmlRequest) {
79          return JournalContentUtil.getContent(groupId, articleId, templateId,
80              languageId, themeDisplay, xmlRequest);
81      }
82  
83      public com.liferay.portlet.journal.model.JournalArticleDisplay getDisplay(
84          long groupId, java.lang.String articleId, java.lang.String languageId,
85          java.lang.String xmlRequest) {
86          return JournalContentUtil.getDisplay(groupId, articleId, languageId,
87              xmlRequest);
88      }
89  
90      public com.liferay.portlet.journal.model.JournalArticleDisplay getDisplay(
91          long groupId, java.lang.String articleId, java.lang.String languageId,
92          com.liferay.portal.theme.ThemeDisplay themeDisplay) {
93          return JournalContentUtil.getDisplay(groupId, articleId, languageId,
94              themeDisplay);
95      }
96  
97      public com.liferay.portlet.journal.model.JournalArticleDisplay getDisplay(
98          long groupId, java.lang.String articleId, java.lang.String templateId,
99          java.lang.String languageId, java.lang.String xmlRequest) {
100         return JournalContentUtil.getDisplay(groupId, articleId, templateId,
101             languageId, xmlRequest);
102     }
103 
104     public com.liferay.portlet.journal.model.JournalArticleDisplay getDisplay(
105         long groupId, java.lang.String articleId, java.lang.String templateId,
106         java.lang.String languageId,
107         com.liferay.portal.theme.ThemeDisplay themeDisplay) {
108         return JournalContentUtil.getDisplay(groupId, articleId, templateId,
109             languageId, themeDisplay);
110     }
111 
112     public com.liferay.portlet.journal.model.JournalArticleDisplay getDisplay(
113         long groupId, java.lang.String articleId, java.lang.String templateId,
114         java.lang.String languageId,
115         com.liferay.portal.theme.ThemeDisplay themeDisplay, int page,
116         java.lang.String xmlRequest) {
117         return JournalContentUtil.getDisplay(groupId, articleId, templateId,
118             languageId, themeDisplay, page, xmlRequest);
119     }
120 
121     private JournalContentUtil_IW() {
122     }
123 
124     private static JournalContentUtil_IW _instance = new JournalContentUtil_IW();
125 }