1   /**
2    * Copyright (c) 2000-2007 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.portal.util;
24  
25  /**
26   * <a href="PortalUtil_IW.java.html"><b><i>View Source</i></b></a>
27   *
28   * @author Brian Wing Shun Chan
29   *
30   */
31  public class PortalUtil_IW {
32      public static PortalUtil_IW getInstance() {
33          return _instance;
34      }
35  
36      public void clearRequestParameters(javax.portlet.RenderRequest req) {
37          PortalUtil.clearRequestParameters(req);
38      }
39  
40      public void copyRequestParameters(javax.portlet.ActionRequest req,
41          javax.portlet.ActionResponse res) {
42          PortalUtil.copyRequestParameters(req, res);
43      }
44  
45      public java.lang.String createSecureProxyURL(java.lang.String url,
46          java.security.Key key, boolean secure) {
47          return PortalUtil.createSecureProxyURL(url, key, secure);
48      }
49  
50      public java.lang.String getCDNHost() {
51          return PortalUtil.getCDNHost();
52      }
53  
54      public java.lang.String getClassName(long classNameId) {
55          return PortalUtil.getClassName(classNameId);
56      }
57  
58      public long getClassNameId(java.lang.Class classObj) {
59          return PortalUtil.getClassNameId(classObj);
60      }
61  
62      public long getClassNameId(java.lang.String value) {
63          return PortalUtil.getClassNameId(value);
64      }
65  
66      public java.lang.String getClassNamePortletId(java.lang.String className) {
67          return PortalUtil.getClassNamePortletId(className);
68      }
69  
70      public com.liferay.portal.model.Company getCompany(
71          javax.servlet.http.HttpServletRequest req)
72          throws com.liferay.portal.SystemException, 
73              com.liferay.portal.PortalException {
74          return PortalUtil.getCompany(req);
75      }
76  
77      public com.liferay.portal.model.Company getCompany(
78          javax.portlet.ActionRequest req)
79          throws com.liferay.portal.SystemException, 
80              com.liferay.portal.PortalException {
81          return PortalUtil.getCompany(req);
82      }
83  
84      public com.liferay.portal.model.Company getCompany(
85          javax.portlet.RenderRequest req)
86          throws com.liferay.portal.SystemException, 
87              com.liferay.portal.PortalException {
88          return PortalUtil.getCompany(req);
89      }
90  
91      public long getCompanyId(javax.servlet.http.HttpServletRequest req) {
92          return PortalUtil.getCompanyId(req);
93      }
94  
95      public long getCompanyId(javax.portlet.ActionRequest req) {
96          return PortalUtil.getCompanyId(req);
97      }
98  
99      public long getCompanyId(javax.portlet.PortletRequest req) {
100         return PortalUtil.getCompanyId(req);
101     }
102 
103     public long getCompanyId(javax.portlet.RenderRequest req) {
104         return PortalUtil.getCompanyId(req);
105     }
106 
107     public long getCompanyIdByWebId(javax.servlet.ServletContext ctx) {
108         return PortalUtil.getCompanyIdByWebId(ctx);
109     }
110 
111     public long getCompanyIdByWebId(java.lang.String webId) {
112         return PortalUtil.getCompanyIdByWebId(webId);
113     }
114 
115     public java.lang.String getCurrentURL(
116         javax.servlet.http.HttpServletRequest req) {
117         return PortalUtil.getCurrentURL(req);
118     }
119 
120     public java.util.Date getDate(int month, int day, int year,
121         com.liferay.portal.PortalException pe)
122         throws com.liferay.portal.PortalException {
123         return PortalUtil.getDate(month, day, year, pe);
124     }
125 
126     public java.util.Date getDate(int month, int day, int year,
127         java.util.TimeZone timeZone, com.liferay.portal.PortalException pe)
128         throws com.liferay.portal.PortalException {
129         return PortalUtil.getDate(month, day, year, timeZone, pe);
130     }
131 
132     public java.util.Date getDate(int month, int day, int year, int hour,
133         int min, com.liferay.portal.PortalException pe)
134         throws com.liferay.portal.PortalException {
135         return PortalUtil.getDate(month, day, year, hour, min, pe);
136     }
137 
138     public java.util.Date getDate(int month, int day, int year, int hour,
139         int min, java.util.TimeZone timeZone,
140         com.liferay.portal.PortalException pe)
141         throws com.liferay.portal.PortalException {
142         return PortalUtil.getDate(month, day, year, hour, min, timeZone, pe);
143     }
144 
145     public java.lang.String getHost(javax.servlet.http.HttpServletRequest req) {
146         return PortalUtil.getHost(req);
147     }
148 
149     public java.lang.String getHost(javax.portlet.ActionRequest req) {
150         return PortalUtil.getHost(req);
151     }
152 
153     public java.lang.String getHost(javax.portlet.RenderRequest req) {
154         return PortalUtil.getHost(req);
155     }
156 
157     public javax.servlet.http.HttpServletRequest getHttpServletRequest(
158         javax.portlet.PortletRequest req) {
159         return PortalUtil.getHttpServletRequest(req);
160     }
161 
162     public javax.servlet.http.HttpServletResponse getHttpServletResponse(
163         javax.portlet.PortletResponse res) {
164         return PortalUtil.getHttpServletResponse(res);
165     }
166 
167     public java.lang.String getLayoutEditPage(
168         com.liferay.portal.model.Layout layout) {
169         return PortalUtil.getLayoutEditPage(layout);
170     }
171 
172     public java.lang.String getLayoutViewPage(
173         com.liferay.portal.model.Layout layout) {
174         return PortalUtil.getLayoutViewPage(layout);
175     }
176 
177     public java.lang.String getLayoutURL(
178         com.liferay.portal.theme.ThemeDisplay themeDisplay)
179         throws com.liferay.portal.SystemException, 
180             com.liferay.portal.PortalException {
181         return PortalUtil.getLayoutURL(themeDisplay);
182     }
183 
184     public java.lang.String getLayoutURL(
185         com.liferay.portal.model.Layout layout,
186         com.liferay.portal.theme.ThemeDisplay themeDisplay)
187         throws com.liferay.portal.SystemException, 
188             com.liferay.portal.PortalException {
189         return PortalUtil.getLayoutURL(layout, themeDisplay);
190     }
191 
192     public java.lang.String getLayoutURL(
193         com.liferay.portal.model.Layout layout,
194         com.liferay.portal.theme.ThemeDisplay themeDisplay, boolean doAsUser)
195         throws com.liferay.portal.SystemException, 
196             com.liferay.portal.PortalException {
197         return PortalUtil.getLayoutURL(layout, themeDisplay, doAsUser);
198     }
199 
200     public java.lang.String getLayoutActualURL(
201         com.liferay.portal.model.Layout layout)
202         throws com.liferay.portal.SystemException, 
203             com.liferay.portal.PortalException {
204         return PortalUtil.getLayoutActualURL(layout);
205     }
206 
207     public java.lang.String getLayoutActualURL(
208         com.liferay.portal.model.Layout layout, java.lang.String mainPath)
209         throws com.liferay.portal.SystemException, 
210             com.liferay.portal.PortalException {
211         return PortalUtil.getLayoutActualURL(layout, mainPath);
212     }
213 
214     public java.lang.String getLayoutActualURL(long groupId,
215         boolean privateLayout, java.lang.String mainPath,
216         java.lang.String friendlyURL)
217         throws com.liferay.portal.SystemException, 
218             com.liferay.portal.PortalException {
219         return PortalUtil.getLayoutActualURL(groupId, privateLayout, mainPath,
220             friendlyURL);
221     }
222 
223     public java.lang.String getLayoutActualURL(long groupId,
224         boolean privateLayout, java.lang.String mainPath,
225         java.lang.String friendlyURL, java.util.Map params)
226         throws com.liferay.portal.SystemException, 
227             com.liferay.portal.PortalException {
228         return PortalUtil.getLayoutActualURL(groupId, privateLayout, mainPath,
229             friendlyURL, params);
230     }
231 
232     public java.lang.String getLayoutFriendlyURL(
233         com.liferay.portal.model.Layout layout,
234         com.liferay.portal.theme.ThemeDisplay themeDisplay)
235         throws com.liferay.portal.SystemException, 
236             com.liferay.portal.PortalException {
237         return PortalUtil.getLayoutFriendlyURL(layout, themeDisplay);
238     }
239 
240     public java.lang.String getLayoutTarget(
241         com.liferay.portal.model.Layout layout) {
242         return PortalUtil.getLayoutTarget(layout);
243     }
244 
245     public java.lang.String getJsSafePortletId(java.lang.String portletId) {
246         return PortalUtil.getJsSafePortletId(portletId);
247     }
248 
249     public java.lang.String getJsSafePortletName(java.lang.String portletName) {
250         return PortalUtil.getJsSafePortletName(portletName);
251     }
252 
253     public java.util.Locale getLocale(javax.servlet.http.HttpServletRequest req) {
254         return PortalUtil.getLocale(req);
255     }
256 
257     public java.util.Locale getLocale(javax.portlet.RenderRequest req) {
258         return PortalUtil.getLocale(req);
259     }
260 
261     public javax.servlet.http.HttpServletRequest getOriginalServletRequest(
262         javax.servlet.http.HttpServletRequest req) {
263         return PortalUtil.getOriginalServletRequest(req);
264     }
265 
266     public java.lang.String getPathContext() {
267         return PortalUtil.getPathContext();
268     }
269 
270     public java.lang.String getPathFriendlyURLPrivateGroup() {
271         return PortalUtil.getPathFriendlyURLPrivateGroup();
272     }
273 
274     public java.lang.String getPathFriendlyURLPrivateUser() {
275         return PortalUtil.getPathFriendlyURLPrivateUser();
276     }
277 
278     public java.lang.String getPathFriendlyURLPublic() {
279         return PortalUtil.getPathFriendlyURLPublic();
280     }
281 
282     public java.lang.String getPathImage() {
283         return PortalUtil.getPathImage();
284     }
285 
286     public java.lang.String getPathMain() {
287         return PortalUtil.getPathMain();
288     }
289 
290     public java.lang.String getPortalLibDir() {
291         return PortalUtil.getPortalLibDir();
292     }
293 
294     public java.lang.String getPortalURL(
295         com.liferay.portal.theme.ThemeDisplay themeDisplay) {
296         return PortalUtil.getPortalURL(themeDisplay);
297     }
298 
299     public java.lang.String getPortalURL(
300         javax.servlet.http.HttpServletRequest req) {
301         return PortalUtil.getPortalURL(req);
302     }
303 
304     public java.lang.String getPortalURL(
305         javax.servlet.http.HttpServletRequest req, boolean secure) {
306         return PortalUtil.getPortalURL(req, secure);
307     }
308 
309     public java.lang.String getPortalURL(javax.portlet.PortletRequest req) {
310         return PortalUtil.getPortalURL(req);
311     }
312 
313     public java.lang.String getPortalURL(javax.portlet.PortletRequest req,
314         boolean secure) {
315         return PortalUtil.getPortalURL(req, secure);
316     }
317 
318     public java.lang.String getPortalURL(java.lang.String serverName,
319         int serverPort, boolean secure) {
320         return PortalUtil.getPortalURL(serverName, serverPort, secure);
321     }
322 
323     public java.lang.Object[] getPortletFriendlyURLMapper(long groupId,
324         boolean privateLayout, java.lang.String url)
325         throws com.liferay.portal.SystemException, 
326             com.liferay.portal.PortalException {
327         return PortalUtil.getPortletFriendlyURLMapper(groupId, privateLayout,
328             url);
329     }
330 
331     public java.lang.Object[] getPortletFriendlyURLMapper(long groupId,
332         boolean privateLayout, java.lang.String url, java.util.Map params)
333         throws com.liferay.portal.SystemException, 
334             com.liferay.portal.PortalException {
335         return PortalUtil.getPortletFriendlyURLMapper(groupId, privateLayout,
336             url, params);
337     }
338 
339     public long getPortletGroupId(long plid) {
340         return PortalUtil.getPortletGroupId(plid);
341     }
342 
343     public long getPortletGroupId(com.liferay.portal.model.Layout layout) {
344         return PortalUtil.getPortletGroupId(layout);
345     }
346 
347     public long getPortletGroupId(javax.servlet.http.HttpServletRequest req) {
348         return PortalUtil.getPortletGroupId(req);
349     }
350 
351     public long getPortletGroupId(javax.portlet.ActionRequest req) {
352         return PortalUtil.getPortletGroupId(req);
353     }
354 
355     public long getPortletGroupId(javax.portlet.RenderRequest req) {
356         return PortalUtil.getPortletGroupId(req);
357     }
358 
359     public java.lang.String getPortletNamespace(java.lang.String portletId) {
360         return PortalUtil.getPortletNamespace(portletId);
361     }
362 
363     public java.lang.String getPortletXmlFileName()
364         throws com.liferay.portal.SystemException, 
365             com.liferay.portal.PortalException {
366         return PortalUtil.getPortletXmlFileName();
367     }
368 
369     public java.lang.String getPortletTitle(java.lang.String portletId,
370         long companyId, java.lang.String languageId) {
371         return PortalUtil.getPortletTitle(portletId, companyId, languageId);
372     }
373 
374     public java.lang.String getPortletTitle(java.lang.String portletId,
375         com.liferay.portal.model.User user) {
376         return PortalUtil.getPortletTitle(portletId, user);
377     }
378 
379     public java.lang.String getPortletTitle(
380         com.liferay.portal.model.Portlet portlet,
381         javax.servlet.ServletContext ctx, java.util.Locale locale) {
382         return PortalUtil.getPortletTitle(portlet, ctx, locale);
383     }
384 
385     public javax.portlet.PortletPreferences getPreferences(
386         javax.servlet.http.HttpServletRequest req) {
387         return PortalUtil.getPreferences(req);
388     }
389 
390     public javax.portlet.PreferencesValidator getPreferencesValidator(
391         com.liferay.portal.model.Portlet portlet) {
392         return PortalUtil.getPreferencesValidator(portlet);
393     }
394 
395     public com.liferay.portal.model.User getSelectedUser(
396         javax.servlet.http.HttpServletRequest req)
397         throws com.liferay.portal.SystemException, 
398             com.liferay.portal.PortalException, java.rmi.RemoteException {
399         return PortalUtil.getSelectedUser(req);
400     }
401 
402     public com.liferay.portal.model.User getSelectedUser(
403         javax.servlet.http.HttpServletRequest req, boolean checkPermission)
404         throws com.liferay.portal.SystemException, 
405             com.liferay.portal.PortalException, java.rmi.RemoteException {
406         return PortalUtil.getSelectedUser(req, checkPermission);
407     }
408 
409     public com.liferay.portal.model.User getSelectedUser(
410         javax.portlet.ActionRequest req)
411         throws com.liferay.portal.SystemException, 
412             com.liferay.portal.PortalException, java.rmi.RemoteException {
413         return PortalUtil.getSelectedUser(req);
414     }
415 
416     public com.liferay.portal.model.User getSelectedUser(
417         javax.portlet.ActionRequest req, boolean checkPermission)
418         throws com.liferay.portal.SystemException, 
419             com.liferay.portal.PortalException, java.rmi.RemoteException {
420         return PortalUtil.getSelectedUser(req, checkPermission);
421     }
422 
423     public com.liferay.portal.model.User getSelectedUser(
424         javax.portlet.RenderRequest req)
425         throws com.liferay.portal.SystemException, 
426             com.liferay.portal.PortalException, java.rmi.RemoteException {
427         return PortalUtil.getSelectedUser(req);
428     }
429 
430     public com.liferay.portal.model.User getSelectedUser(
431         javax.portlet.RenderRequest req, boolean checkPermission)
432         throws com.liferay.portal.SystemException, 
433             com.liferay.portal.PortalException, java.rmi.RemoteException {
434         return PortalUtil.getSelectedUser(req, checkPermission);
435     }
436 
437     public java.lang.String[] getSystemCommunityRoles() {
438         return PortalUtil.getSystemCommunityRoles();
439     }
440 
441     public java.lang.String[] getSystemGroups() {
442         return PortalUtil.getSystemGroups();
443     }
444 
445     public java.lang.String[] getSystemRoles() {
446         return PortalUtil.getSystemRoles();
447     }
448 
449     public com.liferay.util.servlet.UploadPortletRequest getUploadPortletRequest(
450         javax.portlet.ActionRequest req) {
451         return PortalUtil.getUploadPortletRequest(req);
452     }
453 
454     public com.liferay.util.servlet.UploadServletRequest getUploadServletRequest(
455         javax.servlet.http.HttpServletRequest httpReq) {
456         return PortalUtil.getUploadServletRequest(httpReq);
457     }
458 
459     public java.util.Date getUptime() {
460         return PortalUtil.getUptime();
461     }
462 
463     public com.liferay.portal.model.User getUser(
464         javax.servlet.http.HttpServletRequest req)
465         throws com.liferay.portal.SystemException, 
466             com.liferay.portal.PortalException {
467         return PortalUtil.getUser(req);
468     }
469 
470     public com.liferay.portal.model.User getUser(
471         javax.portlet.ActionRequest req)
472         throws com.liferay.portal.SystemException, 
473             com.liferay.portal.PortalException {
474         return PortalUtil.getUser(req);
475     }
476 
477     public com.liferay.portal.model.User getUser(
478         javax.portlet.RenderRequest req)
479         throws com.liferay.portal.SystemException, 
480             com.liferay.portal.PortalException {
481         return PortalUtil.getUser(req);
482     }
483 
484     public long getUserId(javax.servlet.http.HttpServletRequest req) {
485         return PortalUtil.getUserId(req);
486     }
487 
488     public long getUserId(javax.portlet.ActionRequest req) {
489         return PortalUtil.getUserId(req);
490     }
491 
492     public long getUserId(javax.portlet.RenderRequest req) {
493         return PortalUtil.getUserId(req);
494     }
495 
496     public java.lang.String getUserName(long userId,
497         java.lang.String defaultUserName) {
498         return PortalUtil.getUserName(userId, defaultUserName);
499     }
500 
501     public java.lang.String getUserName(long userId,
502         java.lang.String defaultUserName, java.lang.String userAttribute) {
503         return PortalUtil.getUserName(userId, defaultUserName, userAttribute);
504     }
505 
506     public java.lang.String getUserName(long userId,
507         java.lang.String defaultUserName,
508         javax.servlet.http.HttpServletRequest req) {
509         return PortalUtil.getUserName(userId, defaultUserName, req);
510     }
511 
512     public java.lang.String getUserName(long userId,
513         java.lang.String defaultUserName, java.lang.String userAttribute,
514         javax.servlet.http.HttpServletRequest req) {
515         return PortalUtil.getUserName(userId, defaultUserName, userAttribute,
516             req);
517     }
518 
519     public java.lang.String getUserPassword(javax.servlet.http.HttpSession ses) {
520         return PortalUtil.getUserPassword(ses);
521     }
522 
523     public java.lang.String getUserPassword(
524         javax.servlet.http.HttpServletRequest req) {
525         return PortalUtil.getUserPassword(req);
526     }
527 
528     public java.lang.String getUserPassword(javax.portlet.ActionRequest req) {
529         return PortalUtil.getUserPassword(req);
530     }
531 
532     public java.lang.String getUserPassword(javax.portlet.RenderRequest req) {
533         return PortalUtil.getUserPassword(req);
534     }
535 
536     public boolean isLayoutFriendliable(com.liferay.portal.model.Layout layout) {
537         return PortalUtil.isLayoutFriendliable(layout);
538     }
539 
540     public boolean isLayoutParentable(com.liferay.portal.model.Layout layout) {
541         return PortalUtil.isLayoutParentable(layout);
542     }
543 
544     public boolean isLayoutParentable(java.lang.String type) {
545         return PortalUtil.isLayoutParentable(type);
546     }
547 
548     public boolean isLayoutSitemapable(com.liferay.portal.model.Layout layout) {
549         return PortalUtil.isLayoutSitemapable(layout);
550     }
551 
552     public boolean isReservedParameter(java.lang.String name) {
553         return PortalUtil.isReservedParameter(name);
554     }
555 
556     public boolean isSystemGroup(java.lang.String groupName) {
557         return PortalUtil.isSystemGroup(groupName);
558     }
559 
560     public boolean isSystemRole(java.lang.String roleName) {
561         return PortalUtil.isSystemRole(roleName);
562     }
563 
564     public boolean isUpdateAvailable()
565         throws com.liferay.portal.SystemException, 
566             com.liferay.portal.PortalException {
567         return PortalUtil.isUpdateAvailable();
568     }
569 
570     public org.dom4j.Document readDocumentFromFile(java.io.File file)
571         throws org.dom4j.DocumentException {
572         return PortalUtil.readDocumentFromFile(file);
573     }
574 
575     public org.dom4j.Document readDocumentFromFile(java.io.File file,
576         boolean validate) throws org.dom4j.DocumentException {
577         return PortalUtil.readDocumentFromFile(file, validate);
578     }
579 
580     public org.dom4j.Document readDocumentFromStream(java.io.InputStream is)
581         throws org.dom4j.DocumentException {
582         return PortalUtil.readDocumentFromStream(is);
583     }
584 
585     public org.dom4j.Document readDocumentFromStream(java.io.InputStream is,
586         boolean validate) throws org.dom4j.DocumentException {
587         return PortalUtil.readDocumentFromStream(is, validate);
588     }
589 
590     public org.dom4j.Document readDocumentFromURL(java.lang.String url)
591         throws org.dom4j.DocumentException, java.io.IOException {
592         return PortalUtil.readDocumentFromURL(url);
593     }
594 
595     public org.dom4j.Document readDocumentFromURL(java.lang.String url,
596         boolean validate)
597         throws org.dom4j.DocumentException, java.io.IOException {
598         return PortalUtil.readDocumentFromURL(url, validate);
599     }
600 
601     public org.dom4j.Document readDocumentFromXML(java.lang.String xml)
602         throws org.dom4j.DocumentException {
603         return PortalUtil.readDocumentFromXML(xml);
604     }
605 
606     public org.dom4j.Document readDocumentFromXML(java.lang.String xml,
607         boolean validate) throws org.dom4j.DocumentException {
608         return PortalUtil.readDocumentFromXML(xml, validate);
609     }
610 
611     public void renderPage(com.liferay.portal.kernel.util.StringMaker sm,
612         javax.servlet.ServletContext ctx,
613         javax.servlet.http.HttpServletRequest req,
614         javax.servlet.http.HttpServletResponse res, java.lang.String path)
615         throws java.io.IOException, javax.servlet.ServletException {
616         PortalUtil.renderPage(sm, ctx, req, res, path);
617     }
618 
619     public void renderPortlet(com.liferay.portal.kernel.util.StringMaker sm,
620         javax.servlet.ServletContext ctx,
621         javax.servlet.http.HttpServletRequest req,
622         javax.servlet.http.HttpServletResponse res,
623         com.liferay.portal.model.Portlet portlet, java.lang.String queryString)
624         throws java.io.IOException, javax.servlet.ServletException {
625         PortalUtil.renderPortlet(sm, ctx, req, res, portlet, queryString);
626     }
627 
628     public void renderPortlet(com.liferay.portal.kernel.util.StringMaker sm,
629         javax.servlet.ServletContext ctx,
630         javax.servlet.http.HttpServletRequest req,
631         javax.servlet.http.HttpServletResponse res,
632         com.liferay.portal.model.Portlet portlet, java.lang.String queryString,
633         java.lang.String columnId, java.lang.Integer columnPos,
634         java.lang.Integer columnCount)
635         throws java.io.IOException, javax.servlet.ServletException {
636         PortalUtil.renderPortlet(sm, ctx, req, res, portlet, queryString,
637             columnId, columnPos, columnCount);
638     }
639 
640     public void renderPortlet(com.liferay.portal.kernel.util.StringMaker sm,
641         javax.servlet.ServletContext ctx,
642         javax.servlet.http.HttpServletRequest req,
643         javax.servlet.http.HttpServletResponse res,
644         com.liferay.portal.model.Portlet portlet, java.lang.String queryString,
645         java.lang.String columnId, java.lang.Integer columnPos,
646         java.lang.Integer columnCount, java.lang.String path)
647         throws java.io.IOException, javax.servlet.ServletException {
648         PortalUtil.renderPortlet(sm, ctx, req, res, portlet, queryString,
649             columnId, columnPos, columnCount, path);
650     }
651 
652     public void setPageSubtitle(java.lang.String subtitle,
653         javax.servlet.http.HttpServletRequest req) {
654         PortalUtil.setPageSubtitle(subtitle, req);
655     }
656 
657     public void setPageTitle(java.lang.String title,
658         javax.servlet.http.HttpServletRequest req) {
659         PortalUtil.setPageTitle(title, req);
660     }
661 
662     public void storePreferences(javax.portlet.PortletPreferences prefs)
663         throws java.io.IOException, javax.portlet.ValidatorException {
664         PortalUtil.storePreferences(prefs);
665     }
666 
667     public javax.portlet.PortletMode updatePortletMode(
668         java.lang.String portletId, com.liferay.portal.model.User user,
669         com.liferay.portal.model.Layout layout,
670         javax.portlet.PortletMode portletMode,
671         javax.servlet.http.HttpServletRequest req)
672         throws com.liferay.portal.SystemException, 
673             com.liferay.portal.PortalException, java.rmi.RemoteException {
674         return PortalUtil.updatePortletMode(portletId, user, layout,
675             portletMode, req);
676     }
677 
678     public javax.portlet.WindowState updateWindowState(
679         java.lang.String portletId, com.liferay.portal.model.User user,
680         com.liferay.portal.model.Layout layout,
681         javax.portlet.WindowState windowState,
682         javax.servlet.http.HttpServletRequest req)
683         throws com.liferay.portal.SystemException, 
684             com.liferay.portal.PortalException, java.rmi.RemoteException {
685         return PortalUtil.updateWindowState(portletId, user, layout,
686             windowState, req);
687     }
688 
689     private PortalUtil_IW() {
690     }
691 
692     private static PortalUtil_IW _instance = new PortalUtil_IW();
693 }