1
22
23 package com.liferay.portal.util;
24
25
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 getComputerName() {
116 return PortalUtil.getComputerName();
117 }
118
119 public java.lang.String getCurrentURL(
120 javax.servlet.http.HttpServletRequest req) {
121 return PortalUtil.getCurrentURL(req);
122 }
123
124 public java.lang.String getCurrentURL(javax.portlet.PortletRequest req) {
125 return PortalUtil.getCurrentURL(req);
126 }
127
128 public java.util.Date getDate(int month, int day, int year,
129 com.liferay.portal.PortalException pe)
130 throws com.liferay.portal.PortalException {
131 return PortalUtil.getDate(month, day, year, pe);
132 }
133
134 public java.util.Date getDate(int month, int day, int year,
135 java.util.TimeZone timeZone, com.liferay.portal.PortalException pe)
136 throws com.liferay.portal.PortalException {
137 return PortalUtil.getDate(month, day, year, timeZone, pe);
138 }
139
140 public java.util.Date getDate(int month, int day, int year, int hour,
141 int min, com.liferay.portal.PortalException pe)
142 throws com.liferay.portal.PortalException {
143 return PortalUtil.getDate(month, day, year, hour, min, pe);
144 }
145
146 public java.util.Date getDate(int month, int day, int year, int hour,
147 int min, java.util.TimeZone timeZone,
148 com.liferay.portal.PortalException pe)
149 throws com.liferay.portal.PortalException {
150 return PortalUtil.getDate(month, day, year, hour, min, timeZone, pe);
151 }
152
153 public java.lang.String getHost(javax.servlet.http.HttpServletRequest req) {
154 return PortalUtil.getHost(req);
155 }
156
157 public java.lang.String getHost(javax.portlet.ActionRequest req) {
158 return PortalUtil.getHost(req);
159 }
160
161 public java.lang.String getHost(javax.portlet.RenderRequest req) {
162 return PortalUtil.getHost(req);
163 }
164
165 public javax.servlet.http.HttpServletRequest getHttpServletRequest(
166 javax.portlet.PortletRequest req) {
167 return PortalUtil.getHttpServletRequest(req);
168 }
169
170 public javax.servlet.http.HttpServletResponse getHttpServletResponse(
171 javax.portlet.PortletResponse res) {
172 return PortalUtil.getHttpServletResponse(res);
173 }
174
175 public java.lang.String getLayoutEditPage(
176 com.liferay.portal.model.Layout layout) {
177 return PortalUtil.getLayoutEditPage(layout);
178 }
179
180 public java.lang.String getLayoutViewPage(
181 com.liferay.portal.model.Layout layout) {
182 return PortalUtil.getLayoutViewPage(layout);
183 }
184
185 public java.lang.String getLayoutURL(
186 com.liferay.portal.theme.ThemeDisplay themeDisplay)
187 throws com.liferay.portal.SystemException,
188 com.liferay.portal.PortalException {
189 return PortalUtil.getLayoutURL(themeDisplay);
190 }
191
192 public java.lang.String getLayoutURL(
193 com.liferay.portal.model.Layout layout,
194 com.liferay.portal.theme.ThemeDisplay themeDisplay)
195 throws com.liferay.portal.SystemException,
196 com.liferay.portal.PortalException {
197 return PortalUtil.getLayoutURL(layout, themeDisplay);
198 }
199
200 public java.lang.String getLayoutURL(
201 com.liferay.portal.model.Layout layout,
202 com.liferay.portal.theme.ThemeDisplay themeDisplay, boolean doAsUser)
203 throws com.liferay.portal.SystemException,
204 com.liferay.portal.PortalException {
205 return PortalUtil.getLayoutURL(layout, themeDisplay, doAsUser);
206 }
207
208 public java.lang.String getLayoutActualURL(
209 com.liferay.portal.model.Layout layout)
210 throws com.liferay.portal.SystemException,
211 com.liferay.portal.PortalException {
212 return PortalUtil.getLayoutActualURL(layout);
213 }
214
215 public java.lang.String getLayoutActualURL(
216 com.liferay.portal.model.Layout layout, java.lang.String mainPath)
217 throws com.liferay.portal.SystemException,
218 com.liferay.portal.PortalException {
219 return PortalUtil.getLayoutActualURL(layout, mainPath);
220 }
221
222 public java.lang.String getLayoutActualURL(long groupId,
223 boolean privateLayout, java.lang.String mainPath,
224 java.lang.String friendlyURL)
225 throws com.liferay.portal.SystemException,
226 com.liferay.portal.PortalException {
227 return PortalUtil.getLayoutActualURL(groupId, privateLayout, mainPath,
228 friendlyURL);
229 }
230
231 public java.lang.String getLayoutActualURL(long groupId,
232 boolean privateLayout, java.lang.String mainPath,
233 java.lang.String friendlyURL, java.util.Map params)
234 throws com.liferay.portal.SystemException,
235 com.liferay.portal.PortalException {
236 return PortalUtil.getLayoutActualURL(groupId, privateLayout, mainPath,
237 friendlyURL, params);
238 }
239
240 public java.lang.String getLayoutFriendlyURL(
241 com.liferay.portal.model.Layout layout,
242 com.liferay.portal.theme.ThemeDisplay themeDisplay)
243 throws com.liferay.portal.SystemException,
244 com.liferay.portal.PortalException {
245 return PortalUtil.getLayoutFriendlyURL(layout, themeDisplay);
246 }
247
248 public java.lang.String getLayoutTarget(
249 com.liferay.portal.model.Layout layout) {
250 return PortalUtil.getLayoutTarget(layout);
251 }
252
253 public java.lang.String getJsSafePortletId(java.lang.String portletId) {
254 return PortalUtil.getJsSafePortletId(portletId);
255 }
256
257 public java.lang.String getJsSafePortletName(java.lang.String portletName) {
258 return PortalUtil.getJsSafePortletName(portletName);
259 }
260
261 public java.util.Locale getLocale(javax.servlet.http.HttpServletRequest req) {
262 return PortalUtil.getLocale(req);
263 }
264
265 public java.util.Locale getLocale(javax.portlet.RenderRequest req) {
266 return PortalUtil.getLocale(req);
267 }
268
269 public javax.servlet.http.HttpServletRequest getOriginalServletRequest(
270 javax.servlet.http.HttpServletRequest req) {
271 return PortalUtil.getOriginalServletRequest(req);
272 }
273
274 public java.lang.String getPathContext() {
275 return PortalUtil.getPathContext();
276 }
277
278 public java.lang.String getPathFriendlyURLPrivateGroup() {
279 return PortalUtil.getPathFriendlyURLPrivateGroup();
280 }
281
282 public java.lang.String getPathFriendlyURLPrivateUser() {
283 return PortalUtil.getPathFriendlyURLPrivateUser();
284 }
285
286 public java.lang.String getPathFriendlyURLPublic() {
287 return PortalUtil.getPathFriendlyURLPublic();
288 }
289
290 public java.lang.String getPathImage() {
291 return PortalUtil.getPathImage();
292 }
293
294 public java.lang.String getPathMain() {
295 return PortalUtil.getPathMain();
296 }
297
298 public long getPlidIdFromFriendlyURL(long companyId,
299 java.lang.String friendlyURL) {
300 return PortalUtil.getPlidIdFromFriendlyURL(companyId, friendlyURL);
301 }
302
303 public java.lang.String getPortalLibDir() {
304 return PortalUtil.getPortalLibDir();
305 }
306
307 public java.lang.String getPortalURL(
308 com.liferay.portal.theme.ThemeDisplay themeDisplay) {
309 return PortalUtil.getPortalURL(themeDisplay);
310 }
311
312 public java.lang.String getPortalURL(
313 javax.servlet.http.HttpServletRequest req) {
314 return PortalUtil.getPortalURL(req);
315 }
316
317 public java.lang.String getPortalURL(
318 javax.servlet.http.HttpServletRequest req, boolean secure) {
319 return PortalUtil.getPortalURL(req, secure);
320 }
321
322 public java.lang.String getPortalURL(javax.portlet.PortletRequest req) {
323 return PortalUtil.getPortalURL(req);
324 }
325
326 public java.lang.String getPortalURL(javax.portlet.PortletRequest req,
327 boolean secure) {
328 return PortalUtil.getPortalURL(req, secure);
329 }
330
331 public java.lang.String getPortalURL(java.lang.String serverName,
332 int serverPort, boolean secure) {
333 return PortalUtil.getPortalURL(serverName, serverPort, secure);
334 }
335
336 public java.lang.Object[] getPortletFriendlyURLMapper(long groupId,
337 boolean privateLayout, java.lang.String url)
338 throws com.liferay.portal.SystemException,
339 com.liferay.portal.PortalException {
340 return PortalUtil.getPortletFriendlyURLMapper(groupId, privateLayout,
341 url);
342 }
343
344 public java.lang.Object[] getPortletFriendlyURLMapper(long groupId,
345 boolean privateLayout, java.lang.String url, java.util.Map params)
346 throws com.liferay.portal.SystemException,
347 com.liferay.portal.PortalException {
348 return PortalUtil.getPortletFriendlyURLMapper(groupId, privateLayout,
349 url, params);
350 }
351
352 public long getPortletGroupId(long plid) {
353 return PortalUtil.getPortletGroupId(plid);
354 }
355
356 public long getPortletGroupId(com.liferay.portal.model.Layout layout) {
357 return PortalUtil.getPortletGroupId(layout);
358 }
359
360 public long getPortletGroupId(javax.servlet.http.HttpServletRequest req) {
361 return PortalUtil.getPortletGroupId(req);
362 }
363
364 public long getPortletGroupId(javax.portlet.ActionRequest req) {
365 return PortalUtil.getPortletGroupId(req);
366 }
367
368 public long getPortletGroupId(javax.portlet.RenderRequest req) {
369 return PortalUtil.getPortletGroupId(req);
370 }
371
372 public java.lang.String getPortletNamespace(java.lang.String portletId) {
373 return PortalUtil.getPortletNamespace(portletId);
374 }
375
376 public java.lang.String getPortletXmlFileName()
377 throws com.liferay.portal.SystemException,
378 com.liferay.portal.PortalException {
379 return PortalUtil.getPortletXmlFileName();
380 }
381
382 public java.lang.String getPortletTitle(java.lang.String portletId,
383 long companyId, java.lang.String languageId) {
384 return PortalUtil.getPortletTitle(portletId, companyId, languageId);
385 }
386
387 public java.lang.String getPortletTitle(java.lang.String portletId,
388 com.liferay.portal.model.User user) {
389 return PortalUtil.getPortletTitle(portletId, user);
390 }
391
392 public java.lang.String getPortletTitle(
393 com.liferay.portal.model.Portlet portlet,
394 javax.servlet.ServletContext ctx, java.util.Locale locale) {
395 return PortalUtil.getPortletTitle(portlet, ctx, locale);
396 }
397
398 public javax.portlet.PortletPreferences getPreferences(
399 javax.servlet.http.HttpServletRequest req) {
400 return PortalUtil.getPreferences(req);
401 }
402
403 public javax.portlet.PreferencesValidator getPreferencesValidator(
404 com.liferay.portal.model.Portlet portlet) {
405 return PortalUtil.getPreferencesValidator(portlet);
406 }
407
408 public com.liferay.portlet.RenderResponseImpl getRenderResponseImpl(
409 javax.portlet.RenderResponse res) {
410 return PortalUtil.getRenderResponseImpl(res);
411 }
412
413 public com.liferay.portal.model.User getSelectedUser(
414 javax.servlet.http.HttpServletRequest req)
415 throws com.liferay.portal.SystemException,
416 com.liferay.portal.PortalException, java.rmi.RemoteException {
417 return PortalUtil.getSelectedUser(req);
418 }
419
420 public com.liferay.portal.model.User getSelectedUser(
421 javax.servlet.http.HttpServletRequest req, boolean checkPermission)
422 throws com.liferay.portal.SystemException,
423 com.liferay.portal.PortalException, java.rmi.RemoteException {
424 return PortalUtil.getSelectedUser(req, checkPermission);
425 }
426
427 public com.liferay.portal.model.User getSelectedUser(
428 javax.portlet.ActionRequest req)
429 throws com.liferay.portal.SystemException,
430 com.liferay.portal.PortalException, java.rmi.RemoteException {
431 return PortalUtil.getSelectedUser(req);
432 }
433
434 public com.liferay.portal.model.User getSelectedUser(
435 javax.portlet.ActionRequest req, boolean checkPermission)
436 throws com.liferay.portal.SystemException,
437 com.liferay.portal.PortalException, java.rmi.RemoteException {
438 return PortalUtil.getSelectedUser(req, checkPermission);
439 }
440
441 public com.liferay.portal.model.User getSelectedUser(
442 javax.portlet.RenderRequest req)
443 throws com.liferay.portal.SystemException,
444 com.liferay.portal.PortalException, java.rmi.RemoteException {
445 return PortalUtil.getSelectedUser(req);
446 }
447
448 public com.liferay.portal.model.User getSelectedUser(
449 javax.portlet.RenderRequest req, boolean checkPermission)
450 throws com.liferay.portal.SystemException,
451 com.liferay.portal.PortalException, java.rmi.RemoteException {
452 return PortalUtil.getSelectedUser(req, checkPermission);
453 }
454
455 public java.lang.String getStrutsAction(
456 javax.servlet.http.HttpServletRequest req) {
457 return PortalUtil.getStrutsAction(req);
458 }
459
460 public java.lang.String[] getSystemCommunityRoles() {
461 return PortalUtil.getSystemCommunityRoles();
462 }
463
464 public java.lang.String[] getSystemGroups() {
465 return PortalUtil.getSystemGroups();
466 }
467
468 public java.lang.String[] getSystemOrganizationRoles() {
469 return PortalUtil.getSystemOrganizationRoles();
470 }
471
472 public java.lang.String[] getSystemRoles() {
473 return PortalUtil.getSystemRoles();
474 }
475
476 public com.liferay.util.servlet.UploadPortletRequest getUploadPortletRequest(
477 javax.portlet.ActionRequest req) {
478 return PortalUtil.getUploadPortletRequest(req);
479 }
480
481 public com.liferay.util.servlet.UploadServletRequest getUploadServletRequest(
482 javax.servlet.http.HttpServletRequest httpReq) {
483 return PortalUtil.getUploadServletRequest(httpReq);
484 }
485
486 public java.util.Date getUptime() {
487 return PortalUtil.getUptime();
488 }
489
490 public java.lang.String getURLWithSessionId(java.lang.String url,
491 java.lang.String sessionId) {
492 return PortalUtil.getURLWithSessionId(url, sessionId);
493 }
494
495 public com.liferay.portal.model.User getUser(
496 javax.servlet.http.HttpServletRequest req)
497 throws com.liferay.portal.SystemException,
498 com.liferay.portal.PortalException {
499 return PortalUtil.getUser(req);
500 }
501
502 public com.liferay.portal.model.User getUser(
503 javax.portlet.ActionRequest req)
504 throws com.liferay.portal.SystemException,
505 com.liferay.portal.PortalException {
506 return PortalUtil.getUser(req);
507 }
508
509 public com.liferay.portal.model.User getUser(
510 javax.portlet.RenderRequest req)
511 throws com.liferay.portal.SystemException,
512 com.liferay.portal.PortalException {
513 return PortalUtil.getUser(req);
514 }
515
516 public long getUserId(javax.servlet.http.HttpServletRequest req) {
517 return PortalUtil.getUserId(req);
518 }
519
520 public long getUserId(javax.portlet.ActionRequest req) {
521 return PortalUtil.getUserId(req);
522 }
523
524 public long getUserId(javax.portlet.RenderRequest req) {
525 return PortalUtil.getUserId(req);
526 }
527
528 public java.lang.String getUserName(long userId,
529 java.lang.String defaultUserName) {
530 return PortalUtil.getUserName(userId, defaultUserName);
531 }
532
533 public java.lang.String getUserName(long userId,
534 java.lang.String defaultUserName, java.lang.String userAttribute) {
535 return PortalUtil.getUserName(userId, defaultUserName, userAttribute);
536 }
537
538 public java.lang.String getUserName(long userId,
539 java.lang.String defaultUserName,
540 javax.servlet.http.HttpServletRequest req) {
541 return PortalUtil.getUserName(userId, defaultUserName, req);
542 }
543
544 public java.lang.String getUserName(long userId,
545 java.lang.String defaultUserName, java.lang.String userAttribute,
546 javax.servlet.http.HttpServletRequest req) {
547 return PortalUtil.getUserName(userId, defaultUserName, userAttribute,
548 req);
549 }
550
551 public java.lang.String getUserPassword(javax.servlet.http.HttpSession ses) {
552 return PortalUtil.getUserPassword(ses);
553 }
554
555 public java.lang.String getUserPassword(
556 javax.servlet.http.HttpServletRequest req) {
557 return PortalUtil.getUserPassword(req);
558 }
559
560 public java.lang.String getUserPassword(javax.portlet.ActionRequest req) {
561 return PortalUtil.getUserPassword(req);
562 }
563
564 public java.lang.String getUserPassword(javax.portlet.RenderRequest req) {
565 return PortalUtil.getUserPassword(req);
566 }
567
568 public java.lang.String getUserValue(long userId, java.lang.String param,
569 java.lang.String defaultValue)
570 throws com.liferay.portal.SystemException {
571 return PortalUtil.getUserValue(userId, param, defaultValue);
572 }
573
574 public boolean isMethodGet(javax.portlet.PortletRequest req) {
575 return PortalUtil.isMethodGet(req);
576 }
577
578 public boolean isMethodPost(javax.portlet.PortletRequest req) {
579 return PortalUtil.isMethodPost(req);
580 }
581
582 public boolean isLayoutFriendliable(com.liferay.portal.model.Layout layout) {
583 return PortalUtil.isLayoutFriendliable(layout);
584 }
585
586 public boolean isLayoutParentable(com.liferay.portal.model.Layout layout) {
587 return PortalUtil.isLayoutParentable(layout);
588 }
589
590 public boolean isLayoutParentable(java.lang.String type) {
591 return PortalUtil.isLayoutParentable(type);
592 }
593
594 public boolean isLayoutSitemapable(com.liferay.portal.model.Layout layout) {
595 return PortalUtil.isLayoutSitemapable(layout);
596 }
597
598 public boolean isReservedParameter(java.lang.String name) {
599 return PortalUtil.isReservedParameter(name);
600 }
601
602 public boolean isSystemGroup(java.lang.String groupName) {
603 return PortalUtil.isSystemGroup(groupName);
604 }
605
606 public boolean isSystemRole(java.lang.String roleName) {
607 return PortalUtil.isSystemRole(roleName);
608 }
609
610 public boolean isUpdateAvailable()
611 throws com.liferay.portal.SystemException,
612 com.liferay.portal.PortalException {
613 return PortalUtil.isUpdateAvailable();
614 }
615
616 public org.dom4j.Document readDocumentFromFile(java.io.File file)
617 throws org.dom4j.DocumentException {
618 return PortalUtil.readDocumentFromFile(file);
619 }
620
621 public org.dom4j.Document readDocumentFromFile(java.io.File file,
622 boolean validate) throws org.dom4j.DocumentException {
623 return PortalUtil.readDocumentFromFile(file, validate);
624 }
625
626 public org.dom4j.Document readDocumentFromStream(java.io.InputStream is)
627 throws org.dom4j.DocumentException {
628 return PortalUtil.readDocumentFromStream(is);
629 }
630
631 public org.dom4j.Document readDocumentFromStream(java.io.InputStream is,
632 boolean validate) throws org.dom4j.DocumentException {
633 return PortalUtil.readDocumentFromStream(is, validate);
634 }
635
636 public org.dom4j.Document readDocumentFromURL(java.lang.String url)
637 throws org.dom4j.DocumentException, java.io.IOException {
638 return PortalUtil.readDocumentFromURL(url);
639 }
640
641 public org.dom4j.Document readDocumentFromURL(java.lang.String url,
642 boolean validate)
643 throws org.dom4j.DocumentException, java.io.IOException {
644 return PortalUtil.readDocumentFromURL(url, validate);
645 }
646
647 public org.dom4j.Document readDocumentFromXML(java.lang.String xml)
648 throws org.dom4j.DocumentException {
649 return PortalUtil.readDocumentFromXML(xml);
650 }
651
652 public org.dom4j.Document readDocumentFromXML(java.lang.String xml,
653 boolean validate) throws org.dom4j.DocumentException {
654 return PortalUtil.readDocumentFromXML(xml, validate);
655 }
656
657 public void renderPage(com.liferay.portal.kernel.util.StringMaker sm,
658 javax.servlet.ServletContext ctx,
659 javax.servlet.http.HttpServletRequest req,
660 javax.servlet.http.HttpServletResponse res, java.lang.String path)
661 throws java.io.IOException, javax.servlet.ServletException {
662 PortalUtil.renderPage(sm, ctx, req, res, path);
663 }
664
665 public void renderPortlet(com.liferay.portal.kernel.util.StringMaker sm,
666 javax.servlet.ServletContext ctx,
667 javax.servlet.http.HttpServletRequest req,
668 javax.servlet.http.HttpServletResponse res,
669 com.liferay.portal.model.Portlet portlet, java.lang.String queryString)
670 throws java.io.IOException, javax.servlet.ServletException {
671 PortalUtil.renderPortlet(sm, ctx, req, res, portlet, queryString);
672 }
673
674 public void renderPortlet(com.liferay.portal.kernel.util.StringMaker sm,
675 javax.servlet.ServletContext ctx,
676 javax.servlet.http.HttpServletRequest req,
677 javax.servlet.http.HttpServletResponse res,
678 com.liferay.portal.model.Portlet portlet, java.lang.String queryString,
679 java.lang.String columnId, java.lang.Integer columnPos,
680 java.lang.Integer columnCount)
681 throws java.io.IOException, javax.servlet.ServletException {
682 PortalUtil.renderPortlet(sm, ctx, req, res, portlet, queryString,
683 columnId, columnPos, columnCount);
684 }
685
686 public void renderPortlet(com.liferay.portal.kernel.util.StringMaker sm,
687 javax.servlet.ServletContext ctx,
688 javax.servlet.http.HttpServletRequest req,
689 javax.servlet.http.HttpServletResponse res,
690 com.liferay.portal.model.Portlet portlet, java.lang.String queryString,
691 java.lang.String columnId, java.lang.Integer columnPos,
692 java.lang.Integer columnCount, java.lang.String path)
693 throws java.io.IOException, javax.servlet.ServletException {
694 PortalUtil.renderPortlet(sm, ctx, req, res, portlet, queryString,
695 columnId, columnPos, columnCount, path);
696 }
697
698 public void sendError(int status, java.lang.Exception e,
699 javax.servlet.http.HttpServletRequest req,
700 javax.servlet.http.HttpServletResponse res)
701 throws java.io.IOException, javax.servlet.ServletException {
702 PortalUtil.sendError(status, e, req, res);
703 }
704
705 public void setPageSubtitle(java.lang.String subtitle,
706 javax.servlet.http.HttpServletRequest req) {
707 PortalUtil.setPageSubtitle(subtitle, req);
708 }
709
710 public void setPageTitle(java.lang.String title,
711 javax.servlet.http.HttpServletRequest req) {
712 PortalUtil.setPageTitle(title, req);
713 }
714
715 public void storePreferences(javax.portlet.PortletPreferences prefs)
716 throws java.io.IOException, javax.portlet.ValidatorException {
717 PortalUtil.storePreferences(prefs);
718 }
719
720 public javax.portlet.PortletMode updatePortletMode(
721 java.lang.String portletId, com.liferay.portal.model.User user,
722 com.liferay.portal.model.Layout layout,
723 javax.portlet.PortletMode portletMode,
724 javax.servlet.http.HttpServletRequest req)
725 throws com.liferay.portal.SystemException,
726 com.liferay.portal.PortalException, java.rmi.RemoteException {
727 return PortalUtil.updatePortletMode(portletId, user, layout,
728 portletMode, req);
729 }
730
731 public javax.portlet.WindowState updateWindowState(
732 java.lang.String portletId, com.liferay.portal.model.User user,
733 com.liferay.portal.model.Layout layout,
734 javax.portlet.WindowState windowState,
735 javax.servlet.http.HttpServletRequest req)
736 throws com.liferay.portal.SystemException,
737 com.liferay.portal.PortalException, java.rmi.RemoteException {
738 return PortalUtil.updateWindowState(portletId, user, layout,
739 windowState, req);
740 }
741
742 private PortalUtil_IW() {
743 }
744
745 private static PortalUtil_IW _instance = new PortalUtil_IW();
746 }