|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.liferay.portal.util.PortalImpl
public class PortalImpl
Field Summary |
---|
Fields inherited from interface com.liferay.portal.util.Portal |
---|
PATH_IMAGE, PATH_MAIN, PATH_PORTAL_LAYOUT, PORTLET_XML_FILE_NAME_CUSTOM, PORTLET_XML_FILE_NAME_STANDARD, UP_TIME |
Constructor Summary | |
---|---|
PortalImpl()
|
Method Summary | |
---|---|
void |
clearRequestParameters(javax.portlet.RenderRequest renderRequest)
|
void |
copyRequestParameters(javax.portlet.ActionRequest actionRequest,
javax.portlet.ActionResponse actionResponse)
|
java.lang.String |
getCDNHost()
|
java.lang.String |
getClassName(long classNameId)
|
long |
getClassNameId(java.lang.Class<?> classObj)
|
long |
getClassNameId(java.lang.String value)
|
java.lang.String |
getClassNamePortletId(java.lang.String className)
|
java.lang.String |
getCommunityLoginURL(com.liferay.portal.theme.ThemeDisplay themeDisplay)
|
com.liferay.portal.model.Company |
getCompany(javax.servlet.http.HttpServletRequest request)
|
com.liferay.portal.model.Company |
getCompany(javax.portlet.PortletRequest portletRequest)
|
long |
getCompanyId(javax.servlet.http.HttpServletRequest request)
|
long |
getCompanyId(javax.portlet.PortletRequest portletRequest)
|
long[] |
getCompanyIds()
|
java.lang.String |
getComputerAddress()
|
java.lang.String |
getComputerName()
|
java.lang.String |
getControlPanelCategory(long companyId,
java.lang.String portletId)
|
java.util.List<com.liferay.portal.model.Portlet> |
getControlPanelPortlets(long companyId,
java.lang.String category)
|
java.lang.String |
getCurrentURL(javax.servlet.http.HttpServletRequest request)
|
java.lang.String |
getCurrentURL(javax.portlet.PortletRequest portletRequest)
|
java.lang.String |
getCustomSQLFunctionIsNotNull()
|
java.lang.String |
getCustomSQLFunctionIsNull()
|
java.util.Date |
getDate(int month,
int day,
int year,
int hour,
int min,
com.liferay.portal.PortalException pe)
|
java.util.Date |
getDate(int month,
int day,
int year,
int hour,
int min,
java.util.TimeZone timeZone,
com.liferay.portal.PortalException pe)
|
java.util.Date |
getDate(int month,
int day,
int year,
com.liferay.portal.PortalException pe)
|
java.util.Date |
getDate(int month,
int day,
int year,
java.util.TimeZone timeZone,
com.liferay.portal.PortalException pe)
|
long |
getDefaultCompanyId()
|
protected long |
getDoAsUserId(javax.servlet.http.HttpServletRequest request,
java.lang.String doAsUserIdString,
boolean alwaysAllowDoAsUser)
|
java.util.Map<java.lang.String,java.io.Serializable> |
getExpandoBridgeAttributes(com.liferay.portlet.expando.model.ExpandoBridge expandoBridge,
javax.portlet.PortletRequest portletRequest)
|
java.lang.String |
getFirstPageLayoutTypes(javax.servlet.jsp.PageContext pageContext)
|
java.lang.String |
getHomeURL(javax.servlet.http.HttpServletRequest request)
|
java.lang.String |
getHost(javax.servlet.http.HttpServletRequest request)
|
java.lang.String |
getHost(javax.portlet.PortletRequest portletRequest)
|
javax.servlet.http.HttpServletRequest |
getHttpServletRequest(javax.portlet.PortletRequest portletRequest)
|
javax.servlet.http.HttpServletResponse |
getHttpServletResponse(javax.portlet.PortletResponse portletResponse)
|
java.lang.String |
getJsSafePortletId(java.lang.String portletId)
|
java.lang.String |
getLayoutActualURL(com.liferay.portal.model.Layout layout)
|
java.lang.String |
getLayoutActualURL(com.liferay.portal.model.Layout layout,
java.lang.String mainPath)
|
java.lang.String |
getLayoutActualURL(long groupId,
boolean privateLayout,
java.lang.String mainPath,
java.lang.String friendlyURL)
|
java.lang.String |
getLayoutActualURL(long groupId,
boolean privateLayout,
java.lang.String mainPath,
java.lang.String friendlyURL,
java.util.Map<java.lang.String,java.lang.String[]> params)
|
java.lang.String |
getLayoutEditPage(com.liferay.portal.model.Layout layout)
|
java.lang.String |
getLayoutFriendlyURL(com.liferay.portal.model.Layout layout,
com.liferay.portal.theme.ThemeDisplay themeDisplay)
|
java.lang.String |
getLayoutSetFriendlyURL(com.liferay.portal.model.LayoutSet layoutSet,
com.liferay.portal.theme.ThemeDisplay themeDisplay)
|
java.lang.String |
getLayoutTarget(com.liferay.portal.model.Layout layout)
|
java.lang.String |
getLayoutURL(com.liferay.portal.model.Layout layout,
com.liferay.portal.theme.ThemeDisplay themeDisplay)
|
java.lang.String |
getLayoutURL(com.liferay.portal.model.Layout layout,
com.liferay.portal.theme.ThemeDisplay themeDisplay,
boolean doAsUser)
|
java.lang.String |
getLayoutURL(com.liferay.portal.theme.ThemeDisplay themeDisplay)
|
java.lang.String |
getLayoutViewPage(com.liferay.portal.model.Layout layout)
|
java.util.Locale |
getLocale(javax.servlet.http.HttpServletRequest request)
|
java.util.Locale |
getLocale(javax.portlet.RenderRequest renderRequest)
|
javax.servlet.http.HttpServletRequest |
getOriginalServletRequest(javax.servlet.http.HttpServletRequest request)
|
java.lang.String |
getPathContext()
|
java.lang.String |
getPathFriendlyURLPrivateGroup()
|
java.lang.String |
getPathFriendlyURLPrivateUser()
|
java.lang.String |
getPathFriendlyURLPublic()
|
java.lang.String |
getPathImage()
|
java.lang.String |
getPathMain()
|
long |
getPlidFromFriendlyURL(long companyId,
java.lang.String friendlyURL)
|
long |
getPlidFromPortletId(long groupId,
boolean privateLayout,
java.lang.String portletId)
|
java.lang.String |
getPortalLibDir()
|
int |
getPortalPort()
|
java.util.Properties |
getPortalProperties()
|
java.lang.String |
getPortalURL(javax.servlet.http.HttpServletRequest request)
|
java.lang.String |
getPortalURL(javax.servlet.http.HttpServletRequest request,
boolean secure)
|
java.lang.String |
getPortalURL(javax.portlet.PortletRequest portletRequest)
|
java.lang.String |
getPortalURL(javax.portlet.PortletRequest portletRequest,
boolean secure)
|
java.lang.String |
getPortalURL(java.lang.String serverName,
int serverPort,
boolean secure)
|
java.lang.String |
getPortalURL(com.liferay.portal.theme.ThemeDisplay themeDisplay)
|
java.lang.String |
getPortalWebDir()
|
java.lang.Object[] |
getPortletFriendlyURLMapper(long groupId,
boolean privateLayout,
java.lang.String url)
|
java.lang.Object[] |
getPortletFriendlyURLMapper(long groupId,
boolean privateLayout,
java.lang.String url,
java.util.Map<java.lang.String,java.lang.String[]> params)
|
long |
getPortletGroupId(javax.portlet.ActionRequest actionRequest)
Deprecated. Use getScopeGroupId . |
long |
getPortletGroupId(javax.servlet.http.HttpServletRequest request)
Deprecated. Use getScopeGroupId . |
long |
getPortletGroupId(com.liferay.portal.model.Layout layout)
Deprecated. Use getScopeGroupId . |
long |
getPortletGroupId(long plid)
Deprecated. Use getScopeGroupId . |
long |
getPortletGroupId(javax.portlet.RenderRequest renderRequest)
Deprecated. Use getScopeGroupId . |
java.lang.String |
getPortletId(javax.servlet.http.HttpServletRequest request)
|
java.lang.String |
getPortletId(javax.portlet.PortletRequest portletRequest)
|
java.lang.String |
getPortletNamespace(java.lang.String portletId)
|
java.lang.String |
getPortletTitle(com.liferay.portal.model.Portlet portlet,
long companyId,
java.util.Locale locale)
|
java.lang.String |
getPortletTitle(com.liferay.portal.model.Portlet portlet,
long companyId,
java.lang.String languageId)
|
java.lang.String |
getPortletTitle(com.liferay.portal.model.Portlet portlet,
javax.servlet.ServletContext servletContext,
java.util.Locale locale)
|
java.lang.String |
getPortletTitle(com.liferay.portal.model.Portlet portlet,
com.liferay.portal.model.User user)
|
java.lang.String |
getPortletTitle(java.lang.String portletId,
long companyId,
java.util.Locale locale)
|
java.lang.String |
getPortletTitle(java.lang.String portletId,
long companyId,
java.lang.String languageId)
|
java.lang.String |
getPortletTitle(java.lang.String portletId,
com.liferay.portal.model.User user)
|
java.lang.String |
getPortletXmlFileName()
|
javax.portlet.PortletPreferences |
getPreferences(javax.servlet.http.HttpServletRequest request)
|
javax.portlet.PreferencesValidator |
getPreferencesValidator(com.liferay.portal.model.Portlet portlet)
|
long |
getScopeGroupId(javax.servlet.http.HttpServletRequest request)
|
long |
getScopeGroupId(javax.servlet.http.HttpServletRequest request,
java.lang.String portletId)
|
long |
getScopeGroupId(com.liferay.portal.model.Layout layout)
|
long |
getScopeGroupId(com.liferay.portal.model.Layout layout,
java.lang.String portletId)
|
long |
getScopeGroupId(long plid)
|
long |
getScopeGroupId(javax.portlet.PortletRequest portletRequest)
|
com.liferay.portal.model.User |
getSelectedUser(javax.servlet.http.HttpServletRequest request)
|
com.liferay.portal.model.User |
getSelectedUser(javax.servlet.http.HttpServletRequest request,
boolean checkPermission)
|
com.liferay.portal.model.User |
getSelectedUser(javax.portlet.PortletRequest portletRequest)
|
com.liferay.portal.model.User |
getSelectedUser(javax.portlet.PortletRequest portletRequest,
boolean checkPermission)
|
java.lang.String |
getStaticResourceURL(javax.servlet.http.HttpServletRequest request,
java.lang.String uri)
|
java.lang.String |
getStaticResourceURL(javax.servlet.http.HttpServletRequest request,
java.lang.String uri,
long timestamp)
|
java.lang.String |
getStaticResourceURL(javax.servlet.http.HttpServletRequest request,
java.lang.String uri,
java.lang.String queryString)
|
java.lang.String |
getStaticResourceURL(javax.servlet.http.HttpServletRequest request,
java.lang.String uri,
java.lang.String queryString,
long timestamp)
|
java.lang.String |
getStrutsAction(javax.servlet.http.HttpServletRequest request)
|
java.lang.String[] |
getSystemCommunityRoles()
|
java.lang.String[] |
getSystemGroups()
|
java.lang.String[] |
getSystemOrganizationRoles()
|
java.lang.String[] |
getSystemRoles()
|
java.lang.String[] |
getTagsCategories(javax.portlet.PortletRequest portletRequest)
|
java.lang.String[] |
getTagsEntries(javax.portlet.PortletRequest portletRequest)
|
com.liferay.portal.kernel.upload.UploadPortletRequest |
getUploadPortletRequest(javax.portlet.ActionRequest actionRequest)
|
com.liferay.portal.kernel.upload.UploadServletRequest |
getUploadServletRequest(javax.servlet.http.HttpServletRequest request)
|
java.util.Date |
getUptime()
|
java.lang.String |
getURLWithSessionId(java.lang.String url,
java.lang.String sessionId)
|
com.liferay.portal.model.User |
getUser(javax.servlet.http.HttpServletRequest request)
|
com.liferay.portal.model.User |
getUser(javax.portlet.PortletRequest portletRequest)
|
long |
getUserId(javax.servlet.http.HttpServletRequest request)
|
long |
getUserId(javax.portlet.PortletRequest portletRequest)
|
java.lang.String |
getUserName(long userId,
java.lang.String defaultUserName)
|
java.lang.String |
getUserName(long userId,
java.lang.String defaultUserName,
javax.servlet.http.HttpServletRequest request)
|
java.lang.String |
getUserName(long userId,
java.lang.String defaultUserName,
java.lang.String userAttribute)
|
java.lang.String |
getUserName(long userId,
java.lang.String defaultUserName,
java.lang.String userAttribute,
javax.servlet.http.HttpServletRequest request)
|
java.lang.String |
getUserPassword(javax.servlet.http.HttpServletRequest request)
|
java.lang.String |
getUserPassword(javax.servlet.http.HttpSession session)
|
java.lang.String |
getUserPassword(javax.portlet.PortletRequest portletRequest)
|
java.lang.String |
getUserValue(long userId,
java.lang.String param,
java.lang.String defaultValue)
|
java.lang.String |
getWidgetURL(com.liferay.portal.model.Portlet portlet,
com.liferay.portal.theme.ThemeDisplay themeDisplay)
|
boolean |
isLayoutFirstPageable(java.lang.String type)
|
boolean |
isLayoutFriendliable(com.liferay.portal.model.Layout layout)
|
boolean |
isLayoutParentable(com.liferay.portal.model.Layout layout)
|
boolean |
isLayoutParentable(java.lang.String type)
|
boolean |
isLayoutSitemapable(com.liferay.portal.model.Layout layout)
|
boolean |
isMethodGet(javax.portlet.PortletRequest portletRequest)
|
boolean |
isMethodPost(javax.portlet.PortletRequest portletRequest)
|
boolean |
isReservedParameter(java.lang.String name)
|
boolean |
isSystemGroup(java.lang.String groupName)
|
boolean |
isSystemRole(java.lang.String roleName)
|
boolean |
isUpdateAvailable()
|
void |
renderPage(java.lang.StringBuilder sb,
javax.servlet.ServletContext servletContext,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
java.lang.String path)
|
void |
renderPortlet(java.lang.StringBuilder sb,
javax.servlet.ServletContext servletContext,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
com.liferay.portal.model.Portlet portlet,
java.lang.String queryString)
|
void |
renderPortlet(java.lang.StringBuilder sb,
javax.servlet.ServletContext servletContext,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
com.liferay.portal.model.Portlet portlet,
java.lang.String queryString,
java.lang.String columnId,
java.lang.Integer columnPos,
java.lang.Integer columnCount)
|
void |
renderPortlet(java.lang.StringBuilder sb,
javax.servlet.ServletContext servletContext,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
com.liferay.portal.model.Portlet portlet,
java.lang.String queryString,
java.lang.String columnId,
java.lang.Integer columnPos,
java.lang.Integer columnCount,
java.lang.String path)
|
void |
sendError(java.lang.Exception e,
javax.portlet.ActionRequest actionRequest,
javax.portlet.ActionResponse actionResponse)
|
void |
sendError(java.lang.Exception e,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
|
void |
sendError(int status,
java.lang.Exception e,
javax.portlet.ActionRequest actionRequest,
javax.portlet.ActionResponse actionResponse)
|
void |
sendError(int status,
java.lang.Exception e,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
|
void |
setPageSubtitle(java.lang.String subtitle,
javax.servlet.http.HttpServletRequest request)
Sets the subtitle for a page. |
void |
setPageTitle(java.lang.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(javax.portlet.PortletPreferences preferences)
|
java.lang.String |
transformCustomSQL(java.lang.String sql)
|
javax.portlet.PortletMode |
updatePortletMode(java.lang.String portletId,
com.liferay.portal.model.User user,
com.liferay.portal.model.Layout layout,
javax.portlet.PortletMode portletMode,
javax.servlet.http.HttpServletRequest request)
|
javax.portlet.WindowState |
updateWindowState(java.lang.String portletId,
com.liferay.portal.model.User user,
com.liferay.portal.model.Layout layout,
javax.portlet.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 |
---|
public PortalImpl()
Method Detail |
---|
public void clearRequestParameters(javax.portlet.RenderRequest renderRequest)
clearRequestParameters
in interface com.liferay.portal.util.Portal
public void copyRequestParameters(javax.portlet.ActionRequest actionRequest, javax.portlet.ActionResponse actionResponse)
copyRequestParameters
in interface com.liferay.portal.util.Portal
public java.lang.String getCDNHost()
getCDNHost
in interface com.liferay.portal.util.Portal
public java.lang.String getClassName(long classNameId)
getClassName
in interface com.liferay.portal.util.Portal
public long getClassNameId(java.lang.Class<?> classObj)
getClassNameId
in interface com.liferay.portal.util.Portal
public long getClassNameId(java.lang.String value)
getClassNameId
in interface com.liferay.portal.util.Portal
public java.lang.String getClassNamePortletId(java.lang.String className)
getClassNamePortletId
in interface com.liferay.portal.util.Portal
public java.lang.String getCommunityLoginURL(com.liferay.portal.theme.ThemeDisplay themeDisplay) throws com.liferay.portal.PortalException, com.liferay.portal.SystemException
getCommunityLoginURL
in interface com.liferay.portal.util.Portal
com.liferay.portal.PortalException
com.liferay.portal.SystemException
public com.liferay.portal.model.Company getCompany(javax.servlet.http.HttpServletRequest request) throws com.liferay.portal.PortalException, com.liferay.portal.SystemException
getCompany
in interface com.liferay.portal.util.Portal
com.liferay.portal.PortalException
com.liferay.portal.SystemException
public com.liferay.portal.model.Company getCompany(javax.portlet.PortletRequest portletRequest) throws com.liferay.portal.PortalException, com.liferay.portal.SystemException
getCompany
in interface com.liferay.portal.util.Portal
com.liferay.portal.PortalException
com.liferay.portal.SystemException
public long getCompanyId(javax.servlet.http.HttpServletRequest request)
getCompanyId
in interface com.liferay.portal.util.Portal
public long getCompanyId(javax.portlet.PortletRequest portletRequest)
getCompanyId
in interface com.liferay.portal.util.Portal
public long[] getCompanyIds()
getCompanyIds
in interface com.liferay.portal.util.Portal
public java.lang.String getComputerAddress()
getComputerAddress
in interface com.liferay.portal.util.Portal
public java.lang.String getComputerName()
getComputerName
in interface com.liferay.portal.util.Portal
public java.lang.String getControlPanelCategory(long companyId, java.lang.String portletId) throws com.liferay.portal.SystemException
getControlPanelCategory
in interface com.liferay.portal.util.Portal
com.liferay.portal.SystemException
public java.util.List<com.liferay.portal.model.Portlet> getControlPanelPortlets(long companyId, java.lang.String category) throws com.liferay.portal.SystemException
getControlPanelPortlets
in interface com.liferay.portal.util.Portal
com.liferay.portal.SystemException
public java.lang.String getCurrentURL(javax.servlet.http.HttpServletRequest request)
getCurrentURL
in interface com.liferay.portal.util.Portal
public java.lang.String getCurrentURL(javax.portlet.PortletRequest portletRequest)
getCurrentURL
in interface com.liferay.portal.util.Portal
public java.lang.String getCustomSQLFunctionIsNotNull()
getCustomSQLFunctionIsNotNull
in interface com.liferay.portal.util.Portal
public java.lang.String getCustomSQLFunctionIsNull()
getCustomSQLFunctionIsNull
in interface com.liferay.portal.util.Portal
public java.util.Date getDate(int month, int day, int year, com.liferay.portal.PortalException pe) throws com.liferay.portal.PortalException
getDate
in interface com.liferay.portal.util.Portal
com.liferay.portal.PortalException
public java.util.Date getDate(int month, int day, int year, java.util.TimeZone timeZone, com.liferay.portal.PortalException pe) throws com.liferay.portal.PortalException
getDate
in interface com.liferay.portal.util.Portal
com.liferay.portal.PortalException
public java.util.Date getDate(int month, int day, int year, int hour, int min, com.liferay.portal.PortalException pe) throws com.liferay.portal.PortalException
getDate
in interface com.liferay.portal.util.Portal
com.liferay.portal.PortalException
public java.util.Date getDate(int month, int day, int year, int hour, int min, java.util.TimeZone timeZone, com.liferay.portal.PortalException pe) throws com.liferay.portal.PortalException
getDate
in interface com.liferay.portal.util.Portal
com.liferay.portal.PortalException
public long getDefaultCompanyId()
getDefaultCompanyId
in interface com.liferay.portal.util.Portal
public java.util.Map<java.lang.String,java.io.Serializable> getExpandoBridgeAttributes(com.liferay.portlet.expando.model.ExpandoBridge expandoBridge, javax.portlet.PortletRequest portletRequest) throws com.liferay.portal.PortalException, com.liferay.portal.SystemException
getExpandoBridgeAttributes
in interface com.liferay.portal.util.Portal
com.liferay.portal.PortalException
com.liferay.portal.SystemException
public java.lang.String getFirstPageLayoutTypes(javax.servlet.jsp.PageContext pageContext)
getFirstPageLayoutTypes
in interface com.liferay.portal.util.Portal
public java.lang.String getHomeURL(javax.servlet.http.HttpServletRequest request) throws com.liferay.portal.PortalException, com.liferay.portal.SystemException
getHomeURL
in interface com.liferay.portal.util.Portal
com.liferay.portal.PortalException
com.liferay.portal.SystemException
public java.lang.String getHost(javax.servlet.http.HttpServletRequest request)
getHost
in interface com.liferay.portal.util.Portal
public java.lang.String getHost(javax.portlet.PortletRequest portletRequest)
getHost
in interface com.liferay.portal.util.Portal
public javax.servlet.http.HttpServletRequest getHttpServletRequest(javax.portlet.PortletRequest portletRequest)
getHttpServletRequest
in interface com.liferay.portal.util.Portal
public javax.servlet.http.HttpServletResponse getHttpServletResponse(javax.portlet.PortletResponse portletResponse)
getHttpServletResponse
in interface com.liferay.portal.util.Portal
public java.lang.String getLayoutEditPage(com.liferay.portal.model.Layout layout)
getLayoutEditPage
in interface com.liferay.portal.util.Portal
public java.lang.String getLayoutViewPage(com.liferay.portal.model.Layout layout)
getLayoutViewPage
in interface com.liferay.portal.util.Portal
public java.lang.String getLayoutURL(com.liferay.portal.theme.ThemeDisplay themeDisplay)
getLayoutURL
in interface com.liferay.portal.util.Portal
public java.lang.String getLayoutURL(com.liferay.portal.model.Layout layout, com.liferay.portal.theme.ThemeDisplay themeDisplay)
getLayoutURL
in interface com.liferay.portal.util.Portal
public java.lang.String getLayoutURL(com.liferay.portal.model.Layout layout, com.liferay.portal.theme.ThemeDisplay themeDisplay, boolean doAsUser)
getLayoutURL
in interface com.liferay.portal.util.Portal
public java.lang.String getLayoutActualURL(com.liferay.portal.model.Layout layout)
getLayoutActualURL
in interface com.liferay.portal.util.Portal
public java.lang.String getLayoutActualURL(com.liferay.portal.model.Layout layout, java.lang.String mainPath)
getLayoutActualURL
in interface com.liferay.portal.util.Portal
public java.lang.String getLayoutActualURL(long groupId, boolean privateLayout, java.lang.String mainPath, java.lang.String friendlyURL) throws com.liferay.portal.PortalException, com.liferay.portal.SystemException
getLayoutActualURL
in interface com.liferay.portal.util.Portal
com.liferay.portal.PortalException
com.liferay.portal.SystemException
public java.lang.String getLayoutActualURL(long groupId, boolean privateLayout, java.lang.String mainPath, java.lang.String friendlyURL, java.util.Map<java.lang.String,java.lang.String[]> params) throws com.liferay.portal.PortalException, com.liferay.portal.SystemException
getLayoutActualURL
in interface com.liferay.portal.util.Portal
com.liferay.portal.PortalException
com.liferay.portal.SystemException
public java.lang.String getLayoutFriendlyURL(com.liferay.portal.model.Layout layout, com.liferay.portal.theme.ThemeDisplay themeDisplay)
getLayoutFriendlyURL
in interface com.liferay.portal.util.Portal
public java.lang.String getLayoutSetFriendlyURL(com.liferay.portal.model.LayoutSet layoutSet, com.liferay.portal.theme.ThemeDisplay themeDisplay) throws com.liferay.portal.PortalException, com.liferay.portal.SystemException
getLayoutSetFriendlyURL
in interface com.liferay.portal.util.Portal
com.liferay.portal.PortalException
com.liferay.portal.SystemException
public java.lang.String getLayoutTarget(com.liferay.portal.model.Layout layout)
getLayoutTarget
in interface com.liferay.portal.util.Portal
public java.lang.String getJsSafePortletId(java.lang.String portletId)
getJsSafePortletId
in interface com.liferay.portal.util.Portal
public java.util.Locale getLocale(javax.servlet.http.HttpServletRequest request)
getLocale
in interface com.liferay.portal.util.Portal
public java.util.Locale getLocale(javax.portlet.RenderRequest renderRequest)
getLocale
in interface com.liferay.portal.util.Portal
public javax.servlet.http.HttpServletRequest getOriginalServletRequest(javax.servlet.http.HttpServletRequest request)
getOriginalServletRequest
in interface com.liferay.portal.util.Portal
public java.lang.String getPathContext()
getPathContext
in interface com.liferay.portal.util.Portal
public java.lang.String getPathFriendlyURLPrivateGroup()
getPathFriendlyURLPrivateGroup
in interface com.liferay.portal.util.Portal
public java.lang.String getPathFriendlyURLPrivateUser()
getPathFriendlyURLPrivateUser
in interface com.liferay.portal.util.Portal
public java.lang.String getPathFriendlyURLPublic()
getPathFriendlyURLPublic
in interface com.liferay.portal.util.Portal
public java.lang.String getPathImage()
getPathImage
in interface com.liferay.portal.util.Portal
public java.lang.String getPathMain()
getPathMain
in interface com.liferay.portal.util.Portal
public long getPlidFromFriendlyURL(long companyId, java.lang.String friendlyURL)
getPlidFromFriendlyURL
in interface com.liferay.portal.util.Portal
public long getPlidFromPortletId(long groupId, boolean privateLayout, java.lang.String portletId)
getPlidFromPortletId
in interface com.liferay.portal.util.Portal
public java.lang.String getPortalLibDir()
getPortalLibDir
in interface com.liferay.portal.util.Portal
public int getPortalPort()
getPortalPort
in interface com.liferay.portal.util.Portal
public java.util.Properties getPortalProperties()
getPortalProperties
in interface com.liferay.portal.util.Portal
public java.lang.String getPortalURL(com.liferay.portal.theme.ThemeDisplay themeDisplay)
getPortalURL
in interface com.liferay.portal.util.Portal
public java.lang.String getPortalURL(javax.servlet.http.HttpServletRequest request)
getPortalURL
in interface com.liferay.portal.util.Portal
public java.lang.String getPortalURL(javax.servlet.http.HttpServletRequest request, boolean secure)
getPortalURL
in interface com.liferay.portal.util.Portal
public java.lang.String getPortalURL(javax.portlet.PortletRequest portletRequest)
getPortalURL
in interface com.liferay.portal.util.Portal
public java.lang.String getPortalURL(javax.portlet.PortletRequest portletRequest, boolean secure)
getPortalURL
in interface com.liferay.portal.util.Portal
public java.lang.String getPortalURL(java.lang.String serverName, int serverPort, boolean secure)
getPortalURL
in interface com.liferay.portal.util.Portal
public java.lang.String getPortalWebDir()
getPortalWebDir
in interface com.liferay.portal.util.Portal
public java.lang.Object[] getPortletFriendlyURLMapper(long groupId, boolean privateLayout, java.lang.String url) throws com.liferay.portal.PortalException, com.liferay.portal.SystemException
getPortletFriendlyURLMapper
in interface com.liferay.portal.util.Portal
com.liferay.portal.PortalException
com.liferay.portal.SystemException
public java.lang.Object[] getPortletFriendlyURLMapper(long groupId, boolean privateLayout, java.lang.String url, java.util.Map<java.lang.String,java.lang.String[]> params) throws com.liferay.portal.PortalException, com.liferay.portal.SystemException
getPortletFriendlyURLMapper
in interface com.liferay.portal.util.Portal
com.liferay.portal.PortalException
com.liferay.portal.SystemException
public long getPortletGroupId(long plid)
getScopeGroupId
.
getPortletGroupId
in interface com.liferay.portal.util.Portal
public long getPortletGroupId(com.liferay.portal.model.Layout layout)
getScopeGroupId
.
getPortletGroupId
in interface com.liferay.portal.util.Portal
public long getPortletGroupId(javax.servlet.http.HttpServletRequest request)
getScopeGroupId
.
getPortletGroupId
in interface com.liferay.portal.util.Portal
public long getPortletGroupId(javax.portlet.ActionRequest actionRequest)
getScopeGroupId
.
getPortletGroupId
in interface com.liferay.portal.util.Portal
public long getPortletGroupId(javax.portlet.RenderRequest renderRequest)
getScopeGroupId
.
getPortletGroupId
in interface com.liferay.portal.util.Portal
public java.lang.String getPortletId(javax.servlet.http.HttpServletRequest request)
getPortletId
in interface com.liferay.portal.util.Portal
public java.lang.String getPortletId(javax.portlet.PortletRequest portletRequest)
getPortletId
in interface com.liferay.portal.util.Portal
public java.lang.String getPortletNamespace(java.lang.String portletId)
getPortletNamespace
in interface com.liferay.portal.util.Portal
public java.lang.String getPortletTitle(java.lang.String portletId, long companyId, java.lang.String languageId)
getPortletTitle
in interface com.liferay.portal.util.Portal
public java.lang.String getPortletTitle(java.lang.String portletId, long companyId, java.util.Locale locale)
getPortletTitle
in interface com.liferay.portal.util.Portal
public java.lang.String getPortletTitle(java.lang.String portletId, com.liferay.portal.model.User user)
getPortletTitle
in interface com.liferay.portal.util.Portal
public java.lang.String getPortletTitle(com.liferay.portal.model.Portlet portlet, long companyId, java.lang.String languageId)
getPortletTitle
in interface com.liferay.portal.util.Portal
public java.lang.String getPortletTitle(com.liferay.portal.model.Portlet portlet, long companyId, java.util.Locale locale)
getPortletTitle
in interface com.liferay.portal.util.Portal
public java.lang.String getPortletTitle(com.liferay.portal.model.Portlet portlet, com.liferay.portal.model.User user)
getPortletTitle
in interface com.liferay.portal.util.Portal
public java.lang.String getPortletTitle(com.liferay.portal.model.Portlet portlet, javax.servlet.ServletContext servletContext, java.util.Locale locale)
getPortletTitle
in interface com.liferay.portal.util.Portal
public java.lang.String getPortletXmlFileName() throws com.liferay.portal.SystemException
getPortletXmlFileName
in interface com.liferay.portal.util.Portal
com.liferay.portal.SystemException
public javax.portlet.PortletPreferences getPreferences(javax.servlet.http.HttpServletRequest request)
getPreferences
in interface com.liferay.portal.util.Portal
public javax.portlet.PreferencesValidator getPreferencesValidator(com.liferay.portal.model.Portlet portlet)
getPreferencesValidator
in interface com.liferay.portal.util.Portal
public long getScopeGroupId(long plid)
getScopeGroupId
in interface com.liferay.portal.util.Portal
public long getScopeGroupId(com.liferay.portal.model.Layout layout)
getScopeGroupId
in interface com.liferay.portal.util.Portal
public long getScopeGroupId(com.liferay.portal.model.Layout layout, java.lang.String portletId)
getScopeGroupId
in interface com.liferay.portal.util.Portal
public long getScopeGroupId(javax.servlet.http.HttpServletRequest request)
getScopeGroupId
in interface com.liferay.portal.util.Portal
public long getScopeGroupId(javax.servlet.http.HttpServletRequest request, java.lang.String portletId)
getScopeGroupId
in interface com.liferay.portal.util.Portal
public long getScopeGroupId(javax.portlet.PortletRequest portletRequest)
getScopeGroupId
in interface com.liferay.portal.util.Portal
public com.liferay.portal.model.User getSelectedUser(javax.servlet.http.HttpServletRequest request) throws com.liferay.portal.PortalException, com.liferay.portal.SystemException
getSelectedUser
in interface com.liferay.portal.util.Portal
com.liferay.portal.PortalException
com.liferay.portal.SystemException
public com.liferay.portal.model.User getSelectedUser(javax.servlet.http.HttpServletRequest request, boolean checkPermission) throws com.liferay.portal.PortalException, com.liferay.portal.SystemException
getSelectedUser
in interface com.liferay.portal.util.Portal
com.liferay.portal.PortalException
com.liferay.portal.SystemException
public com.liferay.portal.model.User getSelectedUser(javax.portlet.PortletRequest portletRequest) throws com.liferay.portal.PortalException, com.liferay.portal.SystemException
getSelectedUser
in interface com.liferay.portal.util.Portal
com.liferay.portal.PortalException
com.liferay.portal.SystemException
public com.liferay.portal.model.User getSelectedUser(javax.portlet.PortletRequest portletRequest, boolean checkPermission) throws com.liferay.portal.PortalException, com.liferay.portal.SystemException
getSelectedUser
in interface com.liferay.portal.util.Portal
com.liferay.portal.PortalException
com.liferay.portal.SystemException
public java.lang.String getStaticResourceURL(javax.servlet.http.HttpServletRequest request, java.lang.String uri)
getStaticResourceURL
in interface com.liferay.portal.util.Portal
public java.lang.String getStaticResourceURL(javax.servlet.http.HttpServletRequest request, java.lang.String uri, java.lang.String queryString)
getStaticResourceURL
in interface com.liferay.portal.util.Portal
public java.lang.String getStaticResourceURL(javax.servlet.http.HttpServletRequest request, java.lang.String uri, long timestamp)
getStaticResourceURL
in interface com.liferay.portal.util.Portal
public java.lang.String getStaticResourceURL(javax.servlet.http.HttpServletRequest request, java.lang.String uri, java.lang.String queryString, long timestamp)
getStaticResourceURL
in interface com.liferay.portal.util.Portal
public java.lang.String getStrutsAction(javax.servlet.http.HttpServletRequest request)
getStrutsAction
in interface com.liferay.portal.util.Portal
public java.lang.String[] getSystemCommunityRoles()
getSystemCommunityRoles
in interface com.liferay.portal.util.Portal
public java.lang.String[] getSystemGroups()
getSystemGroups
in interface com.liferay.portal.util.Portal
public java.lang.String[] getSystemOrganizationRoles()
getSystemOrganizationRoles
in interface com.liferay.portal.util.Portal
public java.lang.String[] getSystemRoles()
getSystemRoles
in interface com.liferay.portal.util.Portal
public java.lang.String[] getTagsCategories(javax.portlet.PortletRequest portletRequest)
getTagsCategories
in interface com.liferay.portal.util.Portal
public java.lang.String[] getTagsEntries(javax.portlet.PortletRequest portletRequest)
getTagsEntries
in interface com.liferay.portal.util.Portal
public com.liferay.portal.kernel.upload.UploadPortletRequest getUploadPortletRequest(javax.portlet.ActionRequest actionRequest)
getUploadPortletRequest
in interface com.liferay.portal.util.Portal
public com.liferay.portal.kernel.upload.UploadServletRequest getUploadServletRequest(javax.servlet.http.HttpServletRequest request)
getUploadServletRequest
in interface com.liferay.portal.util.Portal
public java.util.Date getUptime()
getUptime
in interface com.liferay.portal.util.Portal
public java.lang.String getURLWithSessionId(java.lang.String url, java.lang.String sessionId)
getURLWithSessionId
in interface com.liferay.portal.util.Portal
public com.liferay.portal.model.User getUser(javax.servlet.http.HttpServletRequest request) throws com.liferay.portal.PortalException, com.liferay.portal.SystemException
getUser
in interface com.liferay.portal.util.Portal
com.liferay.portal.PortalException
com.liferay.portal.SystemException
public com.liferay.portal.model.User getUser(javax.portlet.PortletRequest portletRequest) throws com.liferay.portal.PortalException, com.liferay.portal.SystemException
getUser
in interface com.liferay.portal.util.Portal
com.liferay.portal.PortalException
com.liferay.portal.SystemException
public long getUserId(javax.servlet.http.HttpServletRequest request)
getUserId
in interface com.liferay.portal.util.Portal
public long getUserId(javax.portlet.PortletRequest portletRequest)
getUserId
in interface com.liferay.portal.util.Portal
public java.lang.String getUserName(long userId, java.lang.String defaultUserName)
getUserName
in interface com.liferay.portal.util.Portal
public java.lang.String getUserName(long userId, java.lang.String defaultUserName, java.lang.String userAttribute)
getUserName
in interface com.liferay.portal.util.Portal
public java.lang.String getUserName(long userId, java.lang.String defaultUserName, javax.servlet.http.HttpServletRequest request)
getUserName
in interface com.liferay.portal.util.Portal
public java.lang.String getUserName(long userId, java.lang.String defaultUserName, java.lang.String userAttribute, javax.servlet.http.HttpServletRequest request)
getUserName
in interface com.liferay.portal.util.Portal
public java.lang.String getUserPassword(javax.servlet.http.HttpSession session)
getUserPassword
in interface com.liferay.portal.util.Portal
public java.lang.String getUserPassword(javax.servlet.http.HttpServletRequest request)
getUserPassword
in interface com.liferay.portal.util.Portal
public java.lang.String getUserPassword(javax.portlet.PortletRequest portletRequest)
getUserPassword
in interface com.liferay.portal.util.Portal
public java.lang.String getUserValue(long userId, java.lang.String param, java.lang.String defaultValue) throws com.liferay.portal.SystemException
getUserValue
in interface com.liferay.portal.util.Portal
com.liferay.portal.SystemException
public java.lang.String getWidgetURL(com.liferay.portal.model.Portlet portlet, com.liferay.portal.theme.ThemeDisplay themeDisplay)
getWidgetURL
in interface com.liferay.portal.util.Portal
public boolean isLayoutFirstPageable(java.lang.String type)
isLayoutFirstPageable
in interface com.liferay.portal.util.Portal
public boolean isLayoutFriendliable(com.liferay.portal.model.Layout layout)
isLayoutFriendliable
in interface com.liferay.portal.util.Portal
public boolean isLayoutParentable(com.liferay.portal.model.Layout layout)
isLayoutParentable
in interface com.liferay.portal.util.Portal
public boolean isLayoutParentable(java.lang.String type)
isLayoutParentable
in interface com.liferay.portal.util.Portal
public boolean isLayoutSitemapable(com.liferay.portal.model.Layout layout)
isLayoutSitemapable
in interface com.liferay.portal.util.Portal
public boolean isMethodGet(javax.portlet.PortletRequest portletRequest)
isMethodGet
in interface com.liferay.portal.util.Portal
public boolean isMethodPost(javax.portlet.PortletRequest portletRequest)
isMethodPost
in interface com.liferay.portal.util.Portal
public boolean isReservedParameter(java.lang.String name)
isReservedParameter
in interface com.liferay.portal.util.Portal
public boolean isSystemGroup(java.lang.String groupName)
isSystemGroup
in interface com.liferay.portal.util.Portal
public boolean isSystemRole(java.lang.String roleName)
isSystemRole
in interface com.liferay.portal.util.Portal
public boolean isUpdateAvailable() throws com.liferay.portal.PortalException, com.liferay.portal.SystemException
isUpdateAvailable
in interface com.liferay.portal.util.Portal
com.liferay.portal.PortalException
com.liferay.portal.SystemException
public void renderPage(java.lang.StringBuilder sb, javax.servlet.ServletContext servletContext, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, java.lang.String path) throws java.io.IOException, javax.servlet.ServletException
renderPage
in interface com.liferay.portal.util.Portal
java.io.IOException
javax.servlet.ServletException
public void renderPortlet(java.lang.StringBuilder sb, javax.servlet.ServletContext servletContext, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, com.liferay.portal.model.Portlet portlet, java.lang.String queryString) throws java.io.IOException, javax.servlet.ServletException
renderPortlet
in interface com.liferay.portal.util.Portal
java.io.IOException
javax.servlet.ServletException
public void renderPortlet(java.lang.StringBuilder sb, javax.servlet.ServletContext servletContext, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, com.liferay.portal.model.Portlet portlet, java.lang.String queryString, java.lang.String columnId, java.lang.Integer columnPos, java.lang.Integer columnCount) throws java.io.IOException, javax.servlet.ServletException
renderPortlet
in interface com.liferay.portal.util.Portal
java.io.IOException
javax.servlet.ServletException
public void renderPortlet(java.lang.StringBuilder sb, javax.servlet.ServletContext servletContext, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, com.liferay.portal.model.Portlet portlet, java.lang.String queryString, java.lang.String columnId, java.lang.Integer columnPos, java.lang.Integer columnCount, java.lang.String path) throws java.io.IOException, javax.servlet.ServletException
renderPortlet
in interface com.liferay.portal.util.Portal
java.io.IOException
javax.servlet.ServletException
public void sendError(java.lang.Exception e, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws java.io.IOException, javax.servlet.ServletException
sendError
in interface com.liferay.portal.util.Portal
java.io.IOException
javax.servlet.ServletException
public void sendError(int status, java.lang.Exception e, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws java.io.IOException, javax.servlet.ServletException
sendError
in interface com.liferay.portal.util.Portal
java.io.IOException
javax.servlet.ServletException
public void sendError(java.lang.Exception e, javax.portlet.ActionRequest actionRequest, javax.portlet.ActionResponse actionResponse) throws java.io.IOException
sendError
in interface com.liferay.portal.util.Portal
java.io.IOException
public void sendError(int status, java.lang.Exception e, javax.portlet.ActionRequest actionRequest, javax.portlet.ActionResponse actionResponse) throws java.io.IOException
sendError
in interface com.liferay.portal.util.Portal
java.io.IOException
public void setPageSubtitle(java.lang.String subtitle, javax.servlet.http.HttpServletRequest request)
setPageSubtitle
in interface com.liferay.portal.util.Portal
subtitle
- the subtitle for a pagerequest
- the HTTP servlet requestpublic void setPageTitle(java.lang.String title, javax.servlet.http.HttpServletRequest request)
setPageTitle
in interface com.liferay.portal.util.Portal
title
- the whole title for a pagerequest
- the HTTP servlet requestpublic void setPortalPort(javax.servlet.http.HttpServletRequest request)
setPortalPort
in interface com.liferay.portal.util.Portal
request
- the HTTP servlet requestpublic void storePreferences(javax.portlet.PortletPreferences preferences) throws java.io.IOException, javax.portlet.ValidatorException
storePreferences
in interface com.liferay.portal.util.Portal
java.io.IOException
javax.portlet.ValidatorException
public java.lang.String transformCustomSQL(java.lang.String sql)
transformCustomSQL
in interface com.liferay.portal.util.Portal
public javax.portlet.PortletMode updatePortletMode(java.lang.String portletId, com.liferay.portal.model.User user, com.liferay.portal.model.Layout layout, javax.portlet.PortletMode portletMode, javax.servlet.http.HttpServletRequest request)
updatePortletMode
in interface com.liferay.portal.util.Portal
public javax.portlet.WindowState updateWindowState(java.lang.String portletId, com.liferay.portal.model.User user, com.liferay.portal.model.Layout layout, javax.portlet.WindowState windowState, javax.servlet.http.HttpServletRequest request)
updateWindowState
in interface com.liferay.portal.util.Portal
protected long getDoAsUserId(javax.servlet.http.HttpServletRequest request, java.lang.String doAsUserIdString, boolean alwaysAllowDoAsUser) throws java.lang.Exception
java.lang.Exception
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |