Java Doc for PortalUtil.java in  » Portal » liferay-portal-4.4.2 » com » liferay » portal » util » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Portal » liferay portal 4.4.2 » com.liferay.portal.util 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   com.liferay.portal.util.PortalUtil

PortalUtil
public class PortalUtil (Code)
View Source
author:
   Brian Wing Shun Chan
author:
   Brian Myunghun Kim
author:
   Jorge Ferrer


Field Summary
final public static  StringPATH_IMAGE
    
final public static  StringPATH_MAIN
    
final public static  StringPATH_PORTAL_LAYOUT
    
final public static  StringPORTLET_XML_FILE_NAME_CUSTOM
    
final public static  StringPORTLET_XML_FILE_NAME_STANDARD
    
final public static  DateUP_TIME
    


Method Summary
public static  voidclearRequestParameters(RenderRequest req)
    
public static  voidcopyRequestParameters(ActionRequest req, ActionResponse res)
    
public static  StringcreateSecureProxyURL(String url, Key key, boolean secure)
    
public static  StringgetCDNHost()
    
public static  StringgetClassName(long classNameId)
    
public static  longgetClassNameId(Class classObj)
    
public static  longgetClassNameId(String value)
    
public static  StringgetClassNamePortletId(String className)
    
public static  CompanygetCompany(HttpServletRequest req)
    
public static  CompanygetCompany(ActionRequest req)
    
public static  CompanygetCompany(RenderRequest req)
    
public static  longgetCompanyId(HttpServletRequest req)
    
public static  longgetCompanyId(ActionRequest req)
    
public static  longgetCompanyId(PortletRequest req)
    
public static  longgetCompanyId(RenderRequest req)
    
public static  longgetCompanyIdByWebId(ServletContext ctx)
    
public static  longgetCompanyIdByWebId(String webId)
    
public static  StringgetComputerName()
    
public static  StringgetCurrentURL(HttpServletRequest req)
    
public static  StringgetCurrentURL(PortletRequest req)
    
public static  DategetDate(int month, int day, int year, PortalException pe)
    
public static  DategetDate(int month, int day, int year, TimeZone timeZone, PortalException pe)
    
public static  DategetDate(int month, int day, int year, int hour, int min, PortalException pe)
    
public static  DategetDate(int month, int day, int year, int hour, int min, TimeZone timeZone, PortalException pe)
    
public static  StringgetHost(HttpServletRequest req)
    
public static  StringgetHost(ActionRequest req)
    
public static  StringgetHost(RenderRequest req)
    
public static  HttpServletRequestgetHttpServletRequest(PortletRequest req)
    
public static  HttpServletResponsegetHttpServletResponse(PortletResponse res)
    
public static  StringgetJsSafePortletId(String portletId)
    
public static  StringgetJsSafePortletName(String portletName)
    
public static  StringgetLayoutActualURL(Layout layout)
    
public static  StringgetLayoutActualURL(Layout layout, String mainPath)
    
public static  StringgetLayoutActualURL(long groupId, boolean privateLayout, String mainPath, String friendlyURL)
    
public static  StringgetLayoutActualURL(long groupId, boolean privateLayout, String mainPath, String friendlyURL, Map params)
    
public static  StringgetLayoutEditPage(Layout layout)
    
public static  StringgetLayoutFriendlyURL(Layout layout, ThemeDisplay themeDisplay)
    
public static  StringgetLayoutTarget(Layout layout)
    
public static  StringgetLayoutURL(ThemeDisplay themeDisplay)
    
public static  StringgetLayoutURL(Layout layout, ThemeDisplay themeDisplay)
    
public static  StringgetLayoutURL(Layout layout, ThemeDisplay themeDisplay, boolean doAsUser)
    
public static  StringgetLayoutViewPage(Layout layout)
    
public static  LocalegetLocale(HttpServletRequest req)
    
public static  LocalegetLocale(RenderRequest req)
    
public static  HttpServletRequestgetOriginalServletRequest(HttpServletRequest req)
    
public static  StringgetPathContext()
    
public static  StringgetPathFriendlyURLPrivateGroup()
    
public static  StringgetPathFriendlyURLPrivateUser()
    
