Liferay 6.0.5

com.liferay.portal.util
Class PortalImpl

java.lang.Object
  extended by com.liferay.portal.util.PortalImpl
All Implemented Interfaces:
Portal

public class PortalImpl
extends Object
implements Portal


Field Summary
 
Fields inherited from interface com.liferay.portal.util.Portal
FRIENDLY_URL_SEPARATOR, PATH_IMAGE, PATH_MAIN, PATH_PORTAL_LAYOUT, PORTAL_REALM, PORTLET_XML_FILE_NAME_CUSTOM, PORTLET_XML_FILE_NAME_STANDARD, TEMP_OBFUSCATION_VALUE
 
Constructor Summary
PortalImpl()
           
 
Method Summary
protected  void addDefaultResource(ThemeDisplay themeDisplay, Layout layout, Portlet portlet, boolean portletActions)
           
 void addPageDescription(String description, javax.servlet.http.HttpServletRequest request)
          Adds the description for a page.
 void addPageKeywords(String keywords, javax.servlet.http.HttpServletRequest request)
          Adds the keywords for a page.
 void addPageSubtitle(String subtitle, javax.servlet.http.HttpServletRequest request)
          Adds the subtitle for a page.
 void addPageTitle(String title, javax.servlet.http.HttpServletRequest request)
          Adds the whole title for a page.
 void addPortalPortEventListener(PortalPortEventListener portalPortEventListener)
           
 void addPortletBreadcrumbEntry(javax.servlet.http.HttpServletRequest request, String title, String url)
           
 void addPortletDefaultResource(javax.servlet.http.HttpServletRequest request, Portlet portlet)
           
 String addPreservedParameters(ThemeDisplay themeDisplay, Layout layout, String url, boolean doAsUser)
          Adds preserved parameters such as doAsGroupId, doAsUserId, doAsUserLanguageId, and referrerPlid that should always be preserved as the user navigates through the portal.
 String addPreservedParameters(ThemeDisplay themeDisplay, String url)
          Adds preserved parameters such as doAsGroupId, doAsUserId, doAsUserLanguageId, and referrerPlid that should always be preserved as the user navigates through the portal.
 void clearRequestParameters(RenderRequest renderRequest)
           
 void copyRequestParameters(ActionRequest actionRequest, ActionResponse actionResponse)
           
 String escapeRedirect(String url)
           
protected  List<Portlet> filterControlPanelPortlets(Set<Portlet> portlets, String category, ThemeDisplay themeDisplay)
           
 String generateRandomKey(javax.servlet.http.HttpServletRequest request, String input)
           
 BaseModel<?> getBaseModel(Resource resource)
           
 BaseModel<?> getBaseModel(ResourcePermission resourcePermission)
           
 BaseModel<?> getBaseModel(String modelName, String primKey)
           
 long getBasicAuthUserId(javax.servlet.http.HttpServletRequest request)
           
 long getBasicAuthUserId(javax.servlet.http.HttpServletRequest request, long companyId)
           
 String getCDNHost()
          Deprecated. getCDNHost(boolean)
 String getCDNHost(boolean secure)
           
 String getCDNHostHttp()
           
 String getCDNHostHttps()
           
 String getClassName(long classNameId)
           
 long getClassNameId(Class<?> classObj)
           
 long getClassNameId(String value)
           
 String getClassNamePortletId(String className)
           
 String getCommunityLoginURL(ThemeDisplay themeDisplay)
           
 String[] getCommunityPermissions(javax.servlet.http.HttpServletRequest request)
           
 String[] getCommunityPermissions(PortletRequest portletRequest)
           
 Company getCompany(javax.servlet.http.HttpServletRequest request)
           
 Company getCompany(PortletRequest portletRequest)
           
 long getCompanyId(javax.servlet.http.HttpServletRequest request)
           
 long getCompanyId(PortletRequest portletRequest)
           
 long[] getCompanyIds()
           
 String getComputerAddress()
           
 String getComputerName()
           
 String getControlPanelCategory(String portletId, ThemeDisplay themeDisplay)
           
 String getControlPanelFullURL(long scopeGroupId, String ppid, Map<String,String[]> params)
           
 List<Portlet> getControlPanelPortlets(String category, ThemeDisplay themeDisplay)
           
 String getCurrentCompleteURL(javax.servlet.http.HttpServletRequest request)
           
 String getCurrentURL(javax.servlet.http.HttpServletRequest request)
           
 String getCurrentURL(PortletRequest portletRequest)
           
 String getCustomSQLFunctionIsNotNull()
           
 String getCustomSQLFunctionIsNull()
           
 Date getDate(int month, int day, int year)
           
 Date getDate(int month, int day, int year, int hour, int min, PortalException pe)
           
 Date getDate(int month, int day, int year, int hour, int min, TimeZone timeZone, PortalException pe)
           
 Date getDate(int month, int day, int year, PortalException pe)
           
 Date getDate(int month, int day, int year, TimeZone timeZone, PortalException pe)
           
 long getDefaultCompanyId()
           
 long getDigestAuthUserId(javax.servlet.http.HttpServletRequest request)
           
