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.portlet.RenderResponseImpl getRenderResponseImpl(
396         javax.portlet.RenderResponse res) {
397         return PortalUtil.getRenderResponseImpl(res);
398     }
399 
400     public com.liferay.portal.model.User getSelectedUser(
401         javax.servlet.http.HttpServletRequest req)
402         throws com.liferay.portal.SystemException, 
403             com.liferay.portal.PortalException, java.rmi.RemoteException {
404         return PortalUtil.getSelectedUser(req);
405     }
406 
407     public com.liferay.portal.model.User getSelectedUser(
408         javax.servlet.http.HttpServletRequest req, boolean checkPermission)
409         throws com.liferay.portal.SystemException, 
410             com.liferay.portal.PortalException, java.rmi.RemoteException {
411         return PortalUtil.getSelectedUser(req, checkPermission);
412     }
413 
414     public com.liferay.portal.model.User getSelectedUser(
415         javax.portlet.ActionRequest req)
416         throws com.liferay.portal.SystemException, 
417             com.liferay.portal.PortalException, java.rmi.RemoteException {
418         return PortalUtil.getSelectedUser(req);
419     }
420 
421     public com.liferay.portal.model.User getSelectedUser(
422         javax.portlet.ActionRequest req, boolean checkPermission)
423         throws com.liferay.portal.SystemException, 
424             com.liferay.portal.PortalException, java.rmi.RemoteException {
425         return PortalUtil.getSelectedUser(req, checkPermission);
426     }
427 
428     public com.liferay.portal.model.User getSelectedUser(
429         javax.portlet.RenderRequest req)
430         throws com.liferay.portal.SystemException, 
431             com.liferay.portal.PortalException, java.rmi.RemoteException {
432         return PortalUtil.getSelectedUser(req);
433     }
434 
435     public com.liferay.portal.model.User getSelectedUser(
436         javax.portlet.RenderRequest req, boolean checkPermission)
437         throws com.liferay.portal.SystemException, 
438             com.liferay.portal.PortalException, java.rmi.RemoteException {
439         return PortalUtil.getSelectedUser(req, checkPermission);
440     }
441 
442     public java.lang.String[] getSystemCommunityRoles() {
443         return PortalUtil.getSystemCommunityRoles();
444     }
445 
446     public java.lang.String[] getSystemGroups() {
447         return PortalUtil.getSystemGroups();
448     }
449 
450     public java.lang.String[] getSystemRoles() {
451         return PortalUtil.getSystemRoles();
452     }
453 
454     public com.liferay.util.servlet.UploadPortletRequest getUploadPortletRequest(
455         javax.portlet.ActionRequest req) {
456         return PortalUtil.getUploadPortletRequest(req);
457     }
458 
459     public com.liferay.util.servlet.UploadServletRequest getUploadServletRequest(
460         javax.servlet.http.HttpServletRequest httpReq) {
461         return PortalUtil.getUploadServletRequest(httpReq);
462     }
463 
464     public java.util.Date getUptime() {
465         return PortalUtil.getUptime();
466     }
467 
468     public com.liferay.portal.model.User getUser(
469         javax.servlet.http.HttpServletRequest req)
470         throws com.liferay.portal.SystemException, 
471             com.liferay.portal.PortalException {
472         return PortalUtil.getUser(req);
473     }
474 
475     public com.liferay.portal.model.User getUser(
476         javax.portlet.ActionRequest req)
477         throws com.liferay.portal.SystemException, 
478             com.liferay.portal.PortalException {
479         return PortalUtil.getUser(req);
480     }
481 
482     public com.liferay.portal.model.User getUser(
483         javax.portlet.RenderRequest req)
484         throws com.liferay.portal.SystemException, 
485             com.liferay.portal.PortalException {
486         return PortalUtil.getUser(req);
487     }
488 
489     public long getUserId(javax.servlet.http.HttpServletRequest req) {
490         return PortalUtil.getUserId(req);
491     }
492 
493     public long getUserId(javax.portlet.ActionRequest req) {
494         return PortalUtil.getUserId(req);
495     }
496 
497     public long getUserId(javax.portlet.RenderRequest req) {
498         return PortalUtil.getUserId(req);
499     }
500 
501     public java.lang.String getUserName(long userId,
502         java.lang.String defaultUserName) {
503         return PortalUtil.getUserName(userId, defaultUserName);
504     }
505 
506     public java.lang.String getUserName(long userId,
507         java.lang.String defaultUserName, java.lang.String userAttribute) {
508         return PortalUtil.getUserName(userId, defaultUserName, userAttribute);
509     }
510 
511     public java.lang.String getUserName(long userId,
512         java.lang.String defaultUserName,
513         javax.servlet.http.HttpServletRequest req) {
514         return PortalUtil.getUserName(userId, defaultUserName, req);
515     }
516 
517     public java.lang.String getUserName(long userId,
518         java.lang.String defaultUserName, java.lang.String userAttribute,
519         javax.servlet.http.HttpServletRequest req) {
520         return PortalUtil.getUserName(userId, defaultUserName, userAttribute,
521             req);
522     }
523 
524     public java.lang.String getUserPassword(javax.servlet.http.HttpSession ses) {
525         return PortalUtil.getUserPassword(ses);
526     }
527 
528     public java.lang.String getUserPassword(
529         javax.servlet.http.HttpServletRequest req) {
530         return PortalUtil.getUserPassword(req);
531     }
532 
533     public java.lang.String getUserPassword(javax.portlet.ActionRequest req) {
534         return PortalUtil.getUserPassword(req);
535     }
536 
537     public java.lang.String getUserPassword(javax.portlet.RenderRequest req) {
538         return PortalUtil.getUserPassword(req);
539     }
540 
541     public boolean isLayoutFriendliable(com.liferay.portal.model.Layout layout) {
542         return PortalUtil.isLayoutFriendliable(layout);
543     }
544 
545     public boolean isLayoutParentable(com.liferay.portal.model.Layout layout) {
546         return PortalUtil.isLayoutParentable(layout);
547     }
548 
549     public boolean isLayoutParentable(java.lang.String type) {
550         return PortalUtil.isLayoutParentable(type);
551     }
552 
553     public boolean isLayoutSitemapable(com.liferay.portal.model.Layout layout) {
554         return PortalUtil.isLayoutSitemapable(layout);
555     }
556 
557     public boolean isReservedParameter(java.lang.String name) {
558         return PortalUtil.isReservedParameter(name);
559     }
560 
561     public boolean isSystemGroup(java.lang.String groupName) {
562         return PortalUtil.isSystemGroup(groupName);
563     }
564 
565     public boolean isSystemRole(java.lang.String roleName) {
566         return PortalUtil.isSystemRole(roleName);
567     }
568 
569     public boolean isUpdateAvailable()
570         throws com.liferay.portal.SystemException, 
571             com.liferay.portal.PortalException {
572         return PortalUtil.isUpdateAvailable();
573     }
574 
575     public org.dom4j.Document readDocumentFromFile(java.io.File file)
576         throws org.dom4j.DocumentException {
577         return PortalUtil.readDocumentFromFile(file);
578     }
579 
580     public org.dom4j.Document readDocumentFromFile(java.io.File file,
581         boolean validate) throws org.dom4j.DocumentException {
582         return PortalUtil.readDocumentFromFile(file, validate);
583     }
584 
585     public org.dom4j.Document readDocumentFromStream(java.io.InputStream is)
586         throws org.dom4j.DocumentException {
587         return PortalUtil.readDocumentFromStream(is);
588     }
589 
590     public org.dom4j.Document readDocumentFromStream(java.io.InputStream is,
591         boolean validate) throws org.dom4j.DocumentException {
592         return PortalUtil.readDocumentFromStream(is, validate);
593     }
594 
595     public org.dom4j.Document readDocumentFromURL(java.lang.String url)
596         throws org.dom4j.DocumentException, java.io.IOException {
597         return PortalUtil.readDocumentFromURL(url);
598     }
599 
600     public org.dom4j.Document readDocumentFromURL(java.lang.String url,
601         boolean validate)
602         throws org.dom4j.DocumentException, java.io.IOException {
603         return PortalUtil.readDocumentFromURL(url, validate);
604     }
605 
606     public org.dom4j.Document readDocumentFromXML(java.lang.String xml)
607         throws org.dom4j.DocumentException {
608         return PortalUtil.readDocumentFromXML(xml);
609     }
610 
611     public org.dom4j.Document readDocumentFromXML(java.lang.String xml,
612         boolean validate) throws org.dom4j.DocumentException {
613         return PortalUtil.readDocumentFromXML(xml, validate);
614     }
615 
616     public void renderPage(com.liferay.portal.kernel.util.StringMaker sm,
617         javax.servlet.ServletContext ctx,
618         javax.servlet.http.HttpServletRequest req,
619         javax.servlet.http.HttpServletResponse res, java.lang.String path)
620         throws java.io.IOException, javax.servlet.ServletException {
621         PortalUtil.renderPage(sm, ctx, req, res, path);
622     }
623 
624     public void renderPortlet(com.liferay.portal.kernel.util.StringMaker sm,
625         javax.servlet.ServletContext ctx,
626         javax.servlet.http.HttpServletRequest req,
627         javax.servlet.http.HttpServletResponse res,
628         com.liferay.portal.model.Portlet portlet, java.lang.String queryString)
629         throws java.io.IOException, javax.servlet.ServletException {
630         PortalUtil.renderPortlet(sm, ctx, req, res, portlet, queryString);
631     }
632 
633     public void renderPortlet(com.liferay.portal.kernel.util.StringMaker sm,
634         javax.servlet.ServletContext ctx,
635         javax.servlet.http.HttpServletRequest req,
636         javax.servlet.http.HttpServletResponse res,
637         com.liferay.portal.model.Portlet portlet, java.lang.String queryString,
638         java.lang.String columnId, java.lang.Integer columnPos,
639         java.lang.Integer columnCount)
640         throws java.io.IOException, javax.servlet.ServletException {
641         PortalUtil.renderPortlet(sm, ctx, req, res, portlet, queryString,
642             columnId, columnPos, columnCount);
643     }
644 
645     public void renderPortlet(com.liferay.portal.kernel.util.StringMaker sm,
646         javax.servlet.ServletContext ctx,
647         javax.servlet.http.HttpServletRequest req,
648         javax.servlet.http.HttpServletResponse res,
649         com.liferay.portal.model.Portlet portlet, java.lang.String queryString,
650         java.lang.String columnId, java.lang.Integer columnPos,
651         java.lang.Integer columnCount, java.lang.String path)
652         throws java.io.IOException, javax.servlet.ServletException {
653         PortalUtil.renderPortlet(sm, ctx, req, res, portlet, queryString,
654             columnId, columnPos, columnCount, path);
655     }
656 
657     public void setPageSubtitle(java.lang.String subtitle,
658         javax.servlet.http.HttpServletRequest req) {
659         PortalUtil.setPageSubtitle(subtitle, req);
660     }
661 
662     public void setPageTitle(java.lang.String title,
663         javax.servlet.http.HttpServletRequest req) {
664         PortalUtil.setPageTitle(title, req);
665     }
666 
667     public void storePreferences(javax.portlet.PortletPreferences prefs)
668         throws java.io.IOException, javax.portlet.ValidatorException {
669         PortalUtil.storePreferences(prefs);
670     }
671 
672     public javax.portlet.PortletMode updatePortletMode(
673         java.lang.String portletId, com.liferay.portal.model.User user,
674         com.liferay.portal.model.Layout layout,
675         javax.portlet.PortletMode portletMode,
676         javax.servlet.http.HttpServletRequest req)
677         throws com.liferay.portal.SystemException, 
678             com.liferay.portal.PortalException, java.rmi.RemoteException {
679         return PortalUtil.updatePortletMode(portletId, user, layout,
680             portletMode, req);
681     }
682 
683     public javax.portlet.WindowState updateWindowState(
684         java.lang.String portletId, com.liferay.portal.model.User user,
685         com.liferay.portal.model.Layout layout,
686         javax.portlet.WindowState windowState,
687         javax.servlet.http.HttpServletRequest req)
688         throws com.liferay.portal.SystemException, 
689             com.liferay.portal.PortalException, java.rmi.RemoteException {
690         return PortalUtil.updateWindowState(portletId, user, layout,
691             windowState, req);
692     }
693 
694     private PortalUtil_IW() {
695     }
696 
697     private static PortalUtil_IW _instance = new PortalUtil_IW();
698 }