public static  StringgetPathFriendlyURLPublic()
    
public static  StringgetPathImage()
    
public static  StringgetPathMain()
    
public static  longgetPlidIdFromFriendlyURL(long companyId, String friendlyURL)
    
public static  StringgetPortalLibDir()
    
public static  StringgetPortalURL(ThemeDisplay themeDisplay)
    
public static  StringgetPortalURL(HttpServletRequest req)
    
public static  StringgetPortalURL(HttpServletRequest req, boolean secure)
    
public static  StringgetPortalURL(PortletRequest req)
    
public static  StringgetPortalURL(PortletRequest req, boolean secure)
    
public static  StringgetPortalURL(String serverName, int serverPort, boolean secure)
    
public static  Object[]getPortletFriendlyURLMapper(long groupId, boolean privateLayout, String url)
    
public static  Object[]getPortletFriendlyURLMapper(long groupId, boolean privateLayout, String url, Map params)
    
public static  longgetPortletGroupId(long plid)
    
public static  longgetPortletGroupId(Layout layout)
    
public static  longgetPortletGroupId(HttpServletRequest req)
    
public static  longgetPortletGroupId(ActionRequest req)
    
public static  longgetPortletGroupId(RenderRequest req)
    
public static  StringgetPortletNamespace(String portletId)
    
public static  StringgetPortletTitle(String portletId, long companyId, String languageId)
    
public static  StringgetPortletTitle(String portletId, User user)
    
public static  StringgetPortletTitle(Portlet portlet, ServletContext ctx, Locale locale)
    
public static  StringgetPortletXmlFileName()
    
public static  PortletPreferencesgetPreferences(HttpServletRequest req)
    
public static  PreferencesValidatorgetPreferencesValidator(Portlet portlet)
    
public static  RenderResponseImplgetRenderResponseImpl(RenderResponse res)
    
public static  UsergetSelectedUser(HttpServletRequest req)
    
public static  UsergetSelectedUser(HttpServletRequest req, boolean checkPermission)
    
public static  UsergetSelectedUser(ActionRequest req)
    
public static  UsergetSelectedUser(ActionRequest req, boolean checkPermission)
    
public static  UsergetSelectedUser(RenderRequest req)
    
public static  UsergetSelectedUser(RenderRequest req, boolean checkPermission)
    
public static  StringgetStrutsAction(HttpServletRequest req)
    
public static  String[]getSystemCommunityRoles()
    
public static  String[]getSystemGroups()
    
public static  String[]getSystemOrganizationRoles()
    
public static  String[]getSystemRoles()
    
public static  StringgetURLWithSessionId(String url, String sessionId)
    
public static  UploadPortletRequestgetUploadPortletRequest(ActionRequest req)
    
public static  UploadServletRequestgetUploadServletRequest(HttpServletRequest httpReq)
    
public static  DategetUptime()
    
public static  UsergetUser(HttpServletRequest req)
    
public static  UsergetUser(ActionRequest req)
    
public static  UsergetUser(RenderRequest req)
    
public static  longgetUserId(HttpServletRequest req)
    
public static  longgetUserId(ActionRequest req)
    
public static  longgetUserId(RenderRequest req)
    
public static  StringgetUserName(long userId, String defaultUserName)
    
public static  StringgetUserName(long userId, String defaultUserName, String userAttribute)
    
public static  StringgetUserName(long userId, String defaultUserName, HttpServletRequest req)
    
public static  StringgetUserName(long userId, String defaultUserName, String userAttribute, HttpServletRequest req)
    
public static  StringgetUserPassword(HttpSession ses)
    
public static  StringgetUserPassword(HttpServletRequest req)
    
public static  StringgetUserPassword(ActionRequest req)
    
public static  StringgetUserPassword(RenderRequest req)
    
public static  StringgetUserValue(long userId, String param, String defaultValue)
    
public static  booleanisLayoutFriendliable(Layout layout)
    
public static  booleanisLayoutParentable(Layout layout)
    
public static  booleanisLayoutParentable(String type)
    
public static  booleanisLayoutSitemapable(Layout layout)
    
public static  booleanisMethodGet(PortletRequest req)
    