protected  long getDoAsUserId(javax.servlet.http.HttpServletRequest request, String doAsUserIdString, boolean alwaysAllowDoAsUser)
           
 Map<String,Serializable> getExpandoBridgeAttributes(ExpandoBridge expandoBridge, PortletRequest portletRequest)
           
 String getFacebookURL(Portlet portlet, String facebookCanvasPageURL, ThemeDisplay themeDisplay)
           
 String getFirstPageLayoutTypes(javax.servlet.jsp.PageContext pageContext)
           
 String getGlobalLibDir()
           
 String getGoogleGadgetURL(Portlet portlet, ThemeDisplay themeDisplay)
           
 String[] getGuestPermissions(javax.servlet.http.HttpServletRequest request)
           
 String[] getGuestPermissions(PortletRequest portletRequest)
           
 String getHomeURL(javax.servlet.http.HttpServletRequest request)
           
 String getHost(javax.servlet.http.HttpServletRequest request)
           
 String getHost(PortletRequest portletRequest)
           
 javax.servlet.http.HttpServletRequest getHttpServletRequest(PortletRequest portletRequest)
           
 javax.servlet.http.HttpServletResponse getHttpServletResponse(PortletResponse portletResponse)
           
 String getJsSafePortletId(String portletId)
           
 String getLayoutActualURL(Layout layout)
           
 String getLayoutActualURL(Layout layout, String mainPath)
           
 String getLayoutActualURL(long groupId, boolean privateLayout, String mainPath, String friendlyURL)
           
 String getLayoutActualURL(long groupId, boolean privateLayout, String mainPath, String friendlyURL, Map<String,String[]> params, Map<String,Object> requestContext)
           
 String getLayoutEditPage(Layout layout)
           
 String getLayoutEditPage(String type)
           
 String getLayoutFriendlyURL(Layout layout, ThemeDisplay themeDisplay)
           
 String getLayoutFriendlyURL(Layout layout, ThemeDisplay themeDisplay, Locale locale)
           
 String getLayoutFullURL(Layout layout, ThemeDisplay themeDisplay)
           
 String getLayoutFullURL(Layout layout, ThemeDisplay themeDisplay, boolean doAsUser)
           
 String getLayoutFullURL(long groupId, String portletId)
           
 String getLayoutFullURL(ThemeDisplay themeDisplay)
           
 String getLayoutSetFriendlyURL(LayoutSet layoutSet, ThemeDisplay themeDisplay)
           
 String getLayoutTarget(Layout layout)
           
 String getLayoutURL(Layout layout, ThemeDisplay themeDisplay)
           
 String getLayoutURL(Layout layout, ThemeDisplay themeDisplay, boolean doAsUser)
           
 String getLayoutURL(ThemeDisplay themeDisplay)
           
 String getLayoutViewPage(Layout layout)
           
 String getLayoutViewPage(String type)
           
 LiferayPortletResponse getLiferayPortletResponse(PortletResponse portletResponse)
           
 Locale getLocale(javax.servlet.http.HttpServletRequest request)
           
 Locale getLocale(RenderRequest renderRequest)
           
 String getNetvibesURL(Portlet portlet, ThemeDisplay themeDisplay)
           
 javax.servlet.http.HttpServletRequest getOriginalServletRequest(javax.servlet.http.HttpServletRequest request)
           
 long getParentGroupId(long groupId)
           
 String getPathContext()
           
 String getPathFriendlyURLPrivateGroup()
           
 String getPathFriendlyURLPrivateUser()
           
 String getPathFriendlyURLPublic()
           
 String getPathImage()
           
 String getPathMain()
           
 long getPlidFromFriendlyURL(long companyId, String friendlyURL)
           
 long getPlidFromPortletId(long groupId, boolean privateLayout, String portletId)
           
 long getPlidFromPortletId(long groupId, String portletId)
           
 String getPortalLibDir()
           
 int getPortalPort()
           
 Properties getPortalProperties()
           
 String getPortalURL(javax.servlet.http.HttpServletRequest request)
           
 String getPortalURL(javax.servlet.http.HttpServletRequest request, boolean secure)
           
 String getPortalURL(PortletRequest portletRequest)
           
 String getPortalURL(PortletRequest portletRequest, boolean secure)
           
 String getPortalURL(String serverName, int serverPort, boolean secure)
           
 String getPortalURL(ThemeDisplay themeDisplay)
           
 String getPortalWebDir()
           
 List<KeyValuePair> getPortletBreadcrumbList(javax.servlet.http.HttpServletRequest request)
           
 String getPortletDescription(Portlet portlet, javax.servlet.ServletContext servletContext, Locale locale)
           
 String getPortletDescription(Portlet portlet, User user)
           
 String getPortletDescription(String portletId, Locale locale)
           
 String getPortletDescription(String portletId, String languageId)
           
 String getPortletDescription(String portletId, User user)
           
 Object[] getPortletFriendlyURLMapper(long groupId, boolean privateLayout, String url, Map<String,String[]> params, Map<String,Object> requestContext)
           
 String getPortletId(javax.servlet.http.HttpServletRequest request)
           
 String getPortletId(PortletRequest portletRequest)
           
 String getPortletNamespace(String portletId)
           
 String getPortletTitle(Portlet portlet, Locale locale)
           
 String getPortletTitle(Portlet portlet, javax.servlet.ServletContext servletContext, Locale locale)
           
 String getPortletTitle(Portlet portlet, String languageId)
           
 String getPortletTitle(Portlet portlet, User user)
           
 String getPortletTitle(RenderResponse renderResponse)
           
 String getPortletTitle(String portletId, Locale locale)
           
 String getPortletTitle(String portletId, String languageId)
           
 String getPortletTitle(String portletId, User user)
           
 String getPortletXmlFileName()
           
 PortletPreferences getPreferences(javax.servlet.http.HttpServletRequest request)
           
 PreferencesValidator getPreferencesValidator(Portlet portlet)
           
 long getScopeGroupId(javax.servlet.http.HttpServletRequest request)
           
 long getScopeGroupId(javax.servlet.http.HttpServletRequest request, String portletId)
           
 long getScopeGroupId(Layout layout)
           
 long getScopeGroupId(Layout layout, String portletId)
           
 long getScopeGroupId(long plid)
           
 long getScopeGroupId(PortletRequest portletRequest)
           
 User getSelectedUser(javax.servlet.http.HttpServletRequest request)
           
 User getSelectedUser(javax.servlet.http.HttpServletRequest request, boolean checkPermission)
           
 User getSelectedUser(PortletRequest portletRequest)
           
 User getSelectedUser(PortletRequest portletRequest, boolean checkPermission)
           
 javax.servlet.ServletContext getServletContext(Portlet portlet, javax.servlet.ServletContext servletContext)
           
 SocialEquityActionMapping getSocialEquityActionMapping(String name, String actionId)
           
 List<SocialEquityActionMapping> getSocialEquityActionMappings(String name)
           
 String[] getSocialEquityClassNames()
           
 String getStaticResourceURL(javax.servlet.http.HttpServletRequest request, String uri)
           
 String getStaticResourceURL(javax.servlet.http.HttpServletRequest request, String uri, long timestamp)
           
 String getStaticResourceURL(javax.servlet.http.HttpServletRequest request, String uri, String queryString)
           
 String getStaticResourceURL(javax.servlet.http.HttpServletRequest request, String uri, String queryString, long timestamp)
           
 String getStrutsAction(javax.servlet.http.HttpServletRequest request)
           
 String[] getSystemCommunityRoles()
           
 String[] getSystemGroups()
           
 String[] getSystemOrganizationRoles()
           
 String[] getSystemRoles()
           
 UploadPortletRequest getUploadPortletRequest(PortletRequest portletRequest)
           
 UploadServletRequest getUploadServletRequest(javax.servlet.http.HttpServletRequest request)
           
 Date getUptime()
           
 String getURLWithSessionId(String url, String sessionId)
           
 User getUser(javax.servlet.http.HttpServletRequest request)
           
 User getUser(PortletRequest portletRequest)
           
 long getUserId(javax.servlet.http.HttpServletRequest request)
           
 long getUserId(PortletRequest portletRequest)
           
 String getUserName(long userId, String defaultUserName)
           
 String getUserName(long userId, String defaultUserName, javax.servlet.http.HttpServletRequest request)
           
 String getUserName(long userId, String defaultUserName, String userAttribute)
           
 String getUserName(long userId, String defaultUserName, String userAttribute, javax.servlet.http.HttpServletRequest request)
           
 String getUserPassword(javax.servlet.http.HttpServletRequest request)
           
 String getUserPassword(javax.servlet.http.HttpSession session)
           
 String getUserPassword(PortletRequest portletRequest)
           
 String getUserValue(long userId, String param, String defaultValue)
           
 long getValidUserId(long companyId, long userId)
           
 String getWidgetURL(Portlet portlet, ThemeDisplay themeDisplay)
           
 boolean isAllowAddPortletDefaultResource(javax.servlet.http.HttpServletRequest request, Portlet portlet)
           
 boolean isCommunityAdmin(User user, long groupId)
           
 boolean isCommunityOwner(User user, long groupId)
           
 boolean isCompanyAdmin(User user)
           
 boolean isControlPanelPortlet(String portletId, String category, ThemeDisplay themeDisplay)
           
 boolean isControlPanelPortlet(String portletId, ThemeDisplay themeDisplay)
           
 boolean isLayoutFirstPageable(Layout layout)
           
 boolean isLayoutFirstPageable(String type)
           
 boolean isLayoutFriendliable(Layout layout)
           
 boolean isLayoutFriendliable(String type)
           
 boolean isLayoutParentable(Layout layout)
           
 boolean isLayoutParentable(String type)
           
 boolean isLayoutSitemapable(Layout layout)
           
 boolean isMethodGet(PortletRequest portletRequest)
           
 boolean isMethodPost(PortletRequest portletRequest)
           
 boolean isOmniadmin(long userId)
           
 boolean isReservedParameter(String name)
           
 boolean isSystemGroup(String groupName)
           
 boolean isSystemRole(String roleName)
           
 boolean isUpdateAvailable()
           
 boolean isValidResourceId(String resourceId)
           
