|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.liferay.portal.util.PortalImpl
public class PortalImpl
| 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(long companyId,
com.liferay.portal.model.Layout layout,
com.liferay.portal.model.Portlet portlet,
boolean portletActions)
|
protected void |
addDefaultResource(com.liferay.portal.theme.ThemeDisplay themeDisplay,
com.liferay.portal.model.Layout layout,
com.liferay.portal.model.Portlet portlet,
boolean portletActions)
|
void |
addPageDescription(java.lang.String description,
javax.servlet.http.HttpServletRequest request)
|
void |
addPageKeywords(java.lang.String keywords,
javax.servlet.http.HttpServletRequest request)
|
void |
addPageSubtitle(java.lang.String subtitle,
javax.servlet.http.HttpServletRequest request)
|
void |
addPageTitle(java.lang.String title,
javax.servlet.http.HttpServletRequest request)
|
void |
addPortalPortEventListener(com.liferay.portal.util.PortalPortEventListener portalPortEventListener)
|
void |
addPortletBreadcrumbEntry(javax.servlet.http.HttpServletRequest request,
java.lang.String title,
java.lang.String url)
|
void |
addPortletBreadcrumbEntry(javax.servlet.http.HttpServletRequest request,
java.lang.String title,
java.lang.String url,
java.util.Map<java.lang.String,java.lang.Object> data)
|
void |
addPortletDefaultResource(javax.servlet.http.HttpServletRequest request,
com.liferay.portal.model.Portlet portlet)
|
void |
addPortletDefaultResource(long companyId,
com.liferay.portal.model.Layout layout,
com.liferay.portal.model.Portlet portlet)
|
java.lang.String |
addPreservedParameters(com.liferay.portal.theme.ThemeDisplay themeDisplay,
com.liferay.portal.model.Layout layout,
java.lang.String url,
boolean doAsUser)
|
java.lang.String |
addPreservedParameters(com.liferay.portal.theme.ThemeDisplay themeDisplay,
java.lang.String url)
|
protected java.lang.String |
buildI18NPath(java.util.Locale locale)
|
void |
clearRequestParameters(javax.portlet.RenderRequest renderRequest)
|
void |
copyRequestParameters(javax.portlet.ActionRequest actionRequest,
javax.portlet.ActionResponse actionResponse)
|
protected long |
doGetPlidFromPortletId(long groupId,
boolean privateLayout,
java.lang.String portletId)
|
java.lang.String |
escapeRedirect(java.lang.String url)
|
protected java.util.List<com.liferay.portal.model.Portlet> |
filterControlPanelPortlets(java.util.Set<com.liferay.portal.model.Portlet> portlets,
java.lang.String category,
com.liferay.portal.theme.ThemeDisplay themeDisplay)
|
java.lang.String |
generateRandomKey(javax.servlet.http.HttpServletRequest request,
java.lang.String input)
|
java.lang.String |
getActualURL(long groupId,
boolean privateLayout,
java.lang.String mainPath,
java.lang.String friendlyURL,
java.util.Map<java.lang.String,java.lang.String[]> params,
java.util.Map<java.lang.String,java.lang.Object> requestContext)
|
java.lang.String |
getAlternateURL(javax.servlet.http.HttpServletRequest request,
java.lang.String canonicalURL,
java.util.Locale locale)
|
java.util.Set<java.lang.String> |
getAuthTokenIgnoreActions()
|
java.util.Set<java.lang.String> |
getAuthTokenIgnorePortlets()
|
com.liferay.portal.model.BaseModel<?> |
getBaseModel(com.liferay.portal.model.Resource resource)
|
com.liferay.portal.model.BaseModel<?> |
getBaseModel(com.liferay.portal.model.ResourcePermission resourcePermission)
|
com.liferay.portal.model.BaseModel<?> |
getBaseModel(java.lang.String modelName,
java.lang.String primKey)
|
long |
getBasicAuthUserId(javax.servlet.http.HttpServletRequest request)
|
long |
getBasicAuthUserId(javax.servlet.http.HttpServletRequest request,
long companyId)
|
java.lang.String |
getCanonicalURL(java.lang.String completeURL,
com.liferay.portal.theme.ThemeDisplay themeDisplay)
|
java.lang.String |
getCDNHost()
Deprecated. getCDNHost(boolean) |
java.lang.String |
getCDNHost(boolean secure)
|
java.lang.String |
getCDNHost(javax.servlet.http.HttpServletRequest request)
|
java.lang.String |
getCDNHostHttp(long companyId)
|
java.lang.String |
getCDNHostHttps(long companyId)
|
java.lang.String |
getClassName(long classNameId)
|
long |
getClassNameId(java.lang.Class<?> clazz)
|
long |
getClassNameId(java.lang.String value)
|
java.lang.String |
getClassNamePortletId(java.lang.String className)
|
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(java.lang.String portletId,
com.liferay.portal.theme.ThemeDisplay themeDisplay)
|
java.lang.String |
getControlPanelFullURL(long scopeGroupId,
java.lang.String ppid,
java.util.Map<java.lang.String,java.lang.String[]> params)
|
java.util.Set<com.liferay.portal.model.Portlet> |
getControlPanelPortlets(long companyId,
java.lang.String category)
|
java.util.List<com.liferay.portal.model.Portlet> |
getControlPanelPortlets(java.lang.String category,
com.liferay.portal.theme.ThemeDisplay themeDisplay)
|
java.lang.String |
getCreateAccountURL(javax.servlet.http.HttpServletRequest request,
com.liferay.portal.theme.ThemeDisplay themeDisplay)
|
java.lang.String |
getCurrentCompleteURL(javax.servlet.http.HttpServletRequest request)
|
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)
|
java.util.Date |
getDate(int month,
int day,
int year,
int hour,
int min,
com.liferay.portal.kernel.exception.PortalException pe)
|
java.util.Date |
getDate(int month,
int day,
int year,
int hour,
int min,
java.util.TimeZone timeZone,
com.liferay.portal.kernel.exception.PortalException pe)
|
java.util.Date |
getDate(int month,
int day,
int year,
com.liferay.portal.kernel.exception.PortalException pe)
|
java.util.Date |
getDate(int month,
int day,
int year,
java.util.TimeZone timeZone,
com.liferay.portal.kernel.exception.PortalException pe)
|
long |
getDefaultCompanyId()
|
protected long |
getDefaultScopeGroupId(long companyId)
|
long |
getDigestAuthUserId(javax.servlet.http.HttpServletRequest request)
|
protected long |
getDoAsUserId(javax.servlet.http.HttpServletRequest request,
java.lang.String doAsUserIdString,
boolean alwaysAllowDoAsUser)
|
java.lang.String |
getEmailFromAddress(javax.portlet.PortletPreferences preferences,
long companyId,
java.lang.String defaultValue)
|
java.lang.String |
getEmailFromName(javax.portlet.PortletPreferences preferences,
long companyId,
java.lang.String defaultValue)
|
java.util.Map<java.lang.String,java.io.Serializable> |
getExpandoBridgeAttributes(com.liferay.portlet.expando.model.ExpandoBridge expandoBridge,
javax.portlet.PortletRequest portletRequest)
|
java.io.Serializable |
getExpandoValue(javax.portlet.PortletRequest portletRequest,
java.lang.String name,
int type,
java.lang.String displayType)
|
java.lang.String |
getFacebookURL(com.liferay.portal.model.Portlet portlet,
java.lang.String facebookCanvasPageURL,
com.liferay.portal.theme.ThemeDisplay themeDisplay)
|
java.lang.String |
getFirstPageLayoutTypes(javax.servlet.jsp.PageContext pageContext)
|
java.lang.String |
getGlobalLibDir()
|
java.lang.String |
getGoogleGadgetURL(com.liferay.portal.model.Portlet portlet,
com.liferay.portal.theme.ThemeDisplay themeDisplay)
|
java.lang.String |
getGroupFriendlyURL(com.liferay.portal.model.Group group,
boolean privateLayoutSet,
com.liferay.portal.theme.ThemeDisplay themeDisplay)
|
protected java.lang.String |
getGroupFriendlyURL(com.liferay.portal.model.Group group,
boolean privateLayoutSet,
com.liferay.portal.theme.ThemeDisplay themeDisplay,
boolean canonicalURL)
|
java.lang.String[] |
getGroupPermissions(javax.servlet.http.HttpServletRequest request)
|
java.lang.String[] |
getGroupPermissions(javax.portlet.PortletRequest portletRequest)
|
java.lang.String[] |
getGuestPermissions(javax.servlet.http.HttpServletRequest request)
|
java.lang.String[] |
getGuestPermissions(javax.portlet.PortletRequest portletRequest)
|
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 |
getJournalArticleActualURL(long groupId,
java.lang.String mainPath,
java.lang.String friendlyURL,
java.util.Map<java.lang.String,java.lang.String[]> params,
java.util.Map<java.lang.String,java.lang.Object> requestContext)
|
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.util.Map<java.lang.String,java.lang.Object> requestContext)
|
java.lang.String |
getLayoutEditPage(com.liferay.portal.model.Layout layout)
|
java.lang.String |
getLayoutEditPage(java.lang.String type)
|
java.lang.String |
getLayoutFriendlyURL(com.liferay.portal.model.Layout layout,
com.liferay.portal.theme.ThemeDisplay themeDisplay)
|
java.lang.String |
getLayoutFriendlyURL(com.liferay.portal.model.Layout layout,
com.liferay.portal.theme.ThemeDisplay themeDisplay,
java.util.Locale locale)
|
java.lang.String |
getLayoutFullURL(com.liferay.portal.model.Layout layout,
com.liferay.portal.theme.ThemeDisplay themeDisplay)
|
java.lang.String |
getLayoutFullURL(com.liferay.portal.model.Layout layout,
com.liferay.portal.theme.ThemeDisplay themeDisplay,
boolean doAsUser)
|
java.lang.String |
getLayoutFullURL(long groupId,
java.lang.String portletId)
|
java.lang.String |
getLayoutFullURL(long groupId,
java.lang.String portletId,
boolean secure)
|
java.lang.String |
getLayoutFullURL(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.lang.String |
getLayoutViewPage(java.lang.String type)
|
com.liferay.portal.kernel.portlet.LiferayPortletRequest |
getLiferayPortletRequest(javax.portlet.PortletRequest portletRequest)
|
com.liferay.portal.kernel.portlet.LiferayPortletResponse |
getLiferayPortletResponse(javax.portlet.PortletResponse portletResponse)
|
java.util.Locale |
getLocale(javax.servlet.http.HttpServletRequest request)
|
java.util.Locale |
getLocale(javax.portlet.RenderRequest renderRequest)
|
java.lang.String |
getMailId(java.lang.String mx,
java.lang.String popPortletPrefix,
java.lang.Object... ids)
|
java.lang.String |
getNetvibesURL(com.liferay.portal.model.Portlet portlet,
com.liferay.portal.theme.ThemeDisplay themeDisplay)
|
java.lang.String |
getNewPortletTitle(java.lang.String portletTitle,
java.lang.String oldScopeName,
java.lang.String newScopeName)
|
javax.servlet.http.HttpServletRequest |
getOriginalServletRequest(javax.servlet.http.HttpServletRequest request)
|
java.lang.String |
getOuterPortletId(javax.servlet.http.HttpServletRequest request)
|
long |
getParentGroupId(long groupId)
|
java.lang.String |
getPathContext()
|
java.lang.String |
getPathFriendlyURLPrivateGroup()
|
java.lang.String |
getPathFriendlyURLPrivateUser()
|
java.lang.String |
getPathFriendlyURLPublic()
|
java.lang.String |
getPathImage()
|
java.lang.String |
getPathMain()
|
java.lang.String |
getPathProxy()
|
long |
getPlidFromFriendlyURL(long companyId,
java.lang.String friendlyURL)
|
long |
getPlidFromPortletId(long groupId,
boolean privateLayout,
java.lang.String portletId)
|
long |
getPlidFromPortletId(long groupId,
java.lang.String portletId)
|
java.lang.String |
getPortalLibDir()
|
int |
getPortalPort()
Deprecated. getPortalPort(boolean) |
int |
getPortalPort(boolean secure)
|
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(com.liferay.portal.model.Layout layout,
com.liferay.portal.theme.ThemeDisplay themeDisplay)
|
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.util.Set<java.lang.String> |
getPortletAddDefaultResourceCheckWhitelist()
|
java.util.Set<java.lang.String> |
getPortletAddDefaultResourceCheckWhitelistActions()
|
java.util.List<com.liferay.portal.kernel.servlet.taglib.ui.BreadcrumbEntry> |
getPortletBreadcrumbList(javax.servlet.http.HttpServletRequest request)
Deprecated. getPortletBreadcrumbs(HttpServletRequest) |
java.util.List<com.liferay.portal.kernel.servlet.taglib.ui.BreadcrumbEntry> |
getPortletBreadcrumbs(javax.servlet.http.HttpServletRequest request)
|
java.lang.String |
getPortletDescription(com.liferay.portal.model.Portlet portlet,
javax.servlet.ServletContext servletContext,
java.util.Locale locale)
|
java.lang.String |
getPortletDescription(com.liferay.portal.model.Portlet portlet,
com.liferay.portal.model.User user)
|
java.lang.String |
getPortletDescription(java.lang.String portletId,
java.util.Locale locale)
|
java.lang.String |
getPortletDescription(java.lang.String portletId,
java.lang.String languageId)
|
java.lang.String |
getPortletDescription(java.lang.String portletId,
com.liferay.portal.model.User user)
|
java.lang.Object[] |
getPortletFriendlyURLMapper(long groupId,
boolean privateLayout,
java.lang.String url,
java.util.Map<java.lang.String,java.lang.String[]> params,
java.util.Map<java.lang.String,java.lang.Object> requestContext)
|
java.lang.String |
getPortletId(javax.servlet.http.HttpServletRequest request)
|
java.lang.String |
getPortletId(javax.portlet.PortletRequest portletRequest)
|
java.lang.String |
getPortletLongTitle(com.liferay.portal.model.Portlet portlet,
java.util.Locale locale)
|
java.lang.String |
getPortletLongTitle(com.liferay.portal.model.Portlet portlet,
javax.servlet.ServletContext servletContext,
java.util.Locale locale)
|
java.lang.String |
getPortletLongTitle(com.liferay.portal.model.Portlet portlet,
java.lang.String languageId)
|
java.lang.String |
getPortletLongTitle(com.liferay.portal.model.Portlet portlet,
com.liferay.portal.model.User user)
|
java.lang.String |
getPortletLongTitle(java.lang.String portletId,
java.util.Locale locale)
|
java.lang.String |
getPortletLongTitle(java.lang.String portletId,
java.lang.String languageId)
|
java.lang.String |
getPortletLongTitle(java.lang.String portletId,
com.liferay.portal.model.User user)
|
java.lang.String |
getPortletNamespace(java.lang.String portletId)
|
protected java.lang.String |
getPortletParam(javax.servlet.http.HttpServletRequest request,
java.lang.String name)
|
java.lang.String |
getPortletTitle(com.liferay.portal.model.Portlet portlet,
java.util.Locale locale)
|
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,
java.lang.String languageId)
|
java.lang.String |
getPortletTitle(com.liferay.portal.model.Portlet portlet,
com.liferay.portal.model.User user)
|
java.lang.String |
getPortletTitle(javax.portlet.RenderResponse renderResponse)
|
java.lang.String |
getPortletTitle(java.lang.String portletId,
java.util.Locale locale)
|
java.lang.String |
getPortletTitle(java.lang.String portletId,
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)
|
java.lang.String |
getRelativeHomeURL(javax.servlet.http.HttpServletRequest request)
|
long |
getScopeGroupId(javax.servlet.http.HttpServletRequest request)
|
long |
getScopeGroupId(javax.servlet.http.HttpServletRequest request,
java.lang.String portletId)
|
long |
getScopeGroupId(javax.servlet.http.HttpServletRequest request,
java.lang.String portletId,
boolean checkStagingGroup)
|
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)
|
javax.servlet.ServletContext |
getServletContext(com.liferay.portal.model.Portlet portlet,
javax.servlet.ServletContext servletContext)
|
protected java.lang.String |
getServletURL(com.liferay.portal.model.Portlet portlet,
java.lang.String servletPath,
com.liferay.portal.theme.ThemeDisplay themeDisplay)
|
java.lang.String |
getSiteLoginURL(com.liferay.portal.theme.ThemeDisplay themeDisplay)
|
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[] |
getSystemGroups()
|
java.lang.String[] |
getSystemOrganizationRoles()
|
java.lang.String[] |
getSystemRoles()
|
java.lang.String[] |
getSystemSiteRoles()
|
com.liferay.portal.kernel.upload.UploadPortletRequest |
getUploadPortletRequest(javax.portlet.PortletRequest portletRequest)
|
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)
|
java.lang.String |
getUserEmailAddress(long userId)
|
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)
|
long |
getValidUserId(long companyId,
long userId)
|
java.lang.String |
getVirtualLayoutActualURL(long groupId,
boolean privateLayout,
java.lang.String mainPath,
java.lang.String friendlyURL,
java.util.Map<java.lang.String,java.lang.String[]> params,
java.util.Map<java.lang.String,java.lang.Object> requestContext)
|
java.lang.String |
getWidgetURL(com.liferay.portal.model.Portlet portlet,
com.liferay.portal.theme.ThemeDisplay themeDisplay)
|
void |
initCustomSQL()
|
boolean |
isAllowAddPortletDefaultResource(javax.servlet.http.HttpServletRequest request,
com.liferay.portal.model.Portlet portlet)
|
protected boolean |
isAlwaysAllowDoAsUser(javax.servlet.http.HttpServletRequest request)
|
boolean |
isCommunityAdmin(com.liferay.portal.model.User user,
long groupId)
Deprecated. As of 6.1, renamed to isGroupAdmin(User, long) |
boolean |
isCommunityOwner(com.liferay.portal.model.User user,
long groupId)
Deprecated. As of 6.1, renamed to isGroupOwner(User, long) |
boolean |
isCompanyAdmin(com.liferay.portal.model.User user)
|
boolean |
isCompanyControlPanelPortlet(java.lang.String portletId,
java.lang.String category,
com.liferay.portal.theme.ThemeDisplay themeDisplay)
|
boolean |
isCompanyControlPanelPortlet(java.lang.String portletId,
com.liferay.portal.theme.ThemeDisplay themeDisplay)
|
boolean |
isCompanyControlPanelVisible(com.liferay.portal.theme.ThemeDisplay themeDisplay)
|
boolean |
isControlPanelPortlet(java.lang.String portletId,
java.lang.String category,
com.liferay.portal.theme.ThemeDisplay themeDisplay)
|
boolean |
isControlPanelPortlet(java.lang.String portletId,
com.liferay.portal.theme.ThemeDisplay themeDisplay)
|
boolean |
isGroupAdmin(com.liferay.portal.model.User user,
long groupId)
|
boolean |
isGroupOwner(com.liferay.portal.model.User user,
long groupId)
|
boolean |
isLayoutDescendant(com.liferay.portal.model.Layout layout,
long layoutId)
|
boolean |
isLayoutFirstPageable(com.liferay.portal.model.Layout layout)
|
boolean |
isLayoutFirstPageable(java.lang.String type)
|
boolean |
isLayoutFriendliable(com.liferay.portal.model.Layout layout)
|
boolean |
isLayoutFriendliable(java.lang.String type)
|
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 |
isMultipartRequest(javax.servlet.http.HttpServletRequest request)
|
boolean |
isOmniadmin(long userId)
|
boolean |
isReservedParameter(java.lang.String name)
|
boolean |
isSecure(javax.servlet.http.HttpServletRequest request)
|
boolean |
isSystemGroup(java.lang.String groupName)
|
boolean |
isSystemRole(java.lang.String roleName)
|
boolean |
isUpdateAvailable()
|
boolean |
isValidResourceId(java.lang.String resourceId)
|
protected void |
notifyPortalPortEventListeners(int portalPort)
|
void |
removePortalPortEventListener(com.liferay.portal.util.PortalPortEventListener portalPortEventListener)
|
protected java.lang.String |
removeRedirectParameter(java.lang.String url)
|
java.lang.String |
renderPage(javax.servlet.ServletContext servletContext,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
java.lang.String path)
|
java.lang.String |
renderPortlet(javax.servlet.ServletContext servletContext,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
com.liferay.portal.model.Portlet portlet,
java.lang.String queryString,
boolean writeOutput)
|
java.lang.String |
renderPortlet(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,
boolean writeOutput)
|
java.lang.String |
renderPortlet(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,
boolean writeOutput)
|
void |
resetCDNHosts()
|
java.util.Set<java.lang.String> |
resetPortletAddDefaultResourceCheckWhitelist()
|
java.util.Set<java.lang.String> |
resetPortletAddDefaultResourceCheckWhitelistActions()
|
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 |
setPageDescription(java.lang.String description,
javax.servlet.http.HttpServletRequest request)
|
void |
setPageKeywords(java.lang.String keywords,
javax.servlet.http.HttpServletRequest request)
|
void |
setPageSubtitle(java.lang.String subtitle,
javax.servlet.http.HttpServletRequest request)
|
void |
setPageTitle(java.lang.String title,
javax.servlet.http.HttpServletRequest request)
|
void |
setPortalPort(javax.servlet.http.HttpServletRequest request)
|
void |
storePreferences(javax.portlet.PortletPreferences portletPreferences)
|
java.lang.String[] |
stripURLAnchor(java.lang.String url,
java.lang.String separator)
|
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)
|
java.lang.String |
updateRedirect(java.lang.String redirect,
java.lang.String oldPath,
java.lang.String newPath)
|
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 addPageDescription(java.lang.String description,
javax.servlet.http.HttpServletRequest request)
addPageDescription in interface com.liferay.portal.util.Portal
public void addPageKeywords(java.lang.String keywords,
javax.servlet.http.HttpServletRequest request)
addPageKeywords in interface com.liferay.portal.util.Portal
public void addPageSubtitle(java.lang.String subtitle,
javax.servlet.http.HttpServletRequest request)
addPageSubtitle in interface com.liferay.portal.util.Portal
public void addPageTitle(java.lang.String title,
javax.servlet.http.HttpServletRequest request)
addPageTitle in interface com.liferay.portal.util.Portalpublic void addPortalPortEventListener(com.liferay.portal.util.PortalPortEventListener portalPortEventListener)
addPortalPortEventListener in interface com.liferay.portal.util.Portal
public void addPortletBreadcrumbEntry(javax.servlet.http.HttpServletRequest request,
java.lang.String title,
java.lang.String url)
addPortletBreadcrumbEntry in interface com.liferay.portal.util.Portal
public void addPortletBreadcrumbEntry(javax.servlet.http.HttpServletRequest request,
java.lang.String title,
java.lang.String url,
java.util.Map<java.lang.String,java.lang.Object> data)
addPortletBreadcrumbEntry in interface com.liferay.portal.util.Portal
public void addPortletDefaultResource(javax.servlet.http.HttpServletRequest request,
com.liferay.portal.model.Portlet portlet)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
addPortletDefaultResource in interface com.liferay.portal.util.Portalcom.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
public void addPortletDefaultResource(long companyId,
com.liferay.portal.model.Layout layout,
com.liferay.portal.model.Portlet portlet)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
addPortletDefaultResource in interface com.liferay.portal.util.Portalcom.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
public java.lang.String addPreservedParameters(com.liferay.portal.theme.ThemeDisplay themeDisplay,
com.liferay.portal.model.Layout layout,
java.lang.String url,
boolean doAsUser)
addPreservedParameters in interface com.liferay.portal.util.Portal
public java.lang.String addPreservedParameters(com.liferay.portal.theme.ThemeDisplay themeDisplay,
java.lang.String url)
addPreservedParameters in interface com.liferay.portal.util.Portalpublic 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.Portalpublic java.lang.String escapeRedirect(java.lang.String url)
escapeRedirect in interface com.liferay.portal.util.Portal
public java.lang.String generateRandomKey(javax.servlet.http.HttpServletRequest request,
java.lang.String input)
generateRandomKey in interface com.liferay.portal.util.Portal
public java.lang.String getActualURL(long groupId,
boolean privateLayout,
java.lang.String mainPath,
java.lang.String friendlyURL,
java.util.Map<java.lang.String,java.lang.String[]> params,
java.util.Map<java.lang.String,java.lang.Object> requestContext)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
getActualURL in interface com.liferay.portal.util.Portalcom.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
public java.lang.String getAlternateURL(javax.servlet.http.HttpServletRequest request,
java.lang.String canonicalURL,
java.util.Locale locale)
getAlternateURL in interface com.liferay.portal.util.Portalpublic java.util.Set<java.lang.String> getAuthTokenIgnoreActions()
getAuthTokenIgnoreActions in interface com.liferay.portal.util.Portalpublic java.util.Set<java.lang.String> getAuthTokenIgnorePortlets()
getAuthTokenIgnorePortlets in interface com.liferay.portal.util.Portal
public com.liferay.portal.model.BaseModel<?> getBaseModel(com.liferay.portal.model.Resource resource)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
getBaseModel in interface com.liferay.portal.util.Portalcom.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
public com.liferay.portal.model.BaseModel<?> getBaseModel(com.liferay.portal.model.ResourcePermission resourcePermission)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
getBaseModel in interface com.liferay.portal.util.Portalcom.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
public com.liferay.portal.model.BaseModel<?> getBaseModel(java.lang.String modelName,
java.lang.String primKey)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
getBaseModel in interface com.liferay.portal.util.Portalcom.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
public long getBasicAuthUserId(javax.servlet.http.HttpServletRequest request)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
getBasicAuthUserId in interface com.liferay.portal.util.Portalcom.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
public long getBasicAuthUserId(javax.servlet.http.HttpServletRequest request,
long companyId)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
getBasicAuthUserId in interface com.liferay.portal.util.Portalcom.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
public java.lang.String getCanonicalURL(java.lang.String completeURL,
com.liferay.portal.theme.ThemeDisplay themeDisplay)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
getCanonicalURL in interface com.liferay.portal.util.Portalcom.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemExceptionpublic java.lang.String getCDNHost()
getCDNHost(boolean)
getCDNHost in interface com.liferay.portal.util.Portalpublic java.lang.String getCDNHost(boolean secure)
getCDNHost in interface com.liferay.portal.util.Portal
public java.lang.String getCDNHost(javax.servlet.http.HttpServletRequest request)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
getCDNHost in interface com.liferay.portal.util.Portalcom.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemExceptionpublic java.lang.String getCDNHostHttp(long companyId)
getCDNHostHttp in interface com.liferay.portal.util.Portalpublic java.lang.String getCDNHostHttps(long companyId)
getCDNHostHttps in interface com.liferay.portal.util.Portalpublic java.lang.String getClassName(long classNameId)
getClassName in interface com.liferay.portal.util.Portalpublic long getClassNameId(java.lang.Class<?> clazz)
getClassNameId in interface com.liferay.portal.util.Portalpublic long getClassNameId(java.lang.String value)
getClassNameId in interface com.liferay.portal.util.Portalpublic java.lang.String getClassNamePortletId(java.lang.String className)
getClassNamePortletId in interface com.liferay.portal.util.Portal
public com.liferay.portal.model.Company getCompany(javax.servlet.http.HttpServletRequest request)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
getCompany in interface com.liferay.portal.util.Portalcom.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
public com.liferay.portal.model.Company getCompany(javax.portlet.PortletRequest portletRequest)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
getCompany in interface com.liferay.portal.util.Portalcom.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemExceptionpublic long getCompanyId(javax.servlet.http.HttpServletRequest request)
getCompanyId in interface com.liferay.portal.util.Portalpublic long getCompanyId(javax.portlet.PortletRequest portletRequest)
getCompanyId in interface com.liferay.portal.util.Portalpublic long[] getCompanyIds()
getCompanyIds in interface com.liferay.portal.util.Portalpublic java.lang.String getComputerAddress()
getComputerAddress in interface com.liferay.portal.util.Portalpublic java.lang.String getComputerName()
getComputerName in interface com.liferay.portal.util.Portal
public java.lang.String getControlPanelCategory(java.lang.String portletId,
com.liferay.portal.theme.ThemeDisplay themeDisplay)
throws com.liferay.portal.kernel.exception.SystemException
getControlPanelCategory in interface com.liferay.portal.util.Portalcom.liferay.portal.kernel.exception.SystemException
public java.lang.String getControlPanelFullURL(long scopeGroupId,
java.lang.String ppid,
java.util.Map<java.lang.String,java.lang.String[]> params)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
getControlPanelFullURL in interface com.liferay.portal.util.Portalcom.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
public java.util.Set<com.liferay.portal.model.Portlet> getControlPanelPortlets(long companyId,
java.lang.String category)
throws com.liferay.portal.kernel.exception.SystemException
getControlPanelPortlets in interface com.liferay.portal.util.Portalcom.liferay.portal.kernel.exception.SystemException
public java.util.List<com.liferay.portal.model.Portlet> getControlPanelPortlets(java.lang.String category,
com.liferay.portal.theme.ThemeDisplay themeDisplay)
throws com.liferay.portal.kernel.exception.SystemException
getControlPanelPortlets in interface com.liferay.portal.util.Portalcom.liferay.portal.kernel.exception.SystemException
public java.lang.String getCreateAccountURL(javax.servlet.http.HttpServletRequest request,
com.liferay.portal.theme.ThemeDisplay themeDisplay)
throws java.lang.Exception
getCreateAccountURL in interface com.liferay.portal.util.Portaljava.lang.Exceptionpublic java.lang.String getCurrentCompleteURL(javax.servlet.http.HttpServletRequest request)
getCurrentCompleteURL in interface com.liferay.portal.util.Portalpublic java.lang.String getCurrentURL(javax.servlet.http.HttpServletRequest request)
getCurrentURL in interface com.liferay.portal.util.Portalpublic java.lang.String getCurrentURL(javax.portlet.PortletRequest portletRequest)
getCurrentURL in interface com.liferay.portal.util.Portalpublic java.lang.String getCustomSQLFunctionIsNotNull()
getCustomSQLFunctionIsNotNull in interface com.liferay.portal.util.Portalpublic java.lang.String getCustomSQLFunctionIsNull()
getCustomSQLFunctionIsNull in interface com.liferay.portal.util.Portal
public java.util.Date getDate(int month,
int day,
int year)
getDate in interface com.liferay.portal.util.Portal
public java.util.Date getDate(int month,
int day,
int year,
int hour,
int min,
com.liferay.portal.kernel.exception.PortalException pe)
throws com.liferay.portal.kernel.exception.PortalException
getDate in interface com.liferay.portal.util.Portalcom.liferay.portal.kernel.exception.PortalException
public java.util.Date getDate(int month,
int day,
int year,
int hour,
int min,
java.util.TimeZone timeZone,
com.liferay.portal.kernel.exception.PortalException pe)
throws com.liferay.portal.kernel.exception.PortalException
getDate in interface com.liferay.portal.util.Portalcom.liferay.portal.kernel.exception.PortalException
public java.util.Date getDate(int month,
int day,
int year,
com.liferay.portal.kernel.exception.PortalException pe)
throws com.liferay.portal.kernel.exception.PortalException
getDate in interface com.liferay.portal.util.Portalcom.liferay.portal.kernel.exception.PortalException
public java.util.Date getDate(int month,
int day,
int year,
java.util.TimeZone timeZone,
com.liferay.portal.kernel.exception.PortalException pe)
throws com.liferay.portal.kernel.exception.PortalException
getDate in interface com.liferay.portal.util.Portalcom.liferay.portal.kernel.exception.PortalExceptionpublic long getDefaultCompanyId()
getDefaultCompanyId in interface com.liferay.portal.util.Portal
public long getDigestAuthUserId(javax.servlet.http.HttpServletRequest request)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
getDigestAuthUserId in interface com.liferay.portal.util.Portalcom.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
public java.lang.String getEmailFromAddress(javax.portlet.PortletPreferences preferences,
long companyId,
java.lang.String defaultValue)
throws com.liferay.portal.kernel.exception.SystemException
getEmailFromAddress in interface com.liferay.portal.util.Portalcom.liferay.portal.kernel.exception.SystemException
public java.lang.String getEmailFromName(javax.portlet.PortletPreferences preferences,
long companyId,
java.lang.String defaultValue)
throws com.liferay.portal.kernel.exception.SystemException
getEmailFromName in interface com.liferay.portal.util.Portalcom.liferay.portal.kernel.exception.SystemException
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.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
getExpandoBridgeAttributes in interface com.liferay.portal.util.Portalcom.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
public java.io.Serializable getExpandoValue(javax.portlet.PortletRequest portletRequest,
java.lang.String name,
int type,
java.lang.String displayType)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
getExpandoValue in interface com.liferay.portal.util.Portalcom.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
public java.lang.String getFacebookURL(com.liferay.portal.model.Portlet portlet,
java.lang.String facebookCanvasPageURL,
com.liferay.portal.theme.ThemeDisplay themeDisplay)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
getFacebookURL in interface com.liferay.portal.util.Portalcom.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemExceptionpublic java.lang.String getFirstPageLayoutTypes(javax.servlet.jsp.PageContext pageContext)
getFirstPageLayoutTypes in interface com.liferay.portal.util.Portalpublic java.lang.String getGlobalLibDir()
getGlobalLibDir in interface com.liferay.portal.util.Portal
public java.lang.String getGoogleGadgetURL(com.liferay.portal.model.Portlet portlet,
com.liferay.portal.theme.ThemeDisplay themeDisplay)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
getGoogleGadgetURL in interface com.liferay.portal.util.Portalcom.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
public java.lang.String getGroupFriendlyURL(com.liferay.portal.model.Group group,
boolean privateLayoutSet,
com.liferay.portal.theme.ThemeDisplay themeDisplay)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
getGroupFriendlyURL in interface com.liferay.portal.util.Portalcom.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemExceptionpublic java.lang.String[] getGroupPermissions(javax.servlet.http.HttpServletRequest request)
getGroupPermissions in interface com.liferay.portal.util.Portalpublic java.lang.String[] getGroupPermissions(javax.portlet.PortletRequest portletRequest)
getGroupPermissions in interface com.liferay.portal.util.Portalpublic java.lang.String[] getGuestPermissions(javax.servlet.http.HttpServletRequest request)
getGuestPermissions in interface com.liferay.portal.util.Portalpublic java.lang.String[] getGuestPermissions(javax.portlet.PortletRequest portletRequest)
getGuestPermissions in interface com.liferay.portal.util.Portal
public java.lang.String getHomeURL(javax.servlet.http.HttpServletRequest request)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
getHomeURL in interface com.liferay.portal.util.Portalcom.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemExceptionpublic java.lang.String getHost(javax.servlet.http.HttpServletRequest request)
getHost in interface com.liferay.portal.util.Portalpublic java.lang.String getHost(javax.portlet.PortletRequest portletRequest)
getHost in interface com.liferay.portal.util.Portalpublic javax.servlet.http.HttpServletRequest getHttpServletRequest(javax.portlet.PortletRequest portletRequest)
getHttpServletRequest in interface com.liferay.portal.util.Portalpublic javax.servlet.http.HttpServletResponse getHttpServletResponse(javax.portlet.PortletResponse portletResponse)
getHttpServletResponse in interface com.liferay.portal.util.Portal
public java.lang.String getJournalArticleActualURL(long groupId,
java.lang.String mainPath,
java.lang.String friendlyURL,
java.util.Map<java.lang.String,java.lang.String[]> params,
java.util.Map<java.lang.String,java.lang.Object> requestContext)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
getJournalArticleActualURL in interface com.liferay.portal.util.Portalcom.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemExceptionpublic java.lang.String getJsSafePortletId(java.lang.String portletId)
getJsSafePortletId in interface com.liferay.portal.util.Portalpublic 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.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
getLayoutActualURL in interface com.liferay.portal.util.Portalcom.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.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,
java.util.Map<java.lang.String,java.lang.Object> requestContext)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
getLayoutActualURL in interface com.liferay.portal.util.Portalcom.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemExceptionpublic java.lang.String getLayoutEditPage(com.liferay.portal.model.Layout layout)
getLayoutEditPage in interface com.liferay.portal.util.Portalpublic java.lang.String getLayoutEditPage(java.lang.String type)
getLayoutEditPage in interface com.liferay.portal.util.Portal
public java.lang.String getLayoutFriendlyURL(com.liferay.portal.model.Layout layout,
com.liferay.portal.theme.ThemeDisplay themeDisplay)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
getLayoutFriendlyURL in interface com.liferay.portal.util.Portalcom.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
public java.lang.String getLayoutFriendlyURL(com.liferay.portal.model.Layout layout,
com.liferay.portal.theme.ThemeDisplay themeDisplay,
java.util.Locale locale)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
getLayoutFriendlyURL in interface com.liferay.portal.util.Portalcom.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
public java.lang.String getLayoutFullURL(com.liferay.portal.model.Layout layout,
com.liferay.portal.theme.ThemeDisplay themeDisplay)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
getLayoutFullURL in interface com.liferay.portal.util.Portalcom.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
public java.lang.String getLayoutFullURL(com.liferay.portal.model.Layout layout,
com.liferay.portal.theme.ThemeDisplay themeDisplay,
boolean doAsUser)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
getLayoutFullURL in interface com.liferay.portal.util.Portalcom.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
public java.lang.String getLayoutFullURL(long groupId,
java.lang.String portletId)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
getLayoutFullURL in interface com.liferay.portal.util.Portalcom.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
public java.lang.String getLayoutFullURL(long groupId,
java.lang.String portletId,
boolean secure)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
getLayoutFullURL in interface com.liferay.portal.util.Portalcom.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
public java.lang.String getLayoutFullURL(com.liferay.portal.theme.ThemeDisplay themeDisplay)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
getLayoutFullURL in interface com.liferay.portal.util.Portalcom.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
public java.lang.String getLayoutSetFriendlyURL(com.liferay.portal.model.LayoutSet layoutSet,
com.liferay.portal.theme.ThemeDisplay themeDisplay)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
getLayoutSetFriendlyURL in interface com.liferay.portal.util.Portalcom.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemExceptionpublic java.lang.String getLayoutTarget(com.liferay.portal.model.Layout layout)
getLayoutTarget in interface com.liferay.portal.util.Portal
public java.lang.String getLayoutURL(com.liferay.portal.model.Layout layout,
com.liferay.portal.theme.ThemeDisplay themeDisplay)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
getLayoutURL in interface com.liferay.portal.util.Portalcom.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
public java.lang.String getLayoutURL(com.liferay.portal.model.Layout layout,
com.liferay.portal.theme.ThemeDisplay themeDisplay,
boolean doAsUser)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
getLayoutURL in interface com.liferay.portal.util.Portalcom.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
public java.lang.String getLayoutURL(com.liferay.portal.theme.ThemeDisplay themeDisplay)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
getLayoutURL in interface com.liferay.portal.util.Portalcom.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemExceptionpublic java.lang.String getLayoutViewPage(com.liferay.portal.model.Layout layout)
getLayoutViewPage in interface com.liferay.portal.util.Portalpublic java.lang.String getLayoutViewPage(java.lang.String type)
getLayoutViewPage in interface com.liferay.portal.util.Portalpublic com.liferay.portal.kernel.portlet.LiferayPortletRequest getLiferayPortletRequest(javax.portlet.PortletRequest portletRequest)
getLiferayPortletRequest in interface com.liferay.portal.util.Portalpublic com.liferay.portal.kernel.portlet.LiferayPortletResponse getLiferayPortletResponse(javax.portlet.PortletResponse portletResponse)
getLiferayPortletResponse in interface com.liferay.portal.util.Portalpublic java.util.Locale getLocale(javax.servlet.http.HttpServletRequest request)
getLocale in interface com.liferay.portal.util.Portalpublic java.util.Locale getLocale(javax.portlet.RenderRequest renderRequest)
getLocale in interface com.liferay.portal.util.Portal
public java.lang.String getMailId(java.lang.String mx,
java.lang.String popPortletPrefix,
java.lang.Object... ids)
getMailId in interface com.liferay.portal.util.Portal
public java.lang.String getNetvibesURL(com.liferay.portal.model.Portlet portlet,
com.liferay.portal.theme.ThemeDisplay themeDisplay)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
getNetvibesURL in interface com.liferay.portal.util.Portalcom.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
public java.lang.String getNewPortletTitle(java.lang.String portletTitle,
java.lang.String oldScopeName,
java.lang.String newScopeName)
getNewPortletTitle in interface com.liferay.portal.util.Portalpublic javax.servlet.http.HttpServletRequest getOriginalServletRequest(javax.servlet.http.HttpServletRequest request)
getOriginalServletRequest in interface com.liferay.portal.util.Portalpublic java.lang.String getOuterPortletId(javax.servlet.http.HttpServletRequest request)
getOuterPortletId in interface com.liferay.portal.util.Portal
public long getParentGroupId(long groupId)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
getParentGroupId in interface com.liferay.portal.util.Portalcom.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemExceptionpublic java.lang.String getPathContext()
getPathContext in interface com.liferay.portal.util.Portalpublic java.lang.String getPathFriendlyURLPrivateGroup()
getPathFriendlyURLPrivateGroup in interface com.liferay.portal.util.Portalpublic java.lang.String getPathFriendlyURLPrivateUser()
getPathFriendlyURLPrivateUser in interface com.liferay.portal.util.Portalpublic java.lang.String getPathFriendlyURLPublic()
getPathFriendlyURLPublic in interface com.liferay.portal.util.Portalpublic java.lang.String getPathImage()
getPathImage in interface com.liferay.portal.util.Portalpublic java.lang.String getPathMain()
getPathMain in interface com.liferay.portal.util.Portalpublic java.lang.String getPathProxy()
getPathProxy 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)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
getPlidFromPortletId in interface com.liferay.portal.util.Portalcom.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
public long getPlidFromPortletId(long groupId,
java.lang.String portletId)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
getPlidFromPortletId in interface com.liferay.portal.util.Portalcom.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemExceptionpublic java.lang.String getPortalLibDir()
getPortalLibDir in interface com.liferay.portal.util.Portalpublic int getPortalPort()
getPortalPort(boolean)
getPortalPort in interface com.liferay.portal.util.Portalpublic int getPortalPort(boolean secure)
getPortalPort in interface com.liferay.portal.util.Portalpublic java.util.Properties getPortalProperties()
getPortalProperties in interface com.liferay.portal.util.Portalpublic 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(com.liferay.portal.model.Layout layout,
com.liferay.portal.theme.ThemeDisplay themeDisplay)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
getPortalURL in interface com.liferay.portal.util.Portalcom.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemExceptionpublic 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 getPortalURL(com.liferay.portal.theme.ThemeDisplay themeDisplay)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
getPortalURL in interface com.liferay.portal.util.Portalcom.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemExceptionpublic java.lang.String getPortalWebDir()
getPortalWebDir in interface com.liferay.portal.util.Portalpublic java.util.Set<java.lang.String> getPortletAddDefaultResourceCheckWhitelist()
getPortletAddDefaultResourceCheckWhitelist in interface com.liferay.portal.util.Portalpublic java.util.Set<java.lang.String> getPortletAddDefaultResourceCheckWhitelistActions()
getPortletAddDefaultResourceCheckWhitelistActions in interface com.liferay.portal.util.Portalpublic java.util.List<com.liferay.portal.kernel.servlet.taglib.ui.BreadcrumbEntry> getPortletBreadcrumbList(javax.servlet.http.HttpServletRequest request)
getPortletBreadcrumbs(HttpServletRequest)
getPortletBreadcrumbList in interface com.liferay.portal.util.Portalpublic java.util.List<com.liferay.portal.kernel.servlet.taglib.ui.BreadcrumbEntry> getPortletBreadcrumbs(javax.servlet.http.HttpServletRequest request)
getPortletBreadcrumbs in interface com.liferay.portal.util.Portal
public java.lang.String getPortletDescription(com.liferay.portal.model.Portlet portlet,
javax.servlet.ServletContext servletContext,
java.util.Locale locale)
getPortletDescription in interface com.liferay.portal.util.Portal
public java.lang.String getPortletDescription(com.liferay.portal.model.Portlet portlet,
com.liferay.portal.model.User user)
getPortletDescription in interface com.liferay.portal.util.Portal
public java.lang.String getPortletDescription(java.lang.String portletId,
java.util.Locale locale)
getPortletDescription in interface com.liferay.portal.util.Portal
public java.lang.String getPortletDescription(java.lang.String portletId,
java.lang.String languageId)
getPortletDescription in interface com.liferay.portal.util.Portal
public java.lang.String getPortletDescription(java.lang.String portletId,
com.liferay.portal.model.User user)
getPortletDescription in interface com.liferay.portal.util.Portal
public java.lang.Object[] getPortletFriendlyURLMapper(long groupId,
boolean privateLayout,
java.lang.String url,
java.util.Map<java.lang.String,java.lang.String[]> params,
java.util.Map<java.lang.String,java.lang.Object> requestContext)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemExceptionpublic java.lang.String getPortletId(javax.servlet.http.HttpServletRequest request)
getPortletId in interface com.liferay.portal.util.Portalpublic java.lang.String getPortletId(javax.portlet.PortletRequest portletRequest)
getPortletId in interface com.liferay.portal.util.Portal
public java.lang.String getPortletLongTitle(com.liferay.portal.model.Portlet portlet,
java.util.Locale locale)
getPortletLongTitle in interface com.liferay.portal.util.Portal
public java.lang.String getPortletLongTitle(com.liferay.portal.model.Portlet portlet,
javax.servlet.ServletContext servletContext,
java.util.Locale locale)
getPortletLongTitle in interface com.liferay.portal.util.Portal
public java.lang.String getPortletLongTitle(com.liferay.portal.model.Portlet portlet,
java.lang.String languageId)
getPortletLongTitle in interface com.liferay.portal.util.Portal
public java.lang.String getPortletLongTitle(com.liferay.portal.model.Portlet portlet,
com.liferay.portal.model.User user)
getPortletLongTitle in interface com.liferay.portal.util.Portal
public java.lang.String getPortletLongTitle(java.lang.String portletId,
java.util.Locale locale)
getPortletLongTitle in interface com.liferay.portal.util.Portal
public java.lang.String getPortletLongTitle(java.lang.String portletId,
java.lang.String languageId)
getPortletLongTitle in interface com.liferay.portal.util.Portal
public java.lang.String getPortletLongTitle(java.lang.String portletId,
com.liferay.portal.model.User user)
getPortletLongTitle in interface com.liferay.portal.util.Portalpublic java.lang.String getPortletNamespace(java.lang.String portletId)
getPortletNamespace in interface com.liferay.portal.util.Portal
public java.lang.String getPortletTitle(com.liferay.portal.model.Portlet portlet,
java.util.Locale locale)
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 getPortletTitle(com.liferay.portal.model.Portlet portlet,
java.lang.String languageId)
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.Portalpublic java.lang.String getPortletTitle(javax.portlet.RenderResponse renderResponse)
getPortletTitle in interface com.liferay.portal.util.Portal
public java.lang.String getPortletTitle(java.lang.String portletId,
java.util.Locale locale)
getPortletTitle in interface com.liferay.portal.util.Portal
public java.lang.String getPortletTitle(java.lang.String portletId,
java.lang.String languageId)
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 getPortletXmlFileName()
throws com.liferay.portal.kernel.exception.SystemException
getPortletXmlFileName in interface com.liferay.portal.util.Portalcom.liferay.portal.kernel.exception.SystemExceptionpublic javax.portlet.PortletPreferences getPreferences(javax.servlet.http.HttpServletRequest request)
getPreferences in interface com.liferay.portal.util.Portalpublic javax.portlet.PreferencesValidator getPreferencesValidator(com.liferay.portal.model.Portlet portlet)
getPreferencesValidator in interface com.liferay.portal.util.Portal
public java.lang.String getRelativeHomeURL(javax.servlet.http.HttpServletRequest request)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
getRelativeHomeURL in interface com.liferay.portal.util.Portalcom.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
public long getScopeGroupId(javax.servlet.http.HttpServletRequest request)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
getScopeGroupId in interface com.liferay.portal.util.Portalcom.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
public long getScopeGroupId(javax.servlet.http.HttpServletRequest request,
java.lang.String portletId)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
getScopeGroupId in interface com.liferay.portal.util.Portalcom.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
public long getScopeGroupId(javax.servlet.http.HttpServletRequest request,
java.lang.String portletId,
boolean checkStagingGroup)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
getScopeGroupId in interface com.liferay.portal.util.Portalcom.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemExceptionpublic 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.Portalpublic long getScopeGroupId(long plid)
getScopeGroupId in interface com.liferay.portal.util.Portal
public long getScopeGroupId(javax.portlet.PortletRequest portletRequest)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
getScopeGroupId in interface com.liferay.portal.util.Portalcom.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
public com.liferay.portal.model.User getSelectedUser(javax.servlet.http.HttpServletRequest request)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
getSelectedUser in interface com.liferay.portal.util.Portalcom.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
public com.liferay.portal.model.User getSelectedUser(javax.servlet.http.HttpServletRequest request,
boolean checkPermission)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
getSelectedUser in interface com.liferay.portal.util.Portalcom.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
public com.liferay.portal.model.User getSelectedUser(javax.portlet.PortletRequest portletRequest)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
getSelectedUser in interface com.liferay.portal.util.Portalcom.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
public com.liferay.portal.model.User getSelectedUser(javax.portlet.PortletRequest portletRequest,
boolean checkPermission)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
getSelectedUser in interface com.liferay.portal.util.Portalcom.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
public javax.servlet.ServletContext getServletContext(com.liferay.portal.model.Portlet portlet,
javax.servlet.ServletContext servletContext)
getServletContext in interface com.liferay.portal.util.Portal
public java.lang.String getSiteLoginURL(com.liferay.portal.theme.ThemeDisplay themeDisplay)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
getSiteLoginURL in interface com.liferay.portal.util.Portalcom.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.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,
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)
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.Portalpublic java.lang.String getStrutsAction(javax.servlet.http.HttpServletRequest request)
getStrutsAction in interface com.liferay.portal.util.Portalpublic java.lang.String[] getSystemGroups()
getSystemGroups in interface com.liferay.portal.util.Portalpublic java.lang.String[] getSystemOrganizationRoles()
getSystemOrganizationRoles in interface com.liferay.portal.util.Portalpublic java.lang.String[] getSystemRoles()
getSystemRoles in interface com.liferay.portal.util.Portalpublic java.lang.String[] getSystemSiteRoles()
getSystemSiteRoles in interface com.liferay.portal.util.Portalpublic com.liferay.portal.kernel.upload.UploadPortletRequest getUploadPortletRequest(javax.portlet.PortletRequest portletRequest)
getUploadPortletRequest in interface com.liferay.portal.util.Portalpublic com.liferay.portal.kernel.upload.UploadServletRequest getUploadServletRequest(javax.servlet.http.HttpServletRequest request)
getUploadServletRequest in interface com.liferay.portal.util.Portalpublic 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.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
getUser in interface com.liferay.portal.util.Portalcom.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
public com.liferay.portal.model.User getUser(javax.portlet.PortletRequest portletRequest)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
getUser in interface com.liferay.portal.util.Portalcom.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
public java.lang.String getUserEmailAddress(long userId)
throws com.liferay.portal.kernel.exception.SystemException
getUserEmailAddress in interface com.liferay.portal.util.Portalcom.liferay.portal.kernel.exception.SystemExceptionpublic long getUserId(javax.servlet.http.HttpServletRequest request)
getUserId in interface com.liferay.portal.util.Portalpublic 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,
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)
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.Portalpublic java.lang.String getUserPassword(javax.servlet.http.HttpServletRequest request)
getUserPassword in interface com.liferay.portal.util.Portalpublic java.lang.String getUserPassword(javax.servlet.http.HttpSession session)
getUserPassword in interface com.liferay.portal.util.Portalpublic 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.kernel.exception.SystemException
getUserValue in interface com.liferay.portal.util.Portalcom.liferay.portal.kernel.exception.SystemException
public long getValidUserId(long companyId,
long userId)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
getValidUserId in interface com.liferay.portal.util.Portalcom.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
public java.lang.String getVirtualLayoutActualURL(long groupId,
boolean privateLayout,
java.lang.String mainPath,
java.lang.String friendlyURL,
java.util.Map<java.lang.String,java.lang.String[]> params,
java.util.Map<java.lang.String,java.lang.Object> requestContext)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
getVirtualLayoutActualURL in interface com.liferay.portal.util.Portalcom.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
public java.lang.String getWidgetURL(com.liferay.portal.model.Portlet portlet,
com.liferay.portal.theme.ThemeDisplay themeDisplay)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
getWidgetURL in interface com.liferay.portal.util.Portalcom.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemExceptionpublic void initCustomSQL()
initCustomSQL in interface com.liferay.portal.util.Portal
public boolean isAllowAddPortletDefaultResource(javax.servlet.http.HttpServletRequest request,
com.liferay.portal.model.Portlet portlet)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
isAllowAddPortletDefaultResource in interface com.liferay.portal.util.Portalcom.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
public boolean isCommunityAdmin(com.liferay.portal.model.User user,
long groupId)
throws java.lang.Exception
isGroupAdmin(User, long)
isCommunityAdmin in interface com.liferay.portal.util.Portaljava.lang.Exception
public boolean isCommunityOwner(com.liferay.portal.model.User user,
long groupId)
throws java.lang.Exception
isGroupOwner(User, long)
isCommunityOwner in interface com.liferay.portal.util.Portaljava.lang.Exception
public boolean isCompanyAdmin(com.liferay.portal.model.User user)
throws java.lang.Exception
isCompanyAdmin in interface com.liferay.portal.util.Portaljava.lang.Exception
public boolean isCompanyControlPanelPortlet(java.lang.String portletId,
java.lang.String category,
com.liferay.portal.theme.ThemeDisplay themeDisplay)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
isCompanyControlPanelPortlet in interface com.liferay.portal.util.Portalcom.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
public boolean isCompanyControlPanelPortlet(java.lang.String portletId,
com.liferay.portal.theme.ThemeDisplay themeDisplay)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
isCompanyControlPanelPortlet in interface com.liferay.portal.util.Portalcom.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
public boolean isCompanyControlPanelVisible(com.liferay.portal.theme.ThemeDisplay themeDisplay)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
isCompanyControlPanelVisible in interface com.liferay.portal.util.Portalcom.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
public boolean isControlPanelPortlet(java.lang.String portletId,
java.lang.String category,
com.liferay.portal.theme.ThemeDisplay themeDisplay)
throws com.liferay.portal.kernel.exception.SystemException
isControlPanelPortlet in interface com.liferay.portal.util.Portalcom.liferay.portal.kernel.exception.SystemException
public boolean isControlPanelPortlet(java.lang.String portletId,
com.liferay.portal.theme.ThemeDisplay themeDisplay)
throws com.liferay.portal.kernel.exception.SystemException
isControlPanelPortlet in interface com.liferay.portal.util.Portalcom.liferay.portal.kernel.exception.SystemException
public boolean isGroupAdmin(com.liferay.portal.model.User user,
long groupId)
throws java.lang.Exception
isGroupAdmin in interface com.liferay.portal.util.Portaljava.lang.Exception
public boolean isGroupOwner(com.liferay.portal.model.User user,
long groupId)
throws java.lang.Exception
isGroupOwner in interface com.liferay.portal.util.Portaljava.lang.Exception
public boolean isLayoutDescendant(com.liferay.portal.model.Layout layout,
long layoutId)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
isLayoutDescendant in interface com.liferay.portal.util.Portalcom.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemExceptionpublic boolean isLayoutFirstPageable(com.liferay.portal.model.Layout layout)
isLayoutFirstPageable in interface com.liferay.portal.util.Portalpublic boolean isLayoutFirstPageable(java.lang.String type)
isLayoutFirstPageable in interface com.liferay.portal.util.Portalpublic boolean isLayoutFriendliable(com.liferay.portal.model.Layout layout)
isLayoutFriendliable in interface com.liferay.portal.util.Portalpublic boolean isLayoutFriendliable(java.lang.String type)
isLayoutFriendliable in interface com.liferay.portal.util.Portalpublic boolean isLayoutParentable(com.liferay.portal.model.Layout layout)
isLayoutParentable in interface com.liferay.portal.util.Portalpublic boolean isLayoutParentable(java.lang.String type)
isLayoutParentable in interface com.liferay.portal.util.Portalpublic boolean isLayoutSitemapable(com.liferay.portal.model.Layout layout)
isLayoutSitemapable in interface com.liferay.portal.util.Portalpublic boolean isMethodGet(javax.portlet.PortletRequest portletRequest)
isMethodGet in interface com.liferay.portal.util.Portalpublic boolean isMethodPost(javax.portlet.PortletRequest portletRequest)
isMethodPost in interface com.liferay.portal.util.Portalpublic boolean isMultipartRequest(javax.servlet.http.HttpServletRequest request)
isMultipartRequest in interface com.liferay.portal.util.Portalpublic boolean isOmniadmin(long userId)
isOmniadmin in interface com.liferay.portal.util.Portalpublic boolean isReservedParameter(java.lang.String name)
isReservedParameter in interface com.liferay.portal.util.Portalpublic boolean isSecure(javax.servlet.http.HttpServletRequest request)
isSecure in interface com.liferay.portal.util.Portalpublic boolean isSystemGroup(java.lang.String groupName)
isSystemGroup in interface com.liferay.portal.util.Portalpublic boolean isSystemRole(java.lang.String roleName)
isSystemRole in interface com.liferay.portal.util.Portal
public boolean isUpdateAvailable()
throws com.liferay.portal.kernel.exception.SystemException
isUpdateAvailable in interface com.liferay.portal.util.Portalcom.liferay.portal.kernel.exception.SystemExceptionpublic boolean isValidResourceId(java.lang.String resourceId)
isValidResourceId in interface com.liferay.portal.util.Portalpublic void removePortalPortEventListener(com.liferay.portal.util.PortalPortEventListener portalPortEventListener)
removePortalPortEventListener in interface com.liferay.portal.util.Portal
public java.lang.String renderPage(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.Portaljava.io.IOException
javax.servlet.ServletException
public java.lang.String renderPortlet(javax.servlet.ServletContext servletContext,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
com.liferay.portal.model.Portlet portlet,
java.lang.String queryString,
boolean writeOutput)
throws java.io.IOException,
javax.servlet.ServletException
renderPortlet in interface com.liferay.portal.util.Portaljava.io.IOException
javax.servlet.ServletException
public java.lang.String renderPortlet(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,
boolean writeOutput)
throws java.io.IOException,
javax.servlet.ServletException
renderPortlet in interface com.liferay.portal.util.Portaljava.io.IOException
javax.servlet.ServletException
public java.lang.String renderPortlet(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,
boolean writeOutput)
throws java.io.IOException,
javax.servlet.ServletException
renderPortlet in interface com.liferay.portal.util.Portaljava.io.IOException
javax.servlet.ServletExceptionpublic void resetCDNHosts()
resetCDNHosts in interface com.liferay.portal.util.Portalpublic java.util.Set<java.lang.String> resetPortletAddDefaultResourceCheckWhitelist()
resetPortletAddDefaultResourceCheckWhitelist in interface com.liferay.portal.util.Portalpublic java.util.Set<java.lang.String> resetPortletAddDefaultResourceCheckWhitelistActions()
resetPortletAddDefaultResourceCheckWhitelistActions in interface com.liferay.portal.util.Portal
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.Portaljava.io.IOException
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.Portaljava.io.IOException
javax.servlet.ServletException
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.Portaljava.io.IOException
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.Portaljava.io.IOException
javax.servlet.ServletException
public void setPageDescription(java.lang.String description,
javax.servlet.http.HttpServletRequest request)
setPageDescription in interface com.liferay.portal.util.Portal
public void setPageKeywords(java.lang.String keywords,
javax.servlet.http.HttpServletRequest request)
setPageKeywords in interface com.liferay.portal.util.Portal
public void setPageSubtitle(java.lang.String subtitle,
javax.servlet.http.HttpServletRequest request)
setPageSubtitle in interface com.liferay.portal.util.Portal
public void setPageTitle(java.lang.String title,
javax.servlet.http.HttpServletRequest request)
setPageTitle in interface com.liferay.portal.util.Portalpublic void setPortalPort(javax.servlet.http.HttpServletRequest request)
setPortalPort in interface com.liferay.portal.util.Portal
public void storePreferences(javax.portlet.PortletPreferences portletPreferences)
throws java.io.IOException,
javax.portlet.ValidatorException
storePreferences in interface com.liferay.portal.util.Portaljava.io.IOException
javax.portlet.ValidatorException
public java.lang.String[] stripURLAnchor(java.lang.String url,
java.lang.String separator)
stripURLAnchor in interface com.liferay.portal.util.Portalpublic 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 java.lang.String updateRedirect(java.lang.String redirect,
java.lang.String oldPath,
java.lang.String newPath)
updateRedirect 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 void addDefaultResource(long companyId,
com.liferay.portal.model.Layout layout,
com.liferay.portal.model.Portlet portlet,
boolean portletActions)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
protected void addDefaultResource(com.liferay.portal.theme.ThemeDisplay themeDisplay,
com.liferay.portal.model.Layout layout,
com.liferay.portal.model.Portlet portlet,
boolean portletActions)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemExceptionprotected java.lang.String buildI18NPath(java.util.Locale locale)
protected long doGetPlidFromPortletId(long groupId,
boolean privateLayout,
java.lang.String portletId)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
protected java.util.List<com.liferay.portal.model.Portlet> filterControlPanelPortlets(java.util.Set<com.liferay.portal.model.Portlet> portlets,
java.lang.String category,
com.liferay.portal.theme.ThemeDisplay themeDisplay)
protected long getDefaultScopeGroupId(long companyId)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
protected long getDoAsUserId(javax.servlet.http.HttpServletRequest request,
java.lang.String doAsUserIdString,
boolean alwaysAllowDoAsUser)
throws java.lang.Exception
java.lang.Exception
protected java.lang.String getGroupFriendlyURL(com.liferay.portal.model.Group group,
boolean privateLayoutSet,
com.liferay.portal.theme.ThemeDisplay themeDisplay,
boolean canonicalURL)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
protected java.lang.String getPortletParam(javax.servlet.http.HttpServletRequest request,
java.lang.String name)
protected java.lang.String getServletURL(com.liferay.portal.model.Portlet portlet,
java.lang.String servletPath,
com.liferay.portal.theme.ThemeDisplay themeDisplay)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
protected boolean isAlwaysAllowDoAsUser(javax.servlet.http.HttpServletRequest request)
throws java.lang.Exception
java.lang.Exceptionprotected void notifyPortalPortEventListeners(int portalPort)
protected java.lang.String removeRedirectParameter(java.lang.String url)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||