public static  booleanisMethodPost(PortletRequest req)
    
public static  booleanisReservedParameter(String name)
    
public static  booleanisSystemGroup(String groupName)
    
public static  booleanisSystemRole(String roleName)
    
public static  booleanisUpdateAvailable()
    
public static  DocumentreadDocumentFromFile(File file)
    
public static  DocumentreadDocumentFromFile(File file, boolean validate)
    
public static  DocumentreadDocumentFromStream(InputStream is)
    
public static  DocumentreadDocumentFromStream(InputStream is, boolean validate)
    
public static  DocumentreadDocumentFromURL(String url)
    
public static  DocumentreadDocumentFromURL(String url, boolean validate)
    
public static  DocumentreadDocumentFromXML(String xml)
    
public static  DocumentreadDocumentFromXML(String xml, boolean validate)
    
public static  voidrenderPage(StringMaker sm, ServletContext ctx, HttpServletRequest req, HttpServletResponse res, String path)
    
public static  voidrenderPortlet(StringMaker sm, ServletContext ctx, HttpServletRequest req, HttpServletResponse res, Portlet portlet, String queryString)
    
public static  voidrenderPortlet(StringMaker sm, ServletContext ctx, HttpServletRequest req, HttpServletResponse res, Portlet portlet, String queryString, String columnId, Integer columnPos, Integer columnCount)
    
public static  voidrenderPortlet(StringMaker sm, ServletContext ctx, HttpServletRequest req, HttpServletResponse res, Portlet portlet, String queryString, String columnId, Integer columnPos, Integer columnCount, String path)
    
public static  voidsendError(int status, Exception e, HttpServletRequest req, HttpServletResponse res)
    
public static  voidsetPageSubtitle(String subtitle, HttpServletRequest req)
     Sets the subtitle for a page.
public static  voidsetPageTitle(String title, HttpServletRequest req)
     Sets the whole title for a page.
public static  voidstorePreferences(PortletPreferences prefs)
    
public static  PortletModeupdatePortletMode(String portletId, User user, Layout layout, PortletMode portletMode, HttpServletRequest req)
    
public static  WindowStateupdateWindowState(String portletId, User user, Layout layout, WindowState windowState, HttpServletRequest req)
    

Field Detail
PATH_IMAGE
final public static String PATH_IMAGE(Code)



PATH_MAIN
final public static String PATH_MAIN(Code)



PATH_PORTAL_LAYOUT
final public static String PATH_PORTAL_LAYOUT(Code)



PORTLET_XML_FILE_NAME_CUSTOM
final public static String PORTLET_XML_FILE_NAME_CUSTOM(Code)



PORTLET_XML_FILE_NAME_STANDARD
final public static String PORTLET_XML_FILE_NAME_STANDARD(Code)



UP_TIME
final public static Date UP_TIME(Code)





Method Detail
clearRequestParameters
public static void clearRequestParameters(RenderRequest req)(Code)



copyRequestParameters
public static void copyRequestParameters(ActionRequest req, ActionResponse res)(Code)



createSecureProxyURL
public static String createSecureProxyURL(String url, Key key, boolean secure)(Code)



getCDNHost
public static String getCDNHost()(Code)



getClassName
public static String getClassName(long classNameId)(Code)



getClassNameId
public static long getClassNameId(Class classObj)(Code)



getClassNameId
public static long getClassNameId(String value)(Code)



getClassNamePortletId
public static String getClassNamePortletId(String className)(Code)



getCompany
public static Company getCompany(HttpServletRequest req) throws PortalException, SystemException(Code)



getCompany
public static Company getCompany(ActionRequest req) throws PortalException, SystemException(Code)



getCompany
public static Company getCompany(RenderRequest req) throws PortalException, SystemException(Code)



getCompanyId
public static long getCompanyId(HttpServletRequest req)(Code)



getCompanyId
public static long getCompanyId(ActionRequest req)(Code)



getCompanyId
public static long getCompanyId(PortletRequest req)(Code)



getCompanyId
public static long getCompanyId(RenderRequest req)(Code)



getCompanyIdByWebId
public static long getCompanyIdByWebId(ServletContext ctx)(Code)