protected  void notifyPortalPortEventListeners(int portalPort)
           
 void removePortalPortEventListener(PortalPortEventListener portalPortEventListener)
           
 String renderPage(javax.servlet.ServletContext servletContext, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, String path)
           
 String renderPortlet(javax.servlet.ServletContext servletContext, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, Portlet portlet, String queryString, boolean writeOutput)
           
 String renderPortlet(javax.servlet.ServletContext servletContext, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, Portlet portlet, String queryString, String columnId, Integer columnPos, Integer columnCount, boolean writeOutput)
           
 String renderPortlet(javax.servlet.ServletContext servletContext, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, Portlet portlet, String queryString, String columnId, Integer columnPos, Integer columnCount, String path, boolean writeOutput)
           
 void sendError(Exception e, ActionRequest actionRequest, ActionResponse actionResponse)
           
 void sendError(Exception e, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
           
 void sendError(int status, Exception e, ActionRequest actionRequest, ActionResponse actionResponse)
           
 void sendError(int status, Exception e, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
           
 void setPageDescription(String description, javax.servlet.http.HttpServletRequest request)
          Sets the description for a page.
 void setPageKeywords(String keywords, javax.servlet.http.HttpServletRequest request)
          Sets the keywords for a page.
 void setPageSubtitle(String subtitle, javax.servlet.http.HttpServletRequest request)
          Sets the subtitle for a page.
 void setPageTitle(String title, javax.servlet.http.HttpServletRequest request)
          Sets the whole title for a page.
 void setPortalPort(javax.servlet.http.HttpServletRequest request)
          Sets the port obtained on the first request to the portal.
 void storePreferences(PortletPreferences preferences)
           
 String transformCustomSQL(String sql)
           
 PortletMode updatePortletMode(String portletId, User user, Layout layout, PortletMode portletMode, javax.servlet.http.HttpServletRequest request)
           
 WindowState updateWindowState(String portletId, User user, Layout layout, WindowState windowState, javax.servlet.http.HttpServletRequest request)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PortalImpl

public PortalImpl()
Method Detail

addPageDescription

public void addPageDescription(String description,
                               javax.servlet.http.HttpServletRequest request)
Adds the description for a page. This appends to the existing page description.

Specified by:
addPageDescription in interface Portal

addPageKeywords

public void addPageKeywords(String keywords,
                            javax.servlet.http.HttpServletRequest request)
Adds the keywords for a page. This appends to the existing page keywords.

Specified by:
addPageKeywords in interface Portal

addPageSubtitle

public void addPageSubtitle(String subtitle,
                            javax.servlet.http.HttpServletRequest request)
Adds the subtitle for a page. This appends to the existing page subtitle.

Specified by:
addPageSubtitle in interface Portal

addPageTitle

public void addPageTitle(String title,
                         javax.servlet.http.HttpServletRequest request)
Adds the whole title for a page. This appends to the existing page whole title.

Specified by:
addPageTitle in interface Portal

addPortalPortEventListener

public void addPortalPortEventListener(PortalPortEventListener portalPortEventListener)
Specified by:
addPortalPortEventListener in interface Portal

addPortletBreadcrumbEntry

public void addPortletBreadcrumbEntry(javax.servlet.http.HttpServletRequest request,
                                      String title,
                                      String url)
Specified by:
addPortletBreadcrumbEntry in interface Portal

addPortletDefaultResource

public void addPortletDefaultResource(javax.servlet.http.HttpServletRequest request,
                                      Portlet portlet)
                               throws PortalException,
                                      SystemException
Specified by:
addPortletDefaultResource in interface Portal
Throws:
PortalException
SystemException

addPreservedParameters

public String addPreservedParameters(ThemeDisplay themeDisplay,
                                     Layout layout,
                                     String url,
                                     boolean doAsUser)
Description copied from interface: Portal
Adds preserved parameters such as doAsGroupId, doAsUserId, doAsUserLanguageId, and referrerPlid that should always be preserved as the user navigates through the portal. If doAsUser is false, then doAsUserId and doAsUserLanguageId will never be added.

Specified by:
addPreservedParameters in interface Portal

addPreservedParameters

public String addPreservedParameters(ThemeDisplay themeDisplay,
                                     String url)
Description copied from interface: Portal
Adds preserved parameters such as doAsGroupId, doAsUserId, doAsUserLanguageId, and referrerPlid that should always be preserved as the user navigates through the portal.

Specified by:
addPreservedParameters in interface Portal

clearRequestParameters

public void clearRequestParameters(RenderRequest renderRequest)
Specified by:
clearRequestParameters in interface Portal

copyRequestParameters

public void copyRequestParameters(ActionRequest actionRequest,
                                  ActionResponse actionResponse)
Specified by:
copyRequestParameters in interface Portal

escapeRedirect

public String escapeRedirect(String url)
Specified by:
escapeRedirect in interface Portal

generateRandomKey

public String generateRandomKey(javax.servlet.http.HttpServletRequest request,
                                String input)
Specified by:
generateRandomKey in interface Portal

getBaseModel

public BaseModel<?> getBaseModel(Resource resource)
                          throws PortalException,
                                 SystemException
Specified by:
getBaseModel in interface Portal
Throws:
PortalException
SystemException

getBaseModel

public BaseModel<?> getBaseModel(ResourcePermission resourcePermission)
                          throws PortalException,
                                 SystemException
Specified by:
getBaseModel in interface Portal
Throws:
PortalException
SystemException

getBaseModel

public BaseModel<?> getBaseModel(String modelName,
                                 String primKey)
                          throws PortalException,
                                 SystemException
Specified by:
getBaseModel in interface Portal
Throws:
PortalException
SystemException

getBasicAuthUserId

public long getBasicAuthUserId(javax.servlet.http.HttpServletRequest request)
                        throws PortalException,
                               SystemException
Specified by:
getBasicAuthUserId in interface Portal
Throws:
PortalException
SystemException

getBasicAuthUserId

public long getBasicAuthUserId(javax.servlet.http.HttpServletRequest request,
                               long companyId)
                        throws PortalException,
                               SystemException
Specified by:
getBasicAuthUserId in interface Portal
Throws:
PortalException
SystemException

getCDNHost

public String getCDNHost()
Deprecated. getCDNHost(boolean)

Specified by:
getCDNHost in interface Portal

getCDNHost

public String getCDNHost(boolean secure)
Specified by:
getCDNHost in interface Portal

getCDNHostHttp

public String getCDNHostHttp()
Specified by:
getCDNHostHttp in interface Portal

getCDNHostHttps

public String getCDNHostHttps()
Specified by:
getCDNHostHttps in interface Portal

getClassName

public String getClassName(long classNameId)
Specified by:
getClassName in interface Portal

getClassNameId

public long getClassNameId(Class<?> classObj)
Specified by:
getClassNameId in interface Portal

getClassNameId

public long getClassNameId(String value)
Specified by:
getClassNameId in interface Portal

getClassNamePortletId

public String getClassNamePortletId(String className)
Specified by:
getClassNamePortletId in interface Portal

getCommunityLoginURL

public String getCommunityLoginURL(ThemeDisplay themeDisplay)
                            throws PortalException,
                                   SystemException
Specified by:
getCommunityLoginURL in interface Portal
Throws:
PortalException
SystemException

getCommunityPermissions

public String[] getCommunityPermissions(javax.servlet.http.HttpServletRequest request)
Specified by:
getCommunityPermissions in interface Portal

getCommunityPermissions

public String[] getCommunityPermissions(PortletRequest portletRequest)
Specified by:
getCommunityPermissions in interface Portal

getCompany

public Company getCompany(javax.servlet.http.HttpServletRequest request)
                   throws PortalException,
                          SystemException
Specified by:
getCompany in interface Portal
Throws:
PortalException
SystemException

getCompany

public Company getCompany(PortletRequest portletRequest)
                   throws PortalException,
                          SystemException
Specified by:
getCompany in interface Portal
Throws:
PortalException
SystemException

getCompanyId

public long getCompanyId(javax.servlet.http.HttpServletRequest request)
Specified by:
getCompanyId in interface Portal

getCompanyId

public long getCompanyId(PortletRequest portletRequest)
Specified by:
getCompanyId in interface Portal

getCompanyIds

public long[] getCompanyIds()
Specified by:
getCompanyIds in interface Portal

getComputerAddress

public String getComputerAddress()
Specified by:
getComputerAddress in interface Portal

getComputerName

public String getComputerName()
Specified by:
getComputerName in interface Portal

getControlPanelCategory

public String getControlPanelCategory(String portletId,
                                      ThemeDisplay themeDisplay)
                               throws SystemException
Specified by:
getControlPanelCategory in interface Portal
Throws:
SystemException

getControlPanelFullURL

public String getControlPanelFullURL(long scopeGroupId,
                                     String ppid,
                                     Map<String,String[]> params)
                              throws PortalException,
                                     SystemException
Specified by:
getControlPanelFullURL in interface Portal
Throws:
PortalException
SystemException

getControlPanelPortlets

public List<Portlet> getControlPanelPortlets(String category,
                                             ThemeDisplay themeDisplay)
                                      throws SystemException
Specified by:
getControlPanelPortlets in interface Portal
Throws:
SystemException

getCurrentCompleteURL

public String getCurrentCompleteURL(javax.servlet.http.HttpServletRequest request)
Specified by:
getCurrentCompleteURL in interface Portal

getCurrentURL

public String getCurrentURL(javax.servlet.http.HttpServletRequest request)
Specified by:
getCurrentURL in interface Portal

getCurrentURL

public String getCurrentURL(PortletRequest portletRequest)
Specified by:
getCurrentURL in interface Portal

getCustomSQLFunctionIsNotNull

public String getCustomSQLFunctionIsNotNull()
Specified by:
getCustomSQLFunctionIsNotNull in interface Portal

getCustomSQLFunctionIsNull

public String getCustomSQLFunctionIsNull()
Specified by:
getCustomSQLFunctionIsNull in interface Portal

getDate

public Date getDate(int month,
                    int day,
                    int year)
Specified by:
getDate in interface Portal

getDate

public Date getDate(int month,
                    int day,
                    int year,
                    int hour,
                    int min,
                    PortalException pe)
             throws PortalException
Specified by:
getDate in interface Portal
Throws:
PortalException

getDate

public Date getDate(int month,
                    int day,
                    int year,
                    int hour,
                    int min,
                    TimeZone timeZone,
                    PortalException pe)
             throws PortalException
Specified by:
getDate in interface Portal
Throws:
PortalException

getDate

public Date getDate(int month,
                    int day,
                    int year,
                    PortalException pe)
             throws PortalException
Specified by:
getDate in interface Portal
Throws:
PortalException

getDate

public Date getDate(int month,
                    int day,
                    int year,
                    TimeZone timeZone,
                    PortalException pe)
             throws PortalException
Specified by:
getDate in interface Portal
Throws:
PortalException

getDefaultCompanyId

public long getDefaultCompanyId()
Specified by:
getDefaultCompanyId in interface Portal

getDigestAuthUserId

public long getDigestAuthUserId(javax.servlet.http.HttpServletRequest request)
                         throws PortalException,
                                SystemException
Specified by:
getDigestAuthUserId in interface Portal
Throws:
PortalException
SystemException

getExpandoBridgeAttributes

public Map<String,Serializable> getExpandoBridgeAttributes(ExpandoBridge expandoBridge,
                                                           PortletRequest portletRequest)
                                                    throws PortalException,
                                                           SystemException
Specified by:
getExpandoBridgeAttributes in interface Portal
Throws:
PortalException
SystemException

getFacebookURL

public String getFacebookURL(Portlet portlet,
                             String facebookCanvasPageURL,
                             ThemeDisplay themeDisplay)
                      throws PortalException,
                             SystemException
Specified by:
getFacebookURL in interface Portal
Throws:
PortalException
SystemException

getFirstPageLayoutTypes

public String getFirstPageLayoutTypes(javax.servlet.jsp.PageContext pageContext)
Specified by:
getFirstPageLayoutTypes in interface Portal

getGlobalLibDir

public String getGlobalLibDir()
Specified by:
getGlobalLibDir in interface Portal

getGoogleGadgetURL

public String getGoogleGadgetURL(Portlet portlet,
                                 ThemeDisplay themeDisplay)
                          throws PortalException,
                                 SystemException
Specified by:
getGoogleGadgetURL in interface Portal
Throws:
PortalException
SystemException

getGuestPermissions

public String[] getGuestPermissions(javax.servlet.http.HttpServletRequest request)
Specified by:
getGuestPermissions in interface Portal

getGuestPermissions

public String[] getGuestPermissions(PortletRequest portletRequest)
Specified by:
getGuestPermissions in interface Portal

getHomeURL

public String getHomeURL(javax.servlet.http.HttpServletRequest request)
                  throws PortalException,
                         SystemException
Specified by:
getHomeURL in interface Portal
Throws:
PortalException
SystemException

getHost

public String getHost(javax.servlet.http.HttpServletRequest request)
Specified by:
getHost in interface Portal

getHost

public String getHost(PortletRequest portletRequest)
Specified by:
getHost in interface Portal

getHttpServletRequest

public javax.servlet.http.HttpServletRequest getHttpServletRequest(PortletRequest portletRequest)
Specified by:
getHttpServletRequest in interface Portal

getHttpServletResponse

public javax.servlet.http.HttpServletResponse getHttpServletResponse(PortletResponse portletResponse)
Specified by:
getHttpServletResponse in interface Portal

getJsSafePortletId

public String getJsSafePortletId(String portletId)
Specified by:
getJsSafePortletId in interface Portal

getLayoutActualURL

public String getLayoutActualURL(Layout layout)
Specified by:
getLayoutActualURL in interface Portal

getLayoutActualURL

public String getLayoutActualURL(Layout layout,
                                 String mainPath)
Specified by:
getLayoutActualURL in interface Portal

getLayoutActualURL

public String getLayoutActualURL(long groupId,
                                 boolean privateLayout,
                                 String mainPath,
                                 String friendlyURL)
                          throws PortalException,
                                 SystemException
Specified by:
getLayoutActualURL in interface Portal
Throws:
PortalException
SystemException

getLayoutActualURL

public String getLayoutActualURL(long groupId,
                                 boolean privateLayout,
                                 String mainPath,
                                 String friendlyURL,
                                 Map<String,String[]> params,
                                 Map<String,Object> requestContext)
                          throws PortalException,
                                 SystemException
Specified by:
getLayoutActualURL in interface Portal
Throws:
PortalException
SystemException

getLayoutEditPage

public String getLayoutEditPage(Layout layout)
Specified by:
getLayoutEditPage in interface Portal

getLayoutEditPage

public String getLayoutEditPage(String type)
Specified by:
getLayoutEditPage in interface Portal

getLayoutFriendlyURL

public String getLayoutFriendlyURL(Layout layout,
                                   ThemeDisplay themeDisplay)
                            throws PortalException,
                                   SystemException
Specified by:
getLayoutFriendlyURL in interface Portal
Throws:
PortalException
SystemException

getLayoutFriendlyURL

public String getLayoutFriendlyURL(Layout layout,
                                   ThemeDisplay themeDisplay,
                                   Locale locale)
                            throws PortalException,
                                   SystemException
Specified by:
getLayoutFriendlyURL in interface Portal
Throws:
PortalException
SystemException

getLayoutFullURL

public String getLayoutFullURL(Layout layout,
                               ThemeDisplay themeDisplay)
                        throws PortalException,
                               SystemException
Specified by:
getLayoutFullURL in interface Portal
Throws:
PortalException
SystemException

getLayoutFullURL

public String getLayoutFullURL(Layout layout,
                               ThemeDisplay themeDisplay,
                               boolean doAsUser)
                        throws PortalException,
                               SystemException
Specified by:
getLayoutFullURL in interface Portal
Throws:
PortalException
SystemException

getLayoutFullURL

public String getLayoutFullURL(long groupId,
                               String portletId)
                        throws PortalException,
                               SystemException
Specified by:
getLayoutFullURL in interface Portal
Throws:
PortalException
SystemException

getLayoutFullURL

public String getLayoutFullURL(ThemeDisplay themeDisplay)
                        throws PortalException,
                               SystemException
Specified by:
getLayoutFullURL in interface Portal
Throws:
PortalException
SystemException

getLayoutSetFriendlyURL

public String getLayoutSetFriendlyURL(LayoutSet layoutSet,
                                      ThemeDisplay themeDisplay)
                               throws PortalException,
                                      SystemException
Specified by:
getLayoutSetFriendlyURL in interface Portal
Throws:
PortalException
SystemException

getLayoutTarget

public String getLayoutTarget(Layout layout)
Specified by:
getLayoutTarget in interface Portal

getLayoutURL

public String getLayoutURL(Layout layout,
                           ThemeDisplay themeDisplay)
                    throws PortalException,
                           SystemException
Specified by:
getLayoutURL in interface Portal
Throws:
PortalException
SystemException

getLayoutURL

public String getLayoutURL(Layout layout,
                           ThemeDisplay themeDisplay,
                           boolean doAsUser)
                    throws PortalException,
                           SystemException
Specified by:
getLayoutURL in interface Portal
Throws:
PortalException
SystemException

getLayoutURL

public String getLayoutURL(ThemeDisplay themeDisplay)
                    throws PortalException,
                           SystemException
Specified by:
getLayoutURL in interface Portal
Throws:
PortalException
SystemException

getLayoutViewPage

public String getLayoutViewPage(Layout layout)
Specified by:
getLayoutViewPage in interface Portal

getLayoutViewPage

public String getLayoutViewPage(String type)
Specified by:
getLayoutViewPage in interface Portal

getLiferayPortletResponse

public LiferayPortletResponse getLiferayPortletResponse(PortletResponse portletResponse)
Specified by:
getLiferayPortletResponse in interface Portal

getLocale

public Locale getLocale(javax.servlet.http.HttpServletRequest request)
Specified by:
getLocale in interface Portal

getLocale

public Locale getLocale(RenderRequest renderRequest)
Specified by:
getLocale in interface Portal

getNetvibesURL

public String getNetvibesURL(Portlet portlet,
                             ThemeDisplay themeDisplay)
                      throws PortalException,
                             SystemException
Specified by:
getNetvibesURL in interface Portal
Throws:
PortalException
SystemException

getOriginalServletRequest

public javax.servlet.http.HttpServletRequest getOriginalServletRequest(javax.servlet.http.HttpServletRequest request)
Specified by:
getOriginalServletRequest in interface Portal

getParentGroupId

public long getParentGroupId(long groupId)
                      throws PortalException,
                             SystemException
Specified by:
getParentGroupId in interface Portal
Throws:
PortalException
SystemException

getPathContext

public String getPathContext()
Specified by:
getPathContext in interface Portal

getPathFriendlyURLPrivateGroup

public String getPathFriendlyURLPrivateGroup()
Specified by:
getPathFriendlyURLPrivateGroup in interface Portal

getPathFriendlyURLPrivateUser

public String getPathFriendlyURLPrivateUser()
Specified by:
getPathFriendlyURLPrivateUser in interface Portal

getPathFriendlyURLPublic

public String getPathFriendlyURLPublic()
Specified by:
getPathFriendlyURLPublic in interface Portal

getPathImage

public String getPathImage()
Specified by:
getPathImage in interface Portal

getPathMain

public String getPathMain()
Specified by:
getPathMain in interface Portal

getPlidFromFriendlyURL

public long getPlidFromFriendlyURL(long companyId,
                                   String friendlyURL)
Specified by:
getPlidFromFriendlyURL in interface Portal

getPlidFromPortletId

public long getPlidFromPortletId(long groupId,
                                 boolean privateLayout,
                                 String portletId)
                          throws PortalException,
                                 SystemException
Specified by:
getPlidFromPortletId in interface Portal
Throws:
PortalException
SystemException

getPlidFromPortletId

public long getPlidFromPortletId(long groupId,
                                 String portletId)
                          throws PortalException,
                                 SystemException
Specified by:
getPlidFromPortletId in interface Portal
Throws:
PortalException
SystemException

getPortalLibDir

public String getPortalLibDir()
Specified by:
getPortalLibDir in interface Portal

getPortalPort

public int getPortalPort()
Specified by:
getPortalPort in interface Portal

getPortalProperties

public Properties getPortalProperties()
Specified by:
getPortalProperties in interface Portal

getPortalURL

public String getPortalURL(javax.servlet.http.HttpServletRequest request)
Specified by:
getPortalURL in interface Portal

getPortalURL

public String getPortalURL(javax.servlet.http.HttpServletRequest request,
                           boolean secure)
Specified by:
getPortalURL in interface Portal

getPortalURL

public String getPortalURL(PortletRequest portletRequest)
Specified by:
getPortalURL in interface Portal

getPortalURL

public String getPortalURL(PortletRequest portletRequest,
                           boolean secure)
Specified by:
getPortalURL in interface Portal

getPortalURL

public String getPortalURL(String serverName,
                           int serverPort,
                           boolean secure)
Specified by:
getPortalURL in interface Portal

getPortalURL

public String getPortalURL(ThemeDisplay themeDisplay)
                    throws PortalException,
                           SystemException
Specified by:
getPortalURL in interface Portal
Throws:
PortalException
SystemException

getPortalWebDir

public String getPortalWebDir()
Specified by:
getPortalWebDir in interface Portal

getPortletBreadcrumbList

public List<KeyValuePair> getPortletBreadcrumbList(javax.servlet.http.HttpServletRequest request)
Specified by:
getPortletBreadcrumbList in interface Portal

getPortletDescription

public String getPortletDescription(Portlet portlet,
                                    javax.servlet.ServletContext servletContext,
                                    Locale locale)
Specified by:
getPortletDescription in interface Portal

getPortletDescription

public String getPortletDescription(Portlet portlet,
                                    User user)
Specified by:
getPortletDescription in interface Portal

getPortletDescription

public String getPortletDescription(String portletId,
                                    Locale locale)
Specified by:
getPortletDescription in interface Portal

getPortletDescription

public String getPortletDescription(String portletId,
                                    String languageId)
Specified by:
getPortletDescription in interface Portal

getPortletDescription

public String getPortletDescription(String portletId,
                                    User user)
Specified by:
getPortletDescription in interface Portal

getPortletFriendlyURLMapper

public Object[] getPortletFriendlyURLMapper(long groupId,
                                            boolean privateLayout,
                                            String url,
                                            Map<String,String[]> params,
                                            Map<String,Object> requestContext)
                                     throws PortalException,
                                            SystemException
Throws:
PortalException
SystemException

getPortletId

public String getPortletId(javax.servlet.http.HttpServletRequest request)
Specified by:
getPortletId in interface Portal

getPortletId

public String getPortletId(PortletRequest portletRequest)
Specified by:
getPortletId in interface Portal

getPortletNamespace

public String getPortletNamespace(String portletId)
Specified by:
getPortletNamespace in interface Portal

getPortletTitle

public String getPortletTitle(Portlet portlet,
                              Locale locale)
Specified by:
getPortletTitle in interface Portal

getPortletTitle

public String getPortletTitle(Portlet portlet,
                              String languageId)
Specified by:
getPortletTitle in interface Portal

getPortletTitle

public String getPortletTitle(Portlet portlet,
                              javax.servlet.ServletContext servletContext,
                              Locale locale)
Specified by:
getPortletTitle in interface Portal

getPortletTitle

public String getPortletTitle(Portlet portlet,
                              User user)
Specified by:
getPortletTitle in interface Portal

getPortletTitle

public String getPortletTitle(RenderResponse renderResponse)
Specified by:
getPortletTitle in interface Portal

getPortletTitle

public String getPortletTitle(String portletId,
                              Locale locale)
Specified by:
getPortletTitle in interface Portal

getPortletTitle

public String getPortletTitle(String portletId,
                              String languageId)
Specified by:
getPortletTitle in interface Portal

getPortletTitle

public String getPortletTitle(String portletId,
                              User user)
Specified by:
getPortletTitle in interface Portal

getPortletXmlFileName

public String getPortletXmlFileName()
                             throws SystemException
Specified by:
getPortletXmlFileName in interface Portal
Throws:
SystemException

getPreferences

public PortletPreferences getPreferences(javax.servlet.http.HttpServletRequest request)
Specified by:
getPreferences in interface Portal

getPreferencesValidator

public PreferencesValidator getPreferencesValidator(Portlet portlet)
Specified by:
getPreferencesValidator in interface Portal

getScopeGroupId

public long getScopeGroupId(javax.servlet.http.HttpServletRequest request)
                     throws PortalException,
                            SystemException
Specified by:
getScopeGroupId in interface Portal
Throws:
PortalException
SystemException

getScopeGroupId

public long getScopeGroupId(javax.servlet.http.HttpServletRequest request,
                            String portletId)
                     throws PortalException,
                            SystemException
Specified by:
getScopeGroupId in interface Portal
Throws:
PortalException
SystemException

getScopeGroupId

public long getScopeGroupId(Layout layout)
Specified by:
getScopeGroupId in interface Portal

getScopeGroupId

public long getScopeGroupId(Layout layout,
                            String portletId)
Specified by:
getScopeGroupId in interface Portal

getScopeGroupId

public long getScopeGroupId(long plid)
Specified by:
getScopeGroupId in interface Portal

getScopeGroupId

public long getScopeGroupId(PortletRequest portletRequest)
                     throws PortalException,
                            SystemException
Specified by:
getScopeGroupId in interface Portal
Throws:
PortalException
SystemException

getSelectedUser

public User getSelectedUser(javax.servlet.http.HttpServletRequest request)
                     throws PortalException,
                            SystemException
Specified by:
getSelectedUser in interface Portal
Throws:
PortalException
SystemException

getSelectedUser

public User getSelectedUser(javax.servlet.http.HttpServletRequest request,
                            boolean checkPermission)
                     throws PortalException,
                            SystemException
Specified by:
getSelectedUser in interface Portal
Throws:
PortalException
SystemException

getSelectedUser

public User getSelectedUser(PortletRequest portletRequest)
                     throws PortalException,
                            SystemException
Specified by:
getSelectedUser in interface Portal
Throws:
PortalException
SystemException

getSelectedUser

public User getSelectedUser(PortletRequest portletRequest,
                            boolean checkPermission)
                     throws PortalException,
                            SystemException
Specified by:
getSelectedUser in interface Portal
Throws:
PortalException
SystemException

getServletContext

public javax.servlet.ServletContext getServletContext(Portlet portlet,
                                                      javax.servlet.ServletContext servletContext)
Specified by:
getServletContext in interface Portal

getSocialEquityActionMapping

public SocialEquityActionMapping getSocialEquityActionMapping(String name,
                                                              String actionId)
Specified by:
getSocialEquityActionMapping in interface Portal

getSocialEquityActionMappings

public List<SocialEquityActionMapping> getSocialEquityActionMappings(String name)
Specified by:
getSocialEquityActionMappings in interface Portal

getSocialEquityClassNames

public String[] getSocialEquityClassNames()
Specified by:
getSocialEquityClassNames in interface Portal

getStaticResourceURL

public String getStaticResourceURL(javax.servlet.http.HttpServletRequest request,
                                   String uri)
Specified by:
getStaticResourceURL in interface Portal

getStaticResourceURL

public String getStaticResourceURL(javax.servlet.http.HttpServletRequest request,
                                   String uri,
                                   long timestamp)
Specified by:
getStaticResourceURL in interface Portal

getStaticResourceURL

public String getStaticResourceURL(javax.servlet.http.HttpServletRequest request,
                                   String uri,
                                   String queryString)
Specified by:
getStaticResourceURL in interface Portal

getStaticResourceURL

public String getStaticResourceURL(javax.servlet.http.HttpServletRequest request,
                                   String uri,
                                   String queryString,
                                   long timestamp)
Specified by:
getStaticResourceURL in interface Portal

getStrutsAction

public String getStrutsAction(javax.servlet.http.HttpServletRequest request)
Specified by:
getStrutsAction in interface Portal

getSystemCommunityRoles

public String[] getSystemCommunityRoles()
Specified by:
getSystemCommunityRoles in interface Portal

getSystemGroups

public String[] getSystemGroups()
Specified by:
getSystemGroups in interface Portal

getSystemOrganizationRoles

public String[] getSystemOrganizationRoles()
Specified by:
getSystemOrganizationRoles in interface Portal

getSystemRoles

public String[] getSystemRoles()
Specified by:
getSystemRoles in interface Portal

getUploadServletRequest

public UploadServletRequest getUploadServletRequest(javax.servlet.http.HttpServletRequest request)
Specified by:
getUploadServletRequest in interface Portal

getUploadPortletRequest

public UploadPortletRequest getUploadPortletRequest(PortletRequest portletRequest)
Specified by:
getUploadPortletRequest in interface Portal

getUptime

public Date getUptime()
Specified by:
getUptime in interface Portal

getURLWithSessionId

public String getURLWithSessionId(String url,
                                  String sessionId)
Specified by:
getURLWithSessionId in interface Portal

getUser

public User getUser(javax.servlet.http.HttpServletRequest request)
             throws PortalException,
                    SystemException
Specified by:
getUser in interface Portal
Throws:
PortalException
SystemException

getUser

public User getUser(PortletRequest portletRequest)
             throws PortalException,
                    SystemException
Specified by:
getUser in interface Portal
Throws:
PortalException
SystemException

getUserId

public long getUserId(javax.servlet.http.HttpServletRequest request)
Specified by:
getUserId in interface Portal

getUserId

public long getUserId(PortletRequest portletRequest)
Specified by:
getUserId in interface Portal

getUserName

public String getUserName(long userId,
                          String defaultUserName)
Specified by:
getUserName in interface Portal

getUserName

public String getUserName(long userId,
                          String defaultUserName,
                          javax.servlet.http.HttpServletRequest request)
Specified by:
getUserName in interface Portal

getUserName

public String getUserName(long userId,
                          String defaultUserName,
                          String userAttribute)
Specified by:
getUserName in interface Portal

getUserName

public String getUserName(long userId,
                          String defaultUserName,
                          String userAttribute,
                          javax.servlet.http.HttpServletRequest request)
Specified by:
getUserName in interface Portal

getUserPassword

public String getUserPassword(javax.servlet.http.HttpServletRequest request)
Specified by:
getUserPassword in interface Portal

getUserPassword

public String getUserPassword(javax.servlet.http.HttpSession session)
Specified by:
getUserPassword in interface Portal

getUserPassword

public String getUserPassword(PortletRequest portletRequest)
Specified by:
getUserPassword in interface Portal

getUserValue

public String getUserValue(long userId,
                           String param,
                           String defaultValue)
                    throws SystemException
Specified by:
getUserValue in interface Portal
Throws:
SystemException

getValidUserId

public long getValidUserId(long companyId,
                           long userId)
                    throws PortalException,
                           SystemException
Specified by:
getValidUserId in interface Portal
Throws:
PortalException
SystemException

getWidgetURL

public String getWidgetURL(Portlet portlet,
                           ThemeDisplay themeDisplay)
                    throws PortalException,
                           SystemException
Specified by:
getWidgetURL in interface Portal
Throws:
PortalException
SystemException

isAllowAddPortletDefaultResource

public boolean isAllowAddPortletDefaultResource(javax.servlet.http.HttpServletRequest request,
                                                Portlet portlet)
                                         throws PortalException,
                                                SystemException
Specified by:
isAllowAddPortletDefaultResource in interface Portal
Throws:
PortalException
SystemException

isCommunityAdmin

public boolean isCommunityAdmin(User user,
                                long groupId)
                         throws Exception
Specified by:
isCommunityAdmin in interface Portal
Throws:
Exception

isCommunityOwner

public boolean isCommunityOwner(User user,
                                long groupId)
                         throws Exception
Specified by:
isCommunityOwner in interface Portal
Throws:
Exception

isCompanyAdmin

public boolean isCompanyAdmin(User user)
                       throws Exception
Specified by:
isCompanyAdmin in interface Portal
Throws:
Exception

isControlPanelPortlet

public boolean isControlPanelPortlet(String portletId,
                                     String category,
                                     ThemeDisplay themeDisplay)
                              throws SystemException
Specified by:
isControlPanelPortlet in interface Portal
Throws:
SystemException

isControlPanelPortlet

public boolean isControlPanelPortlet(String portletId,
                                     ThemeDisplay themeDisplay)
                              throws SystemException
Specified by:
isControlPanelPortlet in interface Portal
Throws:
SystemException

isLayoutFirstPageable

public boolean isLayoutFirstPageable(Layout layout)
Specified by:
isLayoutFirstPageable in interface Portal

isLayoutFirstPageable

public boolean isLayoutFirstPageable(String type)
Specified by:
isLayoutFirstPageable in interface Portal

isLayoutFriendliable

public boolean isLayoutFriendliable(Layout layout)
Specified by:
isLayoutFriendliable in interface Portal

isLayoutFriendliable

public boolean isLayoutFriendliable(String type)
Specified by:
isLayoutFriendliable in interface Portal

isLayoutParentable

public boolean isLayoutParentable(Layout layout)
Specified by:
isLayoutParentable in interface Portal

isLayoutParentable

public boolean isLayoutParentable(String type)
Specified by:
isLayoutParentable in interface Portal

isLayoutSitemapable

public boolean isLayoutSitemapable(Layout layout)
Specified by:
isLayoutSitemapable in interface Portal

isMethodGet

public boolean isMethodGet(PortletRequest portletRequest)
Specified by:
isMethodGet in interface Portal

isMethodPost

public boolean isMethodPost(PortletRequest portletRequest)
Specified by:
isMethodPost in interface Portal

isOmniadmin

public boolean isOmniadmin(long userId)
Specified by:
isOmniadmin in interface Portal

isReservedParameter

public boolean isReservedParameter(String name)
Specified by:
isReservedParameter in interface Portal

isSystemGroup

public boolean isSystemGroup(String groupName)
Specified by:
isSystemGroup in interface Portal

isSystemRole

public boolean isSystemRole(String roleName)
Specified by:
isSystemRole in interface Portal

isUpdateAvailable

public boolean isUpdateAvailable()
                          throws SystemException
Specified by:
isUpdateAvailable in interface Portal
Throws:
SystemException

isValidResourceId

public boolean isValidResourceId(String resourceId)
Specified by:
isValidResourceId in interface Portal

removePortalPortEventListener

public void removePortalPortEventListener(PortalPortEventListener portalPortEventListener)
Specified by:
removePortalPortEventListener in interface Portal

renderPage

public String renderPage(javax.servlet.ServletContext servletContext,
                         javax.servlet.http.HttpServletRequest request,
                         javax.servlet.http.HttpServletResponse response,
                         String path)
                  throws IOException,
                         javax.servlet.ServletException
Specified by:
renderPage in interface Portal
Throws:
IOException
javax.servlet.ServletException

renderPortlet

public String renderPortlet(javax.servlet.ServletContext servletContext,
                            javax.servlet.http.HttpServletRequest request,
                            javax.servlet.http.HttpServletResponse response,
                            Portlet portlet,
                            String queryString,
                            boolean writeOutput)
                     throws IOException,
                            javax.servlet.ServletException
Specified by:
renderPortlet in interface Portal
Throws:
IOException
javax.servlet.ServletException

renderPortlet

public String renderPortlet(javax.servlet.ServletContext servletContext,
                            javax.servlet.http.HttpServletRequest request,
                            javax.servlet.http.HttpServletResponse response,
                            Portlet portlet,
                            String queryString,
                            String columnId,
                            Integer columnPos,
                            Integer columnCount,
                            boolean writeOutput)
                     throws IOException,
                            javax.servlet.ServletException
Specified by:
renderPortlet in interface Portal
Throws:
IOException
javax.servlet.ServletException

renderPortlet

public String renderPortlet(javax.servlet.ServletContext servletContext,
                            javax.servlet.http.HttpServletRequest request,
                            javax.servlet.http.HttpServletResponse response,
                            Portlet portlet,
                            String queryString,
                            String columnId,
                            Integer columnPos,
                            Integer columnCount,
                            String path,
                            boolean writeOutput)
                     throws IOException,
                            javax.servlet.ServletException
Specified by:
renderPortlet in interface Portal
Throws:
IOException
javax.servlet.ServletException

sendError

public void sendError(Exception e,
                      ActionRequest actionRequest,
                      ActionResponse actionResponse)
               throws IOException
Specified by:
sendError in interface Portal
Throws:
IOException

sendError

public void sendError(Exception e,
                      javax.servlet.http.HttpServletRequest request,
                      javax.servlet.http.HttpServletResponse response)
               throws IOException,
                      javax.servlet.ServletException
Specified by:
sendError in interface Portal
Throws:
IOException
javax.servlet.ServletException

sendError

public void sendError(int status,
                      Exception e,
                      ActionRequest actionRequest,
                      ActionResponse actionResponse)
               throws IOException
Specified by:
sendError in interface Portal
Throws:
IOException

sendError

public void sendError(int status,
                      Exception e,
                      javax.servlet.http.HttpServletRequest request,
                      javax.servlet.http.HttpServletResponse response)
               throws IOException,
                      javax.servlet.ServletException
Specified by:
sendError in interface Portal
Throws:
IOException
javax.servlet.ServletException

setPageDescription

public void setPageDescription(String description,
                               javax.servlet.http.HttpServletRequest request)
Sets the description for a page. This overrides the existing page description.

Specified by:
setPageDescription in interface Portal

setPageKeywords

public void setPageKeywords(String keywords,
                            javax.servlet.http.HttpServletRequest request)
Sets the keywords for a page. This overrides the existing page keywords.

Specified by:
setPageKeywords in interface Portal

setPageSubtitle

public void setPageSubtitle(String subtitle,
                            javax.servlet.http.HttpServletRequest request)
Sets the subtitle for a page. This overrides the existing page subtitle.

Specified by:
setPageSubtitle in interface Portal

setPageTitle

public void setPageTitle(String title,
                         javax.servlet.http.HttpServletRequest request)
Sets the whole title for a page. This overrides the existing page whole title.

Specified by:
setPageTitle in interface Portal

setPortalPort

public void setPortalPort(javax.servlet.http.HttpServletRequest request)
Sets the port obtained on the first request to the portal.

Specified by:
setPortalPort in interface Portal

storePreferences

public void storePreferences(PortletPreferences preferences)
                      throws IOException,
                             ValidatorException
Specified by:
storePreferences in interface Portal
Throws:
IOException
ValidatorException

transformCustomSQL

public String transformCustomSQL(String sql)
Specified by:
transformCustomSQL in interface Portal

updatePortletMode

public PortletMode updatePortletMode(String portletId,
                                     User user,
                                     Layout layout,
                                     PortletMode portletMode,
                                     javax.servlet.http.HttpServletRequest request)
Specified by:
updatePortletMode in interface Portal

updateWindowState

public WindowState updateWindowState(String portletId,
                                     User user,
                                     Layout layout,
                                     WindowState windowState,
                                     javax.servlet.http.HttpServletRequest request)
Specified by:
updateWindowState in interface Portal

addDefaultResource

protected void addDefaultResource(ThemeDisplay themeDisplay,
                                  Layout layout,
                                  Portlet portlet,
                                  boolean portletActions)
                           throws PortalException,
                                  SystemException
Throws:
PortalException
SystemException

filterControlPanelPortlets

protected List<Portlet> filterControlPanelPortlets(Set<Portlet> portlets,
                                                   String category,
                                                   ThemeDisplay themeDisplay)

getDoAsUserId

protected long getDoAsUserId(javax.servlet.http.HttpServletRequest request,
                             String doAsUserIdString,
                             boolean alwaysAllowDoAsUser)
                      throws Exception
Throws:
Exception

notifyPortalPortEventListeners

protected void notifyPortalPortEventListeners(int portalPort)

Liferay 6.0.5