1   /**
2    * Copyright (c) 2000-2009 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 viewMode,
47          java.lang.String languageId, java.lang.String xmlRequest) {
48          return JournalContentUtil.getContent(groupId, articleId, viewMode,
49              languageId, xmlRequest);
50      }
51  
52      public java.lang.String getContent(long groupId,
53          java.lang.String articleId, java.lang.String viewMode,
54          java.lang.String languageId,
55          com.liferay.portal.theme.ThemeDisplay themeDisplay) {
56          return JournalContentUtil.getContent(groupId, articleId, viewMode,
57              languageId, themeDisplay);
58      }
59  
60      public java.lang.String getContent(long groupId,
61          java.lang.String articleId, java.lang.String templateId,
62          java.lang.String viewMode, java.lang.String languageId,
63          java.lang.String xmlRequest) {
64          return JournalContentUtil.getContent(groupId, articleId, templateId,
65              viewMode, languageId, xmlRequest);
66      }
67  
68      public java.lang.String getContent(long groupId,
69          java.lang.String articleId, java.lang.String templateId,
70          java.lang.String viewMode, java.lang.String languageId,
71          com.liferay.portal.theme.ThemeDisplay themeDisplay) {
72          return JournalContentUtil.getContent(groupId, articleId, templateId,
73              viewMode, languageId, themeDisplay);
74      }
75  
76      public java.lang.String getContent(long groupId,
77          java.lang.String articleId, java.lang.String templateId,
78          java.lang.String viewMode, java.lang.String languageId,
79          com.liferay.portal.theme.ThemeDisplay themeDisplay,
80          java.lang.String xmlRequest) {
81          return JournalContentUtil.getContent(groupId, articleId, templateId,
82              viewMode, languageId, themeDisplay, xmlRequest);
83      }
84  
85      public com.liferay.portlet.journal.model.JournalArticleDisplay getDisplay(
86          long groupId, java.lang.String articleId, java.lang.String viewMode,
87          java.lang.String languageId, java.lang.String xmlRequest) {
88          return JournalContentUtil.getDisplay(groupId, articleId, viewMode,
89              languageId, xmlRequest);
90      }
91  
92      public com.liferay.portlet.journal.model.JournalArticleDisplay getDisplay(
93          long groupId, java.lang.String articleId, java.lang.String viewMode,
94          java.lang.String languageId,
95          com.liferay.portal.theme.ThemeDisplay themeDisplay) {
96          return JournalContentUtil.getDisplay(groupId, articleId, viewMode,
97              languageId, themeDisplay);
98      }
99  
100     public com.liferay.portlet.journal.model.JournalArticleDisplay getDisplay(
101         long groupId, java.lang.String articleId, java.lang.String viewMode,
102         java.lang.String languageId,
103         com.liferay.portal.theme.ThemeDisplay themeDisplay, int page) {
104         return JournalContentUtil.getDisplay(groupId, articleId, viewMode,
105             languageId, themeDisplay, page);
106     }
107 
108     public com.liferay.portlet.journal.model.JournalArticleDisplay getDisplay(
109         long groupId, java.lang.String articleId, java.lang.String templateId,
110         java.lang.String viewMode, java.lang.String languageId,
111         java.lang.String xmlRequest) {
112         return JournalContentUtil.getDisplay(groupId, articleId, templateId,
113             viewMode, languageId, xmlRequest);
114     }
115 
116     public com.liferay.portlet.journal.model.JournalArticleDisplay getDisplay(
117         long groupId, java.lang.String articleId, java.lang.String templateId,
118         java.lang.String viewMode, java.lang.String languageId,
119         com.liferay.portal.theme.ThemeDisplay themeDisplay) {
120         return JournalContentUtil.getDisplay(groupId, articleId, templateId,
121             viewMode, languageId, themeDisplay);
122     }
123 
124     public com.liferay.portlet.journal.model.JournalArticleDisplay getDisplay(
125         long groupId, java.lang.String articleId, java.lang.String templateId,
126         java.lang.String viewMode, java.lang.String languageId,
127         com.liferay.portal.theme.ThemeDisplay themeDisplay, int page,
128         java.lang.String xmlRequest) {
129         return JournalContentUtil.getDisplay(groupId, articleId, templateId,
130             viewMode, languageId, themeDisplay, page, xmlRequest);
131     }
132 
133     private JournalContentUtil_IW() {
134     }
135 
136     private static JournalContentUtil_IW _instance = new JournalContentUtil_IW();
137 }