getCompanyIdByWebId
public static long getCompanyIdByWebId(String webId)(Code)



getComputerName
public static String getComputerName()(Code)



getCurrentURL
public static String getCurrentURL(HttpServletRequest req)(Code)



getCurrentURL
public static String getCurrentURL(PortletRequest req)(Code)



getDate
public static Date getDate(int month, int day, int year, PortalException pe) throws PortalException(Code)



getDate
public static Date getDate(int month, int day, int year, TimeZone timeZone, PortalException pe) throws PortalException(Code)



getDate
public static Date getDate(int month, int day, int year, int hour, int min, PortalException pe) throws PortalException(Code)



getDate
public static Date getDate(int month, int day, int year, int hour, int min, TimeZone timeZone, PortalException pe) throws PortalException(Code)



getHost
public static String getHost(HttpServletRequest req)(Code)



getHost
public static String getHost(ActionRequest req)(Code)



getHost
public static String getHost(RenderRequest req)(Code)



getHttpServletRequest
public static HttpServletRequest getHttpServletRequest(PortletRequest req)(Code)



getHttpServletResponse
public static HttpServletResponse getHttpServletResponse(PortletResponse res)(Code)



getJsSafePortletId
public static String getJsSafePortletId(String portletId)(Code)



getJsSafePortletName
public static String getJsSafePortletName(String portletName)(Code)



getLayoutActualURL
public static String getLayoutActualURL(Layout layout) throws PortalException, SystemException(Code)



getLayoutActualURL
public static String getLayoutActualURL(Layout layout, String mainPath) throws PortalException, SystemException(Code)



getLayoutActualURL
public static String getLayoutActualURL(long groupId, boolean privateLayout, String mainPath, String friendlyURL) throws PortalException, SystemException(Code)



getLayoutActualURL
public static String getLayoutActualURL(long groupId, boolean privateLayout, String mainPath, String friendlyURL, Map params) throws PortalException, SystemException(Code)



getLayoutEditPage
public static String getLayoutEditPage(Layout layout)(Code)



getLayoutFriendlyURL
public static String getLayoutFriendlyURL(Layout layout, ThemeDisplay themeDisplay) throws PortalException, SystemException(Code)



getLayoutTarget
public static String getLayoutTarget(Layout layout)(Code)



getLayoutURL
public static String getLayoutURL(ThemeDisplay themeDisplay) throws PortalException, SystemException(Code)



getLayoutURL
public static String getLayoutURL(Layout layout, ThemeDisplay themeDisplay) throws PortalException, SystemException(Code)



getLayoutURL
public static String getLayoutURL(Layout layout, ThemeDisplay themeDisplay, boolean doAsUser) throws PortalException, SystemException(Code)



getLayoutViewPage
public static String getLayoutViewPage(Layout layout)(Code)



getLocale
public static Locale getLocale(HttpServletRequest req)(Code)



getLocale
public static Locale getLocale(RenderRequest req)(Code)



getOriginalServletRequest
public static HttpServletRequest getOriginalServletRequest(HttpServletRequest req)(Code)



getPathContext
public static String getPathContext()(Code)



getPathFriendlyURLPrivateGroup
public static String getPathFriendlyURLPrivateGroup()(Code)



getPathFriendlyURLPrivateUser
public static String getPathFriendlyURLPrivateUser()(Code)



getPathFriendlyURLPublic
public static String getPathFriendlyURLPublic()(Code)



getPathImage
public static String getPathImage()(Code)



getPathMain
public static String getPathMain()(Code)



getPlidIdFromFriendlyURL
public static long getPlidIdFromFriendlyURL(long companyId, String friendlyURL)(Code)



getPortalLibDir
public static String getPortalLibDir()(Code)



getPortalURL
public static String getPortalURL(ThemeDisplay themeDisplay)(Code)



getPortalURL
public static String getPortalURL(HttpServletRequest req)(Code)



getPortalURL
public static String getPortalURL(HttpServletRequest req, boolean secure)(Code)



getPortalURL
public static String getPortalURL(PortletRequest req)(Code)



getPortalURL
public static String getPortalURL(PortletRequest req, boolean secure)(Code)



getPortalURL
public static String getPortalURL(String serverName, int serverPort, boolean secure)(Code)



getPortletFriendlyURLMapper
public static Object[] getPortletFriendlyURLMapper(long groupId, boolean privateLayout, String url) throws PortalException, SystemException(Code)



getPortletFriendlyURLMapper
public static Object[] getPortletFriendlyURLMapper(long groupId, boolean privateLayout, String url, Map params) throws PortalException, SystemException(Code)



getPortletGroupId
public static long getPortletGroupId(long plid)(Code)



getPortletGroupId
public static long getPortletGroupId(Layout layout)(Code)



getPortletGroupId
public static long getPortletGroupId(HttpServletRequest req)(Code)



getPortletGroupId
public static long getPortletGroupId(ActionRequest req)(Code)



getPortletGroupId
public static long getPortletGroupId(RenderRequest req)(Code)



getPortletNamespace
public static String getPortletNamespace(String portletId)(Code)



getPortletTitle
public static String getPortletTitle(String portletId, long companyId, String languageId)(Code)



getPortletTitle
public static String getPortletTitle(String portletId, User user)(Code)



getPortletTitle
public static String getPortletTitle(Portlet portlet, ServletContext ctx, Locale locale)(Code)



getPortletXmlFileName
public static String getPortletXmlFileName() throws PortalException, SystemException(Code)



getPreferences
public static PortletPreferences getPreferences(HttpServletRequest req)(Code)



getPreferencesValidator
public static PreferencesValidator getPreferencesValidator(Portlet portlet)(Code)



getRenderResponseImpl
public static RenderResponseImpl getRenderResponseImpl(RenderResponse res)(Code)



getSelectedUser
public static User getSelectedUser(HttpServletRequest req) throws PortalException, RemoteException, SystemException(Code)



getSelectedUser
public static User getSelectedUser(HttpServletRequest req, boolean checkPermission) throws PortalException, RemoteException, SystemException(Code)



getSelectedUser
public static User getSelectedUser(ActionRequest req) throws PortalException, RemoteException, SystemException(Code)



getSelectedUser
public static User getSelectedUser(ActionRequest req, boolean checkPermission) throws PortalException, RemoteException, SystemException(Code)



getSelectedUser
public static User getSelectedUser(RenderRequest req) throws PortalException, RemoteException, SystemException(Code)



getSelectedUser
public static User getSelectedUser(RenderRequest req, boolean checkPermission) throws PortalException, RemoteException, SystemException(Code)



getStrutsAction
public static String getStrutsAction(HttpServletRequest req)(Code)



getSystemCommunityRoles
public static String[] getSystemCommunityRoles()(Code)



getSystemGroups
public static String[] getSystemGroups()(Code)



getSystemOrganizationRoles
public static String[] getSystemOrganizationRoles()(Code)



getSystemRoles
public static String[] getSystemRoles()(Code)



getURLWithSessionId
public static String getURLWithSessionId(String url, String sessionId)(Code)



getUploadPortletRequest
public static UploadPortletRequest getUploadPortletRequest(ActionRequest req)(Code)



getUploadServletRequest
public static UploadServletRequest getUploadServletRequest(HttpServletRequest httpReq)(Code)



getUptime
public static Date getUptime()(Code)



getUser
public static User getUser(HttpServletRequest req) throws PortalException, SystemException(Code)



getUser
public static User getUser(ActionRequest req) throws PortalException, SystemException(Code)



getUser
public static User getUser(RenderRequest req) throws PortalException, SystemException(Code)



getUserId
public static long getUserId(HttpServletRequest req)(Code)



getUserId
public static long getUserId(ActionRequest req)(Code)



getUserId
public static long getUserId(RenderRequest req)(Code)



getUserName
public static String getUserName(long userId, String defaultUserName)(Code)



getUserName
public static String getUserName(long userId, String defaultUserName, String userAttribute)(Code)



getUserName
public static String getUserName(long userId, String defaultUserName, HttpServletRequest req)(Code)



getUserName
public static String getUserName(long userId, String defaultUserName, String userAttribute, HttpServletRequest req)(Code)



getUserPassword
public static String getUserPassword(HttpSession ses)(Code)



getUserPassword
public static String getUserPassword(HttpServletRequest req)(Code)



getUserPassword
public static String getUserPassword(ActionRequest req)(Code)



getUserPassword
public static String getUserPassword(RenderRequest req)(Code)



getUserValue
public static String getUserValue(long userId, String param, String defaultValue) throws SystemException(Code)



isLayoutFriendliable
public static boolean isLayoutFriendliable(Layout layout)(Code)



isLayoutParentable
public static boolean isLayoutParentable(Layout layout)(Code)



isLayoutParentable
public static boolean isLayoutParentable(String type)(Code)



isLayoutSitemapable
public static boolean isLayoutSitemapable(Layout layout)(Code)



isMethodGet
public static boolean isMethodGet(PortletRequest req)(Code)



isMethodPost
public static boolean isMethodPost(PortletRequest req)(Code)



isReservedParameter
public static boolean isReservedParameter(String name)(Code)



isSystemGroup
public static boolean isSystemGroup(String groupName)(Code)



isSystemRole
public static boolean isSystemRole(String roleName)(Code)



isUpdateAvailable
public static boolean isUpdateAvailable() throws PortalException, SystemException(Code)



readDocumentFromFile
public static Document readDocumentFromFile(File file) throws DocumentException(Code)



readDocumentFromFile
public static Document readDocumentFromFile(File file, boolean validate) throws DocumentException(Code)



readDocumentFromStream
public static Document readDocumentFromStream(InputStream is) throws DocumentException(Code)



readDocumentFromStream
public static Document readDocumentFromStream(InputStream is, boolean validate) throws DocumentException(Code)



readDocumentFromURL
public static Document readDocumentFromURL(String url) throws DocumentException, IOException(Code)



readDocumentFromURL
public static Document readDocumentFromURL(String url, boolean validate) throws DocumentException, IOException(Code)



readDocumentFromXML
public static Document readDocumentFromXML(String xml) throws DocumentException(Code)



readDocumentFromXML
public static Document readDocumentFromXML(String xml, boolean validate) throws DocumentException(Code)



renderPage
public static void renderPage(StringMaker sm, ServletContext ctx, HttpServletRequest req, HttpServletResponse res, String path) throws IOException, ServletException(Code)



renderPortlet
public static void renderPortlet(StringMaker sm, ServletContext ctx, HttpServletRequest req, HttpServletResponse res, Portlet portlet, String queryString) throws IOException, ServletException(Code)



renderPortlet
public static void renderPortlet(StringMaker sm, ServletContext ctx, HttpServletRequest req, HttpServletResponse res, Portlet portlet, String queryString, String columnId, Integer columnPos, Integer columnCount) throws IOException, ServletException(Code)



renderPortlet
public static void renderPortlet(StringMaker sm, ServletContext ctx, HttpServletRequest req, HttpServletResponse res, Portlet portlet, String queryString, String columnId, Integer columnPos, Integer columnCount, String path) throws IOException, ServletException(Code)



sendError
public static void sendError(int status, Exception e, HttpServletRequest req, HttpServletResponse res) throws IOException, ServletException(Code)



setPageSubtitle
public static void setPageSubtitle(String subtitle, HttpServletRequest req)(Code)
Sets the subtitle for a page. This is just a hint and can be overridden by subsequent calls. The last call to this method wins.
Parameters:
  subtitle - the subtitle for a page
Parameters:
  req - the HTTP servlet request



setPageTitle
public static void setPageTitle(String title, HttpServletRequest req)(Code)
Sets the whole title for a page. This is just a hint and can be overridden by subsequent calls. The last call to this method wins.
Parameters:
  title - the whole title for a page
Parameters:
  req - the HTTP servlet request



storePreferences
public static void storePreferences(PortletPreferences prefs) throws IOException, ValidatorException(Code)



updatePortletMode
public static PortletMode updatePortletMode(String portletId, User user, Layout layout, PortletMode portletMode, HttpServletRequest req) throws PortalException, RemoteException, SystemException(Code)



updateWindowState
public static WindowState updateWindowState(String portletId, User user, Layout layout, WindowState windowState, HttpServletRequest req) throws PortalException, RemoteException, SystemException(Code)



Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.