public class PortalImpl
extends Object
implements com.liferay.portal.kernel.util.Portal
Constructor and Description |
---|
PortalImpl() |
Modifier and Type | Method and Description |
---|---|
protected void |
addDefaultResource(long companyId,
com.liferay.portal.kernel.model.Layout layout,
com.liferay.portal.kernel.model.Portlet portlet,
boolean portletActions)
Deprecated.
As of Wilberforce (7.0.x)
|
protected void |
addDefaultResource(long companyId,
long groupId,
com.liferay.portal.kernel.model.Layout layout,
com.liferay.portal.kernel.model.Portlet portlet,
boolean portletActions)
Deprecated.
As of Wilberforce (7.0.x)
|
void |
addPageDescription(String description,
javax.servlet.http.HttpServletRequest request) |
void |
addPageKeywords(String keywords,
javax.servlet.http.HttpServletRequest request) |
void |
addPageSubtitle(String subtitle,
javax.servlet.http.HttpServletRequest request) |
void |
addPageTitle(String title,
javax.servlet.http.HttpServletRequest request) |
boolean |
addPortalInetSocketAddressEventListener(com.liferay.portal.kernel.util.PortalInetSocketAddressEventListener portalInetSocketAddressEventListener) |
void |
addPortalPortEventListener(com.liferay.portal.kernel.util.PortalPortEventListener portalPortEventListener)
Deprecated.
As of Judson (7.1.x), replaced by
addPortalInetSocketAddressEventListener(
PortalInetSocketAddressEventListener) |
void |
addPortletBreadcrumbEntry(javax.servlet.http.HttpServletRequest request,
String title,
String url) |
void |
addPortletBreadcrumbEntry(javax.servlet.http.HttpServletRequest request,
String title,
String url,
Map<String,Object> data) |
void |
addPortletBreadcrumbEntry(javax.servlet.http.HttpServletRequest request,
String title,
String url,
Map<String,Object> data,
boolean portletBreadcrumbEntry) |
void |
addPortletDefaultResource(javax.servlet.http.HttpServletRequest request,
com.liferay.portal.kernel.model.Portlet portlet) |
void |
addPortletDefaultResource(long companyId,
com.liferay.portal.kernel.model.Layout layout,
com.liferay.portal.kernel.model.Portlet portlet) |
String |
addPreservedParameters(com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay,
com.liferay.portal.kernel.model.Layout layout,
String url,
boolean doAsUser) |
String |
addPreservedParameters(com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay,
String url) |
String |
addPreservedParameters(com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay,
String url,
boolean typeControlPanel,
boolean doAsUser) |
protected void |
addRootModelResource(long companyId,
long groupId,
com.liferay.portal.kernel.model.Portlet portlet)
Deprecated.
As of Judson (7.1.x), replaced by
addRootModelResource(long, long, String) |
protected void |
addRootModelResource(long companyId,
long groupId,
String name) |
void |
addUserLocaleOptionsMessage(javax.servlet.http.HttpServletRequest request) |
protected String |
buildI18NPath(Locale locale)
Deprecated.
As of 7.0.0, with no direct replacement
|
void |
clearRequestParameters(RenderRequest renderRequest) |
void |
copyRequestParameters(ActionRequest actionRequest,
ActionResponse actionResponse) |
protected Set<com.liferay.portal.kernel.model.Group> |
doGetAncestorSiteGroups(long groupId,
boolean checkContentSharingWithChildrenEnabled) |
protected com.liferay.portal.kernel.model.Group |
doGetCurrentSiteGroup(long groupId) |
protected long |
doGetPlidFromPortletId(long groupId,
boolean privateLayout,
String portletId) |
String |
escapeRedirect(String url) |
protected List<com.liferay.portal.kernel.model.Portlet> |
filterControlPanelPortlets(Set<com.liferay.portal.kernel.model.Portlet> portlets,
com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay) |
String |
generateRandomKey(javax.servlet.http.HttpServletRequest request,
String input) |
String |
getAbsoluteURL(javax.servlet.http.HttpServletRequest request,
String url) |
com.liferay.portal.kernel.model.LayoutQueryStringComposite |
getActualLayoutQueryStringComposite(long groupId,
boolean privateLayout,
String friendlyURL,
Map<String,String[]> params,
Map<String,Object> requestContext) |
String |
getActualURL(long groupId,
boolean privateLayout,
String mainPath,
String friendlyURL,
Map<String,String[]> params,
Map<String,Object> requestContext) |
String |
getAlternateURL(String canonicalURL,
com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay,
Locale locale,
com.liferay.portal.kernel.model.Layout layout) |
Map<Locale,String> |
getAlternateURLs(String canonicalURL,
com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay,
com.liferay.portal.kernel.model.Layout layout) |
long[] |
getAncestorSiteGroupIds(long groupId) |
protected Locale |
getAvailableLocale(long groupId,
Locale locale) |
com.liferay.portal.kernel.model.BaseModel<?> |
getBaseModel(com.liferay.portal.kernel.model.ResourcePermission resourcePermission) |
com.liferay.portal.kernel.model.BaseModel<?> |
getBaseModel(String modelName,
String primKey) |
long |
getBasicAuthUserId(javax.servlet.http.HttpServletRequest request)
Deprecated.
As of Wilberforce (7.0.x), replaced by
HttpAuthManagerUtil.getBasicUserId(HttpServletRequest) |
long |
getBasicAuthUserId(javax.servlet.http.HttpServletRequest request,
long companyId)
Deprecated.
As of Wilberforce (7.0.x), replaced by
HttpAuthManagerUtil.getBasicUserId(HttpServletRequest) |
protected com.liferay.portal.kernel.model.Layout |
getBrowsableLayout(com.liferay.portal.kernel.model.Layout layout) |
List<com.liferay.portal.kernel.model.Group> |
getBrowsableScopeGroups(long userId,
long companyId,
long groupId,
String portletId) |
protected String |
getCanonicalDomain(String virtualHostname,
String portalDomain) |
String |
getCanonicalURL(String completeURL,
com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay,
com.liferay.portal.kernel.model.Layout layout) |
String |
getCanonicalURL(String completeURL,
com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay,
com.liferay.portal.kernel.model.Layout layout,
boolean forceLayoutFriendlyURL) |
String |
getCanonicalURL(String completeURL,
com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay,
com.liferay.portal.kernel.model.Layout layout,
boolean forceLayoutFriendlyURL,
boolean includeQueryString) |
String |
getCDNHost(boolean secure) |
String |
getCDNHost(javax.servlet.http.HttpServletRequest request) |
String |
getCDNHostHttp(long companyId) |
String |
getCDNHostHttps(long companyId) |
String |
getClassName(long classNameId) |
long |
getClassNameId(Class<?> clazz) |
long |
getClassNameId(String value) |
com.liferay.portal.kernel.model.Company |
getCompany(javax.servlet.http.HttpServletRequest request) |
com.liferay.portal.kernel.model.Company |
getCompany(PortletRequest portletRequest) |
long |
getCompanyId(javax.servlet.http.HttpServletRequest request) |
long |
getCompanyId(PortletRequest portletRequest) |
long[] |
getCompanyIds() |
Set<String> |
getComputerAddresses() |
String |
getComputerName() |
protected String |
getContextPath(String contextPath) |
protected com.liferay.portal.kernel.model.Group |
getControlPanelDisplayGroup(com.liferay.portal.kernel.model.Group controlPanelGroup,
com.liferay.portal.kernel.model.Group scopeGroup,
long doAsGroupId,
String portletId) |
protected com.liferay.portal.kernel.model.Group |
getControlPanelDisplayGroup(long companyId,
long scopeGroupId,
long doAsGroupId,
String portletId) |
String |
getControlPanelFullURL(long scopeGroupId,
String ppid,
Map<String,String[]> params) |
long |
getControlPanelPlid(long companyId) |
long |
getControlPanelPlid(PortletRequest portletRequest) |
PortletURL |
getControlPanelPortletURL(javax.servlet.http.HttpServletRequest request,
com.liferay.portal.kernel.model.Group group,
String portletId,
long refererGroupId,
long refererPlid,
String lifecycle) |
PortletURL |
getControlPanelPortletURL(javax.servlet.http.HttpServletRequest request,
String portletId,
String lifecycle) |
PortletURL |
getControlPanelPortletURL(PortletRequest portletRequest,
com.liferay.portal.kernel.model.Group group,
String portletId,
long refererGroupId,
long refererPlid,
String lifecycle) |
PortletURL |
getControlPanelPortletURL(PortletRequest portletRequest,
String portletId,
String lifecycle) |
String |
getCreateAccountURL(javax.servlet.http.HttpServletRequest request,
com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay) |
long[] |
getCurrentAndAncestorSiteGroupIds(long groupId) |
long[] |
getCurrentAndAncestorSiteGroupIds(long[] groupIds) |
long[] |
getCurrentAndAncestorSiteGroupIds(long[] groupIds,
boolean checkContentSharingWithChildrenEnabled) |
long[] |
getCurrentAndAncestorSiteGroupIds(long groupId,
boolean checkContentSharingWithChildrenEnabled) |
List<com.liferay.portal.kernel.model.Group> |
getCurrentAndAncestorSiteGroups(long groupId) |
List<com.liferay.portal.kernel.model.Group> |
getCurrentAndAncestorSiteGroups(long[] groupIds) |
List<com.liferay.portal.kernel.model.Group> |
getCurrentAndAncestorSiteGroups(long[] groupIds,
boolean checkContentSharingWithChildrenEnabled) |
List<com.liferay.portal.kernel.model.Group> |
getCurrentAndAncestorSiteGroups(long groupId,
boolean checkContentSharingWithChildrenEnabled) |
String |
getCurrentCompleteURL(javax.servlet.http.HttpServletRequest request) |
String |
getCurrentURL(javax.servlet.http.HttpServletRequest request) |
String |
getCurrentURL(PortletRequest portletRequest) |
String |
getCustomSQLFunctionIsNotNull() |
String |
getCustomSQLFunctionIsNull() |
Date |
getDate(int month,
int day,
int year) |
Date |
getDate(int month,
int day,
int year,
Class<? extends com.liferay.portal.kernel.exception.PortalException> clazz) |
Date |
getDate(int month,
int day,
int year,
int hour,
int min,
Class<? extends com.liferay.portal.kernel.exception.PortalException> clazz) |
Date |
getDate(int month,
int day,
int year,
int hour,
int min,
TimeZone timeZone,
Class<? extends com.liferay.portal.kernel.exception.PortalException> clazz) |
Date |
getDate(int month,
int day,
int year,
TimeZone timeZone,
Class<? extends com.liferay.portal.kernel.exception.PortalException> clazz) |
long |
getDefaultCompanyId() |
long |
getDigestAuthUserId(javax.servlet.http.HttpServletRequest request)
Deprecated.
As of Wilberforce (7.0.x), replaced by
HttpAuthManagerUtil.getDigestUserId(HttpServletRequest) |
protected long |
getDoAsUserId(javax.servlet.http.HttpServletRequest request,
String doAsUserIdString,
boolean alwaysAllowDoAsUser) |
String |
getEmailFromAddress(PortletPreferences preferences,
long companyId,
String defaultValue) |
String |
getEmailFromName(PortletPreferences preferences,
long companyId,
String defaultValue) |
Map<String,Serializable> |
getExpandoBridgeAttributes(com.liferay.expando.kernel.model.ExpandoBridge expandoBridge,
javax.servlet.http.HttpServletRequest request) |
Map<String,Serializable> |
getExpandoBridgeAttributes(com.liferay.expando.kernel.model.ExpandoBridge expandoBridge,
PortletRequest portletRequest) |
Map<String,Serializable> |
getExpandoBridgeAttributes(com.liferay.expando.kernel.model.ExpandoBridge expandoBridge,
com.liferay.portal.kernel.upload.UploadPortletRequest uploadPortletRequest) |
Serializable |
getExpandoValue(javax.servlet.http.HttpServletRequest request,
String name,
int type,
String displayType) |
Serializable |
getExpandoValue(PortletRequest portletRequest,
String name,
int type,
String displayType) |
Serializable |
getExpandoValue(com.liferay.portal.kernel.upload.UploadPortletRequest uploadPortletRequest,
String name,
int type,
String displayType) |
String |
getFacebookURL(com.liferay.portal.kernel.model.Portlet portlet,
String facebookCanvasPageURL,
com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay) |
String |
getFirstPageLayoutTypes(javax.servlet.http.HttpServletRequest request) |
String |
getForwardedHost(javax.servlet.http.HttpServletRequest request) |
int |
getForwardedPort(javax.servlet.http.HttpServletRequest request) |
String |
getFullName(String firstName,
String middleName,
String lastName) |
String |
getGlobalLibDir() |
String |
getGoogleGadgetURL(com.liferay.portal.kernel.model.Portlet portlet,
com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay) |
String |
getGroupFriendlyURL(com.liferay.portal.kernel.model.LayoutSet layoutSet,
com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay) |
protected String |
getGroupFriendlyURL(com.liferay.portal.kernel.model.LayoutSet layoutSet,
com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay,
boolean canonicalURL) |
protected String |
getGroupFriendlyURL(com.liferay.portal.kernel.model.LayoutSet layoutSet,
com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay,
boolean canonicalURL,
boolean controlPanel) |
String |
getGroupFriendlyURL(com.liferay.portal.kernel.model.LayoutSet layoutSet,
com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay,
Locale locale) |
int[] |
getGroupFriendlyURLIndex(String requestURI) |
String[] |
getGroupPermissions(javax.servlet.http.HttpServletRequest request) |
String[] |
getGroupPermissions(javax.servlet.http.HttpServletRequest request,
String className) |
String[] |
getGroupPermissions(PortletRequest portletRequest) |
String[] |
getGroupPermissions(PortletRequest portletRequest,
String className) |
protected String[] |
getGroupPermissions(String[] groupPermissions,
String className,
String inputPermissionsShowOptions) |
String[] |
getGuestPermissions(javax.servlet.http.HttpServletRequest request) |
String[] |
getGuestPermissions(javax.servlet.http.HttpServletRequest request,
String className) |
String[] |
getGuestPermissions(PortletRequest portletRequest) |
String[] |
getGuestPermissions(PortletRequest portletRequest,
String className) |
protected String[] |
getGuestPermissions(String[] guestPermissions,
String className,
String inputPermissionsShowOptions) |
String |
getHomeURL(javax.servlet.http.HttpServletRequest request) |
String |
getHost(javax.servlet.http.HttpServletRequest request) |
String |
getHost(PortletRequest portletRequest) |
javax.servlet.http.HttpServletRequest |
getHttpServletRequest(PortletRequest portletRequest) |
javax.servlet.http.HttpServletResponse |
getHttpServletResponse(PortletResponse portletResponse) |
String |
getI18nPathLanguageId(Locale locale,
String defaultI18nPathLanguageId) |
String |
getJournalArticleActualURL(long groupId,
boolean privateLayout,
String mainPath,
String friendlyURL,
Map<String,String[]> params,
Map<String,Object> requestContext)
Deprecated.
As of Wilberforce (7.0.x), with no direct replacement
|
com.liferay.portal.kernel.model.Layout |
getJournalArticleLayout(long groupId,
boolean privateLayout,
String friendlyURL)
Deprecated.
As of Wilberforce (7.0.x), with no direct replacement
|
String |
getJsSafePortletId(String portletId) |
String |
getLayoutActualURL(com.liferay.portal.kernel.model.Layout layout) |
String |
getLayoutActualURL(com.liferay.portal.kernel.model.Layout layout,
String mainPath) |
String |
getLayoutActualURL(long groupId,
boolean privateLayout,
String mainPath,
String friendlyURL) |
String |
getLayoutActualURL(long groupId,
boolean privateLayout,
String mainPath,
String friendlyURL,
Map<String,String[]> params,
Map<String,Object> requestContext) |
String |
getLayoutFriendlyURL(com.liferay.portal.kernel.model.Layout layout,
com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay) |
String |
getLayoutFriendlyURL(com.liferay.portal.kernel.model.Layout layout,
com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay,
Locale locale) |
String |
getLayoutFriendlyURL(com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay) |
com.liferay.portal.kernel.model.LayoutFriendlyURLComposite |
getLayoutFriendlyURLComposite(long groupId,
boolean privateLayout,
String friendlyURL,
Map<String,String[]> params,
Map<String,Object> requestContext)
Deprecated.
As of Judson (7.1.x), replaced by
#getLayoutFriendlyURLSeparatorComposite(long, boolean,
String, Map |
com.liferay.portal.kernel.portlet.LayoutFriendlyURLSeparatorComposite |
getLayoutFriendlyURLSeparatorComposite(long groupId,
boolean privateLayout,
String friendlyURL,
Map<String,String[]> params,
Map<String,Object> requestContext) |
String |
getLayoutFullURL(com.liferay.portal.kernel.model.Layout layout,
com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay) |
String |
getLayoutFullURL(com.liferay.portal.kernel.model.Layout layout,
com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay,
boolean doAsUser) |
String |
getLayoutFullURL(long groupId,
String portletId) |
String |
getLayoutFullURL(long groupId,
String portletId,
boolean secure) |
String |
getLayoutFullURL(com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay) |
String |
getLayoutRelativeURL(com.liferay.portal.kernel.model.Layout layout,
com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay) |
String |
getLayoutRelativeURL(com.liferay.portal.kernel.model.Layout layout,
com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay,
boolean doAsUser) |
String |
getLayoutSetDisplayURL(com.liferay.portal.kernel.model.LayoutSet layoutSet,
boolean secureConnection) |
String |
getLayoutSetFriendlyURL(com.liferay.portal.kernel.model.LayoutSet layoutSet,
com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay) |
String |
getLayoutTarget(com.liferay.portal.kernel.model.Layout layout) |
String |
getLayoutURL(com.liferay.portal.kernel.model.Layout layout,
com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay) |
String |
getLayoutURL(com.liferay.portal.kernel.model.Layout layout,
com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay,
boolean doAsUser) |
String |
getLayoutURL(com.liferay.portal.kernel.model.Layout layout,
com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay,
Locale locale) |
String |
getLayoutURL(com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay) |
com.liferay.portal.kernel.portlet.LiferayPortletRequest |
getLiferayPortletRequest(PortletRequest portletRequest) |
com.liferay.portal.kernel.portlet.LiferayPortletResponse |
getLiferayPortletResponse(PortletResponse portletResponse) |
Locale |
getLocale(javax.servlet.http.HttpServletRequest request) |
Locale |
getLocale(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
boolean initialize) |
Locale |
getLocale(PortletRequest portletRequest) |
String |
getLocalizedFriendlyURL(javax.servlet.http.HttpServletRequest request,
com.liferay.portal.kernel.model.Layout layout,
Locale locale,
Locale originalLocale) |
String |
getMailId(String mx,
String popPortletPrefix,
Object... ids) |
String |
getNetvibesURL(com.liferay.portal.kernel.model.Portlet portlet,
com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay) |
String |
getNewPortletTitle(String portletTitle,
String oldScopeName,
String newScopeName) |
javax.servlet.http.HttpServletRequest |
getOriginalServletRequest(javax.servlet.http.HttpServletRequest request) |
String |
getPathContext() |
String |
getPathContext(javax.servlet.http.HttpServletRequest request) |
String |
getPathContext(PortletRequest portletRequest) |
String |
getPathContext(String contextPath) |
String |
getPathFriendlyURLPrivateGroup() |
String |
getPathFriendlyURLPrivateUser() |
String |
getPathFriendlyURLPublic() |
String |
getPathImage() |
String |
getPathMain() |
String |
getPathModule() |
String |
getPathProxy() |
long |
getPlidFromFriendlyURL(long companyId,
String friendlyURL) |
long |
getPlidFromPortletId(long groupId,
boolean privateLayout,
String portletId) |
long |
getPlidFromPortletId(long groupId,
String portletId) |
com.liferay.portal.kernel.util.PortalInetSocketAddressEventListener[] |
getPortalInetSocketAddressEventListeners() |
String |
getPortalLibDir() |
InetAddress |
getPortalLocalInetAddress(boolean secure) |
int |
getPortalLocalPort(boolean secure) |
int |
getPortalPort(boolean secure)
Deprecated.
As of Wilberforce (7.0.x), replaced by
getPortalServerPort(boolean) |
Properties |
getPortalProperties() |
InetAddress |
getPortalServerInetAddress(boolean secure) |
int |
getPortalServerPort(boolean secure) |
String |
getPortalURL(javax.servlet.http.HttpServletRequest request) |
String |
getPortalURL(javax.servlet.http.HttpServletRequest request,
boolean secure) |
String |
getPortalURL(com.liferay.portal.kernel.model.LayoutSet layoutSet,
com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay) |
String |
getPortalURL(com.liferay.portal.kernel.model.Layout layout,
com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay) |
String |
getPortalURL(PortletRequest portletRequest) |
String |
getPortalURL(PortletRequest portletRequest,
boolean secure) |
String |
getPortalURL(String serverName,
int serverPort,
boolean secure) |
String |
getPortalURL(com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay) |
String |
getPortalWebDir() |
List<com.liferay.portal.kernel.servlet.taglib.ui.BreadcrumbEntry> |
getPortletBreadcrumbs(javax.servlet.http.HttpServletRequest request)
Deprecated.
As of Wilberforce (7.0.x), replaced by
BreadcrumbUtil.getPortletBreadcrumbEntries(
HttpServletRequest) |
PortletConfig |
getPortletConfig(long companyId,
String portletId,
javax.servlet.ServletContext servletContext) |
String |
getPortletDescription(com.liferay.portal.kernel.model.Portlet portlet,
javax.servlet.ServletContext servletContext,
Locale locale) |
String |
getPortletDescription(com.liferay.portal.kernel.model.Portlet portlet,
com.liferay.portal.kernel.model.User user) |
String |
getPortletDescription(String portletId,
Locale locale) |
String |
getPortletDescription(String portletId,
String languageId) |
String |
getPortletDescription(String portletId,
com.liferay.portal.kernel.model.User user) |
com.liferay.portal.kernel.model.LayoutQueryStringComposite |
getPortletFriendlyURLMapperLayoutQueryStringComposite(long groupId,
boolean privateLayout,
String url,
Map<String,String[]> params,
Map<String,Object> requestContext) |
String |
getPortletId(javax.servlet.http.HttpServletRequest request) |
String |
getPortletId(PortletRequest portletRequest) |
String |
getPortletLongTitle(com.liferay.portal.kernel.model.Portlet portlet,
Locale locale) |
String |
getPortletLongTitle(com.liferay.portal.kernel.model.Portlet portlet,
javax.servlet.ServletContext servletContext,
Locale locale) |
String |
getPortletLongTitle(com.liferay.portal.kernel.model.Portlet portlet,
String languageId) |
String |
getPortletLongTitle(com.liferay.portal.kernel.model.Portlet portlet,
com.liferay.portal.kernel.model.User user) |
String |
getPortletLongTitle(String portletId,
Locale locale) |
String |
getPortletLongTitle(String portletId,
String languageId) |
String |
getPortletLongTitle(String portletId,
com.liferay.portal.kernel.model.User user) |
String |
getPortletNamespace(String portletId) |
protected String |
getPortletParam(javax.servlet.http.HttpServletRequest request,
String name) |
String |
getPortletTitle(com.liferay.portal.kernel.model.Portlet portlet,
Locale locale) |
String |
getPortletTitle(PortletRequest portletRequest) |
String |
getPortletTitle(PortletResponse portletResponse) |
String |
getPortletTitle(com.liferay.portal.kernel.model.Portlet portlet,
javax.servlet.ServletContext servletContext,
Locale locale) |
String |
getPortletTitle(com.liferay.portal.kernel.model.Portlet portlet,
String languageId) |
String |
getPortletTitle(com.liferay.portal.kernel.model.Portlet portlet,
com.liferay.portal.kernel.model.User user) |
String |
getPortletTitle(String portletId,
Locale locale) |
String |
getPortletTitle(String portletId,
ResourceBundle resourceBundle) |
String |
getPortletTitle(String portletId,
String languageId) |
String |
getPortletTitle(String portletId,
com.liferay.portal.kernel.model.User user) |
String |
getPortletXmlFileName() |
PortletPreferences |
getPreferences(javax.servlet.http.HttpServletRequest request) |
PreferencesValidator |
getPreferencesValidator(com.liferay.portal.kernel.model.Portlet portlet) |
String |
getRelativeHomeURL(javax.servlet.http.HttpServletRequest request) |
ResourceBundle |
getResourceBundle(Locale locale) |
long |
getScopeGroupId(javax.servlet.http.HttpServletRequest request) |
long |
getScopeGroupId(javax.servlet.http.HttpServletRequest request,
String portletId) |
long |
getScopeGroupId(javax.servlet.http.HttpServletRequest request,
String portletId,
boolean checkStagingGroup) |
long |
getScopeGroupId(com.liferay.portal.kernel.model.Layout layout) |
long |
getScopeGroupId(com.liferay.portal.kernel.model.Layout layout,
String portletId) |
long |
getScopeGroupId(long plid) |
long |
getScopeGroupId(PortletRequest portletRequest) |
com.liferay.portal.kernel.model.User |
getSelectedUser(javax.servlet.http.HttpServletRequest request) |
com.liferay.portal.kernel.model.User |
getSelectedUser(javax.servlet.http.HttpServletRequest request,
boolean checkPermission) |
com.liferay.portal.kernel.model.User |
getSelectedUser(PortletRequest portletRequest) |
com.liferay.portal.kernel.model.User |
getSelectedUser(PortletRequest portletRequest,
boolean checkPermission) |
String |
getServletContextName() |
protected String |
getServletURL(com.liferay.portal.kernel.model.Portlet portlet,
String servletPath,
com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay) |
long[] |
getSharedContentSiteGroupIds(long companyId,
long groupId,
long userId) |
PortletURL |
getSiteAdministrationURL(javax.servlet.http.HttpServletRequest request,
com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay,
String portletId)
Deprecated.
As of Wilberforce (7.0.x), replaced by
#getControlPanelPortletURL(PortletRequest, Group, String,
String) |
PortletURL |
getSiteAdministrationURL(PortletResponse portletResponse,
com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay,
String portletName)
Deprecated.
As of Wilberforce (7.0.x), replaced by
#getControlPanelPortletURL(PortletRequest, Group, String,
String) |
String |
getSiteAdminURL(com.liferay.portal.kernel.model.Company company,
com.liferay.portal.kernel.model.Group group,
String ppid,
Map<String,String[]> params)
Deprecated.
As of Judson (7.1.x), replaced by
getSiteAdminURL(ThemeDisplay, String, Map) |
String |
getSiteAdminURL(com.liferay.portal.kernel.model.Group group,
String ppid,
Map<String,String[]> params)
Deprecated.
As of Judson (7.1.x), replaced by
getSiteAdminURL(ThemeDisplay, String, Map) |
String |
getSiteAdminURL(com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay,
String ppid,
Map<String,String[]> params) |
long[] |
getSiteAndCompanyGroupIds(long groupId)
Deprecated.
As of Wilberforce (7.0.x), replaced by
getCurrentAndAncestorSiteGroupIds(long) |
long[] |
getSiteAndCompanyGroupIds(com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay)
Deprecated.
As of Wilberforce (7.0.x), replaced by
getCurrentAndAncestorSiteGroupIds(long) |
Locale |
getSiteDefaultLocale(com.liferay.portal.kernel.model.Group group) |
Locale |
getSiteDefaultLocale(long groupId) |
long |
getSiteGroupId(long groupId) |
String |
getSiteLoginURL(com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay) |
String |
getStaticResourceURL(javax.servlet.http.HttpServletRequest request,
String uri) |
String |
getStaticResourceURL(javax.servlet.http.HttpServletRequest request,
String uri,
long timestamp) |
String |
getStaticResourceURL(javax.servlet.http.HttpServletRequest request,
String uri,
String queryString) |
String |
getStaticResourceURL(javax.servlet.http.HttpServletRequest request,
String uri,
String queryString,
long timestamp) |
String |
getStrutsAction(javax.servlet.http.HttpServletRequest request) |
String[] |
getSystemGroups() |
String[] |
getSystemOrganizationRoles() |
String[] |
getSystemRoles() |
String[] |
getSystemSiteRoles() |
String |
getUniqueElementId(javax.servlet.http.HttpServletRequest request,
String namespace,
String elementId) |
String |
getUniqueElementId(PortletRequest request,
String namespace,
String elementId) |
com.liferay.portal.kernel.upload.UploadPortletRequest |
getUploadPortletRequest(PortletRequest portletRequest) |
com.liferay.portal.kernel.upload.UploadServletRequest |
getUploadServletRequest(javax.servlet.http.HttpServletRequest request) |
Date |
getUptime() |
String |
getURLWithSessionId(String url,
String sessionId) |
com.liferay.portal.kernel.model.User |
getUser(javax.servlet.http.HttpServletRequest request) |
com.liferay.portal.kernel.model.User |
getUser(PortletRequest portletRequest) |
String |
getUserEmailAddress(long userId) |
long |
getUserId(javax.servlet.http.HttpServletRequest request) |
long |
getUserId(PortletRequest portletRequest) |
String |
getUserName(com.liferay.portal.kernel.model.BaseModel<?> baseModel) |
String |
getUserName(long userId,
String defaultUserName) |
String |
getUserName(long userId,
String defaultUserName,
javax.servlet.http.HttpServletRequest request) |
String |
getUserName(long userId,
String defaultUserName,
String userAttribute) |
String |
getUserName(long userId,
String defaultUserName,
String userAttribute,
javax.servlet.http.HttpServletRequest request) |
String |
getUserPassword(javax.servlet.http.HttpServletRequest request) |
String |
getUserPassword(javax.servlet.http.HttpSession session) |
String |
getUserPassword(PortletRequest portletRequest) |
String |
getUserValue(long userId,
String param,
String defaultValue)
Deprecated.
As of Wilberforce (7.0.x), with no direct replacement
|
String |
getValidPortalDomain(long companyId,
String domain) |
long |
getValidUserId(long companyId,
long userId) |
String |
getVirtualHostname(com.liferay.portal.kernel.model.LayoutSet layoutSet) |
String |
getVirtualLayoutActualURL(long groupId,
boolean privateLayout,
String mainPath,
String friendlyURL,
Map<String,String[]> params,
Map<String,Object> requestContext)
Deprecated.
As of Wilberforce (7.0.x), with no direct replacement
|
com.liferay.portal.kernel.model.LayoutFriendlyURLComposite |
getVirtualLayoutFriendlyURLComposite(boolean privateLayout,
String friendlyURL,
Map<String,String[]> params,
Map<String,Object> requestContext)
Deprecated.
As of Wilberforce (7.0.x), with no direct replacement
|
String |
getWidgetURL(com.liferay.portal.kernel.model.Portlet portlet,
com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay) |
void |
initCustomSQL() |
com.liferay.portal.kernel.model.User |
initUser(javax.servlet.http.HttpServletRequest request) |
void |
invokeTaglibDiscussion(PortletConfig portletConfig,
ActionRequest actionRequest,
ActionResponse actionResponse)
Deprecated.
As of Wilberforce (7.0.x), with no direct replacement
|
void |
invokeTaglibDiscussionPagination(PortletConfig portletConfig,
ResourceRequest resourceRequest,
ResourceResponse resourceResponse)
Deprecated.
As of Wilberforce (7.0.x), with no direct replacement
|
protected boolean |
isAlwaysAllowDoAsUser(javax.servlet.http.HttpServletRequest request) |
protected boolean |
isAlwaysAllowDoAsUser(String actionName,
String mvcRenderCommandName,
String path,
String strutsAction) |
boolean |
isCDNDynamicResourcesEnabled(javax.servlet.http.HttpServletRequest request) |
boolean |
isCDNDynamicResourcesEnabled(long companyId) |
boolean |
isCompanyAdmin(com.liferay.portal.kernel.model.User user) |
boolean |
isCompanyControlPanelPortlet(String portletId,
String category,
com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay) |
boolean |
isCompanyControlPanelPortlet(String portletId,
com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay) |
boolean |
isControlPanelPortlet(String portletId,
String category,
com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay) |
boolean |
isControlPanelPortlet(String portletId,
com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay) |
boolean |
isCustomPortletMode(PortletMode portletMode) |
boolean |
isForwardedSecure(javax.servlet.http.HttpServletRequest request) |
boolean |
isGroupAdmin(com.liferay.portal.kernel.model.User user,
long groupId) |
boolean |
isGroupFriendlyURL(String fullURL,
String groupFriendlyURL,
String layoutFriendlyURL) |
boolean |
isGroupOwner(com.liferay.portal.kernel.model.User user,
long groupId) |
boolean |
isLayoutDescendant(com.liferay.portal.kernel.model.Layout layout,
long layoutId) |
boolean |
isLayoutSitemapable(com.liferay.portal.kernel.model.Layout layout) |
boolean |
isLoginRedirectRequired(javax.servlet.http.HttpServletRequest request) |
boolean |
isMethodGet(PortletRequest portletRequest) |
boolean |
isMethodPost(PortletRequest portletRequest) |
boolean |
isMultipartRequest(javax.servlet.http.HttpServletRequest request) |
boolean |
isOmniadmin(long userId) |
boolean |
isOmniadmin(com.liferay.portal.kernel.model.User user) |
boolean |
isReservedParameter(String name) |
boolean |
isRightToLeft(javax.servlet.http.HttpServletRequest request) |
boolean |
isRSSFeedsEnabled() |
boolean |
isSecure(javax.servlet.http.HttpServletRequest request) |
boolean |
isSkipPortletContentProcessing(com.liferay.portal.kernel.model.Group group,
javax.servlet.http.HttpServletRequest httpServletRequest,
com.liferay.portal.kernel.model.LayoutTypePortlet layoutTypePortlet,
com.liferay.portal.kernel.theme.PortletDisplay portletDisplay,
String portletName) |
boolean |
isSkipPortletContentRendering(com.liferay.portal.kernel.model.Group group,
com.liferay.portal.kernel.model.LayoutTypePortlet layoutTypePortlet,
com.liferay.portal.kernel.theme.PortletDisplay portletDisplay,
String portletName) |
boolean |
isSystemGroup(String groupName) |
boolean |
isSystemRole(String roleName) |
protected boolean |
isUnwrapRequest(String currentRequestClassName) |
boolean |
isUpdateAvailable() |
protected boolean |
isValidPortalDomain(long companyId,
String domain) |
protected boolean |
isValidPortalDomain(String domain) |
boolean |
isValidResourceId(String resourceId) |
protected boolean |
isValidVirtualHostname(String virtualHostname) |
protected void |
notifyPortalInetSocketAddressEventListeners(InetSocketAddress inetSocketAddress,
boolean local,
boolean secure) |
protected void |
notifyPortalPortEventListeners(int portalPort)
Deprecated.
As of Wilberforce (7.0.x), replaced by
notifyPortalInetSocketAddressEventListeners(
InetSocketAddress, boolean, boolean) |
boolean |
removePortalInetSocketAddressEventListener(com.liferay.portal.kernel.util.PortalInetSocketAddressEventListener portalInetSocketAddressEventListener) |
void |
removePortalPortEventListener(com.liferay.portal.kernel.util.PortalPortEventListener portalPortEventListener)
Deprecated.
As of Judson (7.1.x), replaced by
removePortalInetSocketAddressEventListener(
PortalInetSocketAddressEventListener) |
protected String |
removeRedirectParameter(String url) |
void |
resetCDNHosts() |
String |
resetPortletParameters(String url,
String portletId) |
protected void |
resetThemeDisplayI18n(com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay,
String languageId,
String path,
Locale locale) |
void |
sendError(Exception e,
ActionRequest actionRequest,
ActionResponse actionResponse) |
void |
sendError(Exception e,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
void |
sendError(int status,
Exception e,
ActionRequest actionRequest,
ActionResponse actionResponse) |
void |
sendError(int status,
Exception e,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
void |
sendRSSFeedsDisabledError(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
void |
sendRSSFeedsDisabledError(PortletRequest portletRequest,
PortletResponse portletResponse) |
protected void |
setLocale(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
Locale locale) |
void |
setPageDescription(String description,
javax.servlet.http.HttpServletRequest request) |
void |
setPageKeywords(String keywords,
javax.servlet.http.HttpServletRequest request) |
void |
setPageSubtitle(String subtitle,
javax.servlet.http.HttpServletRequest request) |
void |
setPageTitle(String title,
javax.servlet.http.HttpServletRequest request) |
void |
setPortalInetSocketAddresses(javax.servlet.http.HttpServletRequest request) |
void |
setPortalPort(javax.servlet.http.HttpServletRequest request)
Deprecated.
As of Wilberforce (7.0.x), replaced by
setPortalInetSocketAddresses(HttpServletRequest) |
protected void |
setThemeDisplayI18n(com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay,
Locale locale) |
void |
storePreferences(PortletPreferences portletPreferences) |
String[] |
stripURLAnchor(String url,
String separator) |
String |
transformCustomSQL(String sql) |
String |
transformSQL(String sql) |
void |
updateImageId(com.liferay.portal.kernel.model.BaseModel<?> baseModel,
boolean hasImage,
byte[] bytes,
String fieldName,
long maxSize,
int maxHeight,
int maxWidth) |
PortletMode |
updatePortletMode(String portletId,
com.liferay.portal.kernel.model.User user,
com.liferay.portal.kernel.model.Layout layout,
PortletMode portletMode,
javax.servlet.http.HttpServletRequest request) |
String |
updateRedirect(String redirect,
String oldPath,
String newPath) |
WindowState |
updateWindowState(String portletId,
com.liferay.portal.kernel.model.User user,
com.liferay.portal.kernel.model.Layout layout,
WindowState windowState,
javax.servlet.http.HttpServletRequest request) |
public void addPageDescription(String description, javax.servlet.http.HttpServletRequest request)
addPageDescription
in interface com.liferay.portal.kernel.util.Portal
public void addPageKeywords(String keywords, javax.servlet.http.HttpServletRequest request)
addPageKeywords
in interface com.liferay.portal.kernel.util.Portal
public void addPageSubtitle(String subtitle, javax.servlet.http.HttpServletRequest request)
addPageSubtitle
in interface com.liferay.portal.kernel.util.Portal
public void addPageTitle(String title, javax.servlet.http.HttpServletRequest request)
addPageTitle
in interface com.liferay.portal.kernel.util.Portal
public boolean addPortalInetSocketAddressEventListener(com.liferay.portal.kernel.util.PortalInetSocketAddressEventListener portalInetSocketAddressEventListener)
addPortalInetSocketAddressEventListener
in interface com.liferay.portal.kernel.util.Portal
@Deprecated public void addPortalPortEventListener(com.liferay.portal.kernel.util.PortalPortEventListener portalPortEventListener)
addPortalInetSocketAddressEventListener(
PortalInetSocketAddressEventListener)
addPortalPortEventListener
in interface com.liferay.portal.kernel.util.Portal
portalPortEventListener
- the portal port event listener to addpublic void addPortletBreadcrumbEntry(javax.servlet.http.HttpServletRequest request, String title, String url)
addPortletBreadcrumbEntry
in interface com.liferay.portal.kernel.util.Portal
public void addPortletBreadcrumbEntry(javax.servlet.http.HttpServletRequest request, String title, String url, Map<String,Object> data)
addPortletBreadcrumbEntry
in interface com.liferay.portal.kernel.util.Portal
public void addPortletBreadcrumbEntry(javax.servlet.http.HttpServletRequest request, String title, String url, Map<String,Object> data, boolean portletBreadcrumbEntry)
addPortletBreadcrumbEntry
in interface com.liferay.portal.kernel.util.Portal
public void addPortletDefaultResource(javax.servlet.http.HttpServletRequest request, com.liferay.portal.kernel.model.Portlet portlet) throws com.liferay.portal.kernel.exception.PortalException
addPortletDefaultResource
in interface com.liferay.portal.kernel.util.Portal
com.liferay.portal.kernel.exception.PortalException
public void addPortletDefaultResource(long companyId, com.liferay.portal.kernel.model.Layout layout, com.liferay.portal.kernel.model.Portlet portlet) throws com.liferay.portal.kernel.exception.PortalException
addPortletDefaultResource
in interface com.liferay.portal.kernel.util.Portal
com.liferay.portal.kernel.exception.PortalException
public String addPreservedParameters(com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay, com.liferay.portal.kernel.model.Layout layout, String url, boolean doAsUser)
addPreservedParameters
in interface com.liferay.portal.kernel.util.Portal
public String addPreservedParameters(com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay, String url)
addPreservedParameters
in interface com.liferay.portal.kernel.util.Portal
public String addPreservedParameters(com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay, String url, boolean typeControlPanel, boolean doAsUser)
addPreservedParameters
in interface com.liferay.portal.kernel.util.Portal
public void addUserLocaleOptionsMessage(javax.servlet.http.HttpServletRequest request)
addUserLocaleOptionsMessage
in interface com.liferay.portal.kernel.util.Portal
public void clearRequestParameters(RenderRequest renderRequest)
clearRequestParameters
in interface com.liferay.portal.kernel.util.Portal
public void copyRequestParameters(ActionRequest actionRequest, ActionResponse actionResponse)
copyRequestParameters
in interface com.liferay.portal.kernel.util.Portal
public String escapeRedirect(String url)
escapeRedirect
in interface com.liferay.portal.kernel.util.Portal
public String generateRandomKey(javax.servlet.http.HttpServletRequest request, String input)
generateRandomKey
in interface com.liferay.portal.kernel.util.Portal
public String getAbsoluteURL(javax.servlet.http.HttpServletRequest request, String url)
getAbsoluteURL
in interface com.liferay.portal.kernel.util.Portal
public com.liferay.portal.kernel.model.LayoutQueryStringComposite getActualLayoutQueryStringComposite(long groupId, boolean privateLayout, String friendlyURL, Map<String,String[]> params, Map<String,Object> requestContext) throws com.liferay.portal.kernel.exception.PortalException
getActualLayoutQueryStringComposite
in interface com.liferay.portal.kernel.util.Portal
com.liferay.portal.kernel.exception.PortalException
public String getActualURL(long groupId, boolean privateLayout, String mainPath, String friendlyURL, Map<String,String[]> params, Map<String,Object> requestContext) throws com.liferay.portal.kernel.exception.PortalException
getActualURL
in interface com.liferay.portal.kernel.util.Portal
com.liferay.portal.kernel.exception.PortalException
public String getAlternateURL(String canonicalURL, com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay, Locale locale, com.liferay.portal.kernel.model.Layout layout) throws com.liferay.portal.kernel.exception.PortalException
getAlternateURL
in interface com.liferay.portal.kernel.util.Portal
com.liferay.portal.kernel.exception.PortalException
public Map<Locale,String> getAlternateURLs(String canonicalURL, com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay, com.liferay.portal.kernel.model.Layout layout) throws com.liferay.portal.kernel.exception.PortalException
getAlternateURLs
in interface com.liferay.portal.kernel.util.Portal
com.liferay.portal.kernel.exception.PortalException
public long[] getAncestorSiteGroupIds(long groupId) throws com.liferay.portal.kernel.exception.PortalException
getAncestorSiteGroupIds
in interface com.liferay.portal.kernel.util.Portal
com.liferay.portal.kernel.exception.PortalException
public com.liferay.portal.kernel.model.BaseModel<?> getBaseModel(com.liferay.portal.kernel.model.ResourcePermission resourcePermission) throws com.liferay.portal.kernel.exception.PortalException
getBaseModel
in interface com.liferay.portal.kernel.util.Portal
com.liferay.portal.kernel.exception.PortalException
public com.liferay.portal.kernel.model.BaseModel<?> getBaseModel(String modelName, String primKey) throws com.liferay.portal.kernel.exception.PortalException
getBaseModel
in interface com.liferay.portal.kernel.util.Portal
com.liferay.portal.kernel.exception.PortalException
@Deprecated public long getBasicAuthUserId(javax.servlet.http.HttpServletRequest request) throws com.liferay.portal.kernel.exception.PortalException
HttpAuthManagerUtil.getBasicUserId(HttpServletRequest)
getBasicAuthUserId
in interface com.liferay.portal.kernel.util.Portal
com.liferay.portal.kernel.exception.PortalException
@Deprecated public long getBasicAuthUserId(javax.servlet.http.HttpServletRequest request, long companyId) throws com.liferay.portal.kernel.exception.PortalException
HttpAuthManagerUtil.getBasicUserId(HttpServletRequest)
getBasicAuthUserId
in interface com.liferay.portal.kernel.util.Portal
com.liferay.portal.kernel.exception.PortalException
public List<com.liferay.portal.kernel.model.Group> getBrowsableScopeGroups(long userId, long companyId, long groupId, String portletId) throws com.liferay.portal.kernel.exception.PortalException
getBrowsableScopeGroups
in interface com.liferay.portal.kernel.util.Portal
com.liferay.portal.kernel.exception.PortalException
public String getCanonicalURL(String completeURL, com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay, com.liferay.portal.kernel.model.Layout layout) throws com.liferay.portal.kernel.exception.PortalException
getCanonicalURL
in interface com.liferay.portal.kernel.util.Portal
com.liferay.portal.kernel.exception.PortalException
public String getCanonicalURL(String completeURL, com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay, com.liferay.portal.kernel.model.Layout layout, boolean forceLayoutFriendlyURL) throws com.liferay.portal.kernel.exception.PortalException
getCanonicalURL
in interface com.liferay.portal.kernel.util.Portal
com.liferay.portal.kernel.exception.PortalException
public String getCanonicalURL(String completeURL, com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay, com.liferay.portal.kernel.model.Layout layout, boolean forceLayoutFriendlyURL, boolean includeQueryString) throws com.liferay.portal.kernel.exception.PortalException
getCanonicalURL
in interface com.liferay.portal.kernel.util.Portal
com.liferay.portal.kernel.exception.PortalException
public String getCDNHost(boolean secure)
getCDNHost
in interface com.liferay.portal.kernel.util.Portal
public String getCDNHost(javax.servlet.http.HttpServletRequest request) throws com.liferay.portal.kernel.exception.PortalException
getCDNHost
in interface com.liferay.portal.kernel.util.Portal
com.liferay.portal.kernel.exception.PortalException
public String getCDNHostHttp(long companyId)
getCDNHostHttp
in interface com.liferay.portal.kernel.util.Portal
public String getCDNHostHttps(long companyId)
getCDNHostHttps
in interface com.liferay.portal.kernel.util.Portal
public String getClassName(long classNameId)
getClassName
in interface com.liferay.portal.kernel.util.Portal
public long getClassNameId(Class<?> clazz)
getClassNameId
in interface com.liferay.portal.kernel.util.Portal
public long getClassNameId(String value)
getClassNameId
in interface com.liferay.portal.kernel.util.Portal
public com.liferay.portal.kernel.model.Company getCompany(javax.servlet.http.HttpServletRequest request) throws com.liferay.portal.kernel.exception.PortalException
getCompany
in interface com.liferay.portal.kernel.util.Portal
com.liferay.portal.kernel.exception.PortalException
public com.liferay.portal.kernel.model.Company getCompany(PortletRequest portletRequest) throws com.liferay.portal.kernel.exception.PortalException
getCompany
in interface com.liferay.portal.kernel.util.Portal
com.liferay.portal.kernel.exception.PortalException
public long getCompanyId(javax.servlet.http.HttpServletRequest request)
getCompanyId
in interface com.liferay.portal.kernel.util.Portal
public long getCompanyId(PortletRequest portletRequest)
getCompanyId
in interface com.liferay.portal.kernel.util.Portal
public long[] getCompanyIds()
getCompanyIds
in interface com.liferay.portal.kernel.util.Portal
public Set<String> getComputerAddresses()
getComputerAddresses
in interface com.liferay.portal.kernel.util.Portal
public String getComputerName()
getComputerName
in interface com.liferay.portal.kernel.util.Portal
public String getControlPanelFullURL(long scopeGroupId, String ppid, Map<String,String[]> params) throws com.liferay.portal.kernel.exception.PortalException
getControlPanelFullURL
in interface com.liferay.portal.kernel.util.Portal
com.liferay.portal.kernel.exception.PortalException
public long getControlPanelPlid(long companyId) throws com.liferay.portal.kernel.exception.PortalException
getControlPanelPlid
in interface com.liferay.portal.kernel.util.Portal
com.liferay.portal.kernel.exception.PortalException
public long getControlPanelPlid(PortletRequest portletRequest) throws com.liferay.portal.kernel.exception.PortalException
getControlPanelPlid
in interface com.liferay.portal.kernel.util.Portal
com.liferay.portal.kernel.exception.PortalException
public PortletURL getControlPanelPortletURL(javax.servlet.http.HttpServletRequest request, com.liferay.portal.kernel.model.Group group, String portletId, long refererGroupId, long refererPlid, String lifecycle)
getControlPanelPortletURL
in interface com.liferay.portal.kernel.util.Portal
public PortletURL getControlPanelPortletURL(javax.servlet.http.HttpServletRequest request, String portletId, String lifecycle)
getControlPanelPortletURL
in interface com.liferay.portal.kernel.util.Portal
public PortletURL getControlPanelPortletURL(PortletRequest portletRequest, com.liferay.portal.kernel.model.Group group, String portletId, long refererGroupId, long refererPlid, String lifecycle)
getControlPanelPortletURL
in interface com.liferay.portal.kernel.util.Portal
public PortletURL getControlPanelPortletURL(PortletRequest portletRequest, String portletId, String lifecycle)
getControlPanelPortletURL
in interface com.liferay.portal.kernel.util.Portal
public String getCreateAccountURL(javax.servlet.http.HttpServletRequest request, com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay) throws Exception
getCreateAccountURL
in interface com.liferay.portal.kernel.util.Portal
Exception
public long[] getCurrentAndAncestorSiteGroupIds(long groupId) throws com.liferay.portal.kernel.exception.PortalException
getCurrentAndAncestorSiteGroupIds
in interface com.liferay.portal.kernel.util.Portal
com.liferay.portal.kernel.exception.PortalException
public long[] getCurrentAndAncestorSiteGroupIds(long groupId, boolean checkContentSharingWithChildrenEnabled) throws com.liferay.portal.kernel.exception.PortalException
getCurrentAndAncestorSiteGroupIds
in interface com.liferay.portal.kernel.util.Portal
com.liferay.portal.kernel.exception.PortalException
public long[] getCurrentAndAncestorSiteGroupIds(long[] groupIds) throws com.liferay.portal.kernel.exception.PortalException
getCurrentAndAncestorSiteGroupIds
in interface com.liferay.portal.kernel.util.Portal
com.liferay.portal.kernel.exception.PortalException
public long[] getCurrentAndAncestorSiteGroupIds(long[] groupIds, boolean checkContentSharingWithChildrenEnabled) throws com.liferay.portal.kernel.exception.PortalException
getCurrentAndAncestorSiteGroupIds
in interface com.liferay.portal.kernel.util.Portal
com.liferay.portal.kernel.exception.PortalException
public List<com.liferay.portal.kernel.model.Group> getCurrentAndAncestorSiteGroups(long groupId) throws com.liferay.portal.kernel.exception.PortalException
getCurrentAndAncestorSiteGroups
in interface com.liferay.portal.kernel.util.Portal
com.liferay.portal.kernel.exception.PortalException
public List<com.liferay.portal.kernel.model.Group> getCurrentAndAncestorSiteGroups(long groupId, boolean checkContentSharingWithChildrenEnabled) throws com.liferay.portal.kernel.exception.PortalException
getCurrentAndAncestorSiteGroups
in interface com.liferay.portal.kernel.util.Portal
com.liferay.portal.kernel.exception.PortalException
public List<com.liferay.portal.kernel.model.Group> getCurrentAndAncestorSiteGroups(long[] groupIds) throws com.liferay.portal.kernel.exception.PortalException
getCurrentAndAncestorSiteGroups
in interface com.liferay.portal.kernel.util.Portal
com.liferay.portal.kernel.exception.PortalException
public List<com.liferay.portal.kernel.model.Group> getCurrentAndAncestorSiteGroups(long[] groupIds, boolean checkContentSharingWithChildrenEnabled) throws com.liferay.portal.kernel.exception.PortalException
getCurrentAndAncestorSiteGroups
in interface com.liferay.portal.kernel.util.Portal
com.liferay.portal.kernel.exception.PortalException
public String getCurrentCompleteURL(javax.servlet.http.HttpServletRequest request)
getCurrentCompleteURL
in interface com.liferay.portal.kernel.util.Portal
public String getCurrentURL(javax.servlet.http.HttpServletRequest request)
getCurrentURL
in interface com.liferay.portal.kernel.util.Portal
public String getCurrentURL(PortletRequest portletRequest)
getCurrentURL
in interface com.liferay.portal.kernel.util.Portal
public String getCustomSQLFunctionIsNotNull()
getCustomSQLFunctionIsNotNull
in interface com.liferay.portal.kernel.util.Portal
public String getCustomSQLFunctionIsNull()
getCustomSQLFunctionIsNull
in interface com.liferay.portal.kernel.util.Portal
public Date getDate(int month, int day, int year)
getDate
in interface com.liferay.portal.kernel.util.Portal
public Date getDate(int month, int day, int year, Class<? extends com.liferay.portal.kernel.exception.PortalException> clazz) throws com.liferay.portal.kernel.exception.PortalException
getDate
in interface com.liferay.portal.kernel.util.Portal
com.liferay.portal.kernel.exception.PortalException
public Date getDate(int month, int day, int year, int hour, int min, Class<? extends com.liferay.portal.kernel.exception.PortalException> clazz) throws com.liferay.portal.kernel.exception.PortalException
getDate
in interface com.liferay.portal.kernel.util.Portal
com.liferay.portal.kernel.exception.PortalException
public Date getDate(int month, int day, int year, int hour, int min, TimeZone timeZone, Class<? extends com.liferay.portal.kernel.exception.PortalException> clazz) throws com.liferay.portal.kernel.exception.PortalException
getDate
in interface com.liferay.portal.kernel.util.Portal
com.liferay.portal.kernel.exception.PortalException
public Date getDate(int month, int day, int year, TimeZone timeZone, Class<? extends com.liferay.portal.kernel.exception.PortalException> clazz) throws com.liferay.portal.kernel.exception.PortalException
getDate
in interface com.liferay.portal.kernel.util.Portal
com.liferay.portal.kernel.exception.PortalException
public long getDefaultCompanyId()
getDefaultCompanyId
in interface com.liferay.portal.kernel.util.Portal
@Deprecated public long getDigestAuthUserId(javax.servlet.http.HttpServletRequest request) throws com.liferay.portal.kernel.exception.PortalException
HttpAuthManagerUtil.getDigestUserId(HttpServletRequest)
getDigestAuthUserId
in interface com.liferay.portal.kernel.util.Portal
com.liferay.portal.kernel.exception.PortalException
public String getEmailFromAddress(PortletPreferences preferences, long companyId, String defaultValue)
getEmailFromAddress
in interface com.liferay.portal.kernel.util.Portal
public String getEmailFromName(PortletPreferences preferences, long companyId, String defaultValue)
getEmailFromName
in interface com.liferay.portal.kernel.util.Portal
public Map<String,Serializable> getExpandoBridgeAttributes(com.liferay.expando.kernel.model.ExpandoBridge expandoBridge, javax.servlet.http.HttpServletRequest request) throws com.liferay.portal.kernel.exception.PortalException
getExpandoBridgeAttributes
in interface com.liferay.portal.kernel.util.Portal
com.liferay.portal.kernel.exception.PortalException
public Map<String,Serializable> getExpandoBridgeAttributes(com.liferay.expando.kernel.model.ExpandoBridge expandoBridge, PortletRequest portletRequest) throws com.liferay.portal.kernel.exception.PortalException
getExpandoBridgeAttributes
in interface com.liferay.portal.kernel.util.Portal
com.liferay.portal.kernel.exception.PortalException
public Map<String,Serializable> getExpandoBridgeAttributes(com.liferay.expando.kernel.model.ExpandoBridge expandoBridge, com.liferay.portal.kernel.upload.UploadPortletRequest uploadPortletRequest) throws com.liferay.portal.kernel.exception.PortalException
getExpandoBridgeAttributes
in interface com.liferay.portal.kernel.util.Portal
com.liferay.portal.kernel.exception.PortalException
public Serializable getExpandoValue(javax.servlet.http.HttpServletRequest request, String name, int type, String displayType) throws com.liferay.portal.kernel.exception.PortalException
getExpandoValue
in interface com.liferay.portal.kernel.util.Portal
com.liferay.portal.kernel.exception.PortalException
public Serializable getExpandoValue(PortletRequest portletRequest, String name, int type, String displayType) throws com.liferay.portal.kernel.exception.PortalException
getExpandoValue
in interface com.liferay.portal.kernel.util.Portal
com.liferay.portal.kernel.exception.PortalException
public Serializable getExpandoValue(com.liferay.portal.kernel.upload.UploadPortletRequest uploadPortletRequest, String name, int type, String displayType) throws com.liferay.portal.kernel.exception.PortalException
getExpandoValue
in interface com.liferay.portal.kernel.util.Portal
com.liferay.portal.kernel.exception.PortalException
public String getFacebookURL(com.liferay.portal.kernel.model.Portlet portlet, String facebookCanvasPageURL, com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay) throws com.liferay.portal.kernel.exception.PortalException
getFacebookURL
in interface com.liferay.portal.kernel.util.Portal
com.liferay.portal.kernel.exception.PortalException
public String getFirstPageLayoutTypes(javax.servlet.http.HttpServletRequest request)
getFirstPageLayoutTypes
in interface com.liferay.portal.kernel.util.Portal
public String getForwardedHost(javax.servlet.http.HttpServletRequest request)
getForwardedHost
in interface com.liferay.portal.kernel.util.Portal
public int getForwardedPort(javax.servlet.http.HttpServletRequest request)
getForwardedPort
in interface com.liferay.portal.kernel.util.Portal
public String getFullName(String firstName, String middleName, String lastName)
getFullName
in interface com.liferay.portal.kernel.util.Portal
public String getGlobalLibDir()
getGlobalLibDir
in interface com.liferay.portal.kernel.util.Portal
public String getGoogleGadgetURL(com.liferay.portal.kernel.model.Portlet portlet, com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay) throws com.liferay.portal.kernel.exception.PortalException
getGoogleGadgetURL
in interface com.liferay.portal.kernel.util.Portal
com.liferay.portal.kernel.exception.PortalException
public String getGroupFriendlyURL(com.liferay.portal.kernel.model.LayoutSet layoutSet, com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay) throws com.liferay.portal.kernel.exception.PortalException
getGroupFriendlyURL
in interface com.liferay.portal.kernel.util.Portal
com.liferay.portal.kernel.exception.PortalException
public String getGroupFriendlyURL(com.liferay.portal.kernel.model.LayoutSet layoutSet, com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay, Locale locale) throws com.liferay.portal.kernel.exception.PortalException
getGroupFriendlyURL
in interface com.liferay.portal.kernel.util.Portal
com.liferay.portal.kernel.exception.PortalException
public int[] getGroupFriendlyURLIndex(String requestURI)
getGroupFriendlyURLIndex
in interface com.liferay.portal.kernel.util.Portal
public String[] getGroupPermissions(javax.servlet.http.HttpServletRequest request)
getGroupPermissions
in interface com.liferay.portal.kernel.util.Portal
public String[] getGroupPermissions(javax.servlet.http.HttpServletRequest request, String className)
getGroupPermissions
in interface com.liferay.portal.kernel.util.Portal
public String[] getGroupPermissions(PortletRequest portletRequest)
getGroupPermissions
in interface com.liferay.portal.kernel.util.Portal
public String[] getGroupPermissions(PortletRequest portletRequest, String className)
getGroupPermissions
in interface com.liferay.portal.kernel.util.Portal
public String[] getGuestPermissions(javax.servlet.http.HttpServletRequest request)
getGuestPermissions
in interface com.liferay.portal.kernel.util.Portal
public String[] getGuestPermissions(javax.servlet.http.HttpServletRequest request, String className)
getGuestPermissions
in interface com.liferay.portal.kernel.util.Portal
public String[] getGuestPermissions(PortletRequest portletRequest)
getGuestPermissions
in interface com.liferay.portal.kernel.util.Portal
public String[] getGuestPermissions(PortletRequest portletRequest, String className)
getGuestPermissions
in interface com.liferay.portal.kernel.util.Portal
public String getHomeURL(javax.servlet.http.HttpServletRequest request) throws com.liferay.portal.kernel.exception.PortalException
getHomeURL
in interface com.liferay.portal.kernel.util.Portal
com.liferay.portal.kernel.exception.PortalException
public String getHost(javax.servlet.http.HttpServletRequest request)
getHost
in interface com.liferay.portal.kernel.util.Portal
public String getHost(PortletRequest portletRequest)
getHost
in interface com.liferay.portal.kernel.util.Portal
public javax.servlet.http.HttpServletRequest getHttpServletRequest(PortletRequest portletRequest)
getHttpServletRequest
in interface com.liferay.portal.kernel.util.Portal
public javax.servlet.http.HttpServletResponse getHttpServletResponse(PortletResponse portletResponse)
getHttpServletResponse
in interface com.liferay.portal.kernel.util.Portal
public String getI18nPathLanguageId(Locale locale, String defaultI18nPathLanguageId)
getI18nPathLanguageId
in interface com.liferay.portal.kernel.util.Portal
@Deprecated public String getJournalArticleActualURL(long groupId, boolean privateLayout, String mainPath, String friendlyURL, Map<String,String[]> params, Map<String,Object> requestContext) throws com.liferay.portal.kernel.exception.PortalException
getJournalArticleActualURL
in interface com.liferay.portal.kernel.util.Portal
com.liferay.portal.kernel.exception.PortalException
@Deprecated public com.liferay.portal.kernel.model.Layout getJournalArticleLayout(long groupId, boolean privateLayout, String friendlyURL) throws com.liferay.portal.kernel.exception.PortalException
getJournalArticleLayout
in interface com.liferay.portal.kernel.util.Portal
com.liferay.portal.kernel.exception.PortalException
public String getJsSafePortletId(String portletId)
getJsSafePortletId
in interface com.liferay.portal.kernel.util.Portal
public String getLayoutActualURL(com.liferay.portal.kernel.model.Layout layout)
getLayoutActualURL
in interface com.liferay.portal.kernel.util.Portal
public String getLayoutActualURL(com.liferay.portal.kernel.model.Layout layout, String mainPath)
getLayoutActualURL
in interface com.liferay.portal.kernel.util.Portal
public String getLayoutActualURL(long groupId, boolean privateLayout, String mainPath, String friendlyURL) throws com.liferay.portal.kernel.exception.PortalException
getLayoutActualURL
in interface com.liferay.portal.kernel.util.Portal
com.liferay.portal.kernel.exception.PortalException
public String getLayoutActualURL(long groupId, boolean privateLayout, String mainPath, String friendlyURL, Map<String,String[]> params, Map<String,Object> requestContext) throws com.liferay.portal.kernel.exception.PortalException
getLayoutActualURL
in interface com.liferay.portal.kernel.util.Portal
com.liferay.portal.kernel.exception.PortalException
public String getLayoutFriendlyURL(com.liferay.portal.kernel.model.Layout layout, com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay) throws com.liferay.portal.kernel.exception.PortalException
getLayoutFriendlyURL
in interface com.liferay.portal.kernel.util.Portal
com.liferay.portal.kernel.exception.PortalException
public String getLayoutFriendlyURL(com.liferay.portal.kernel.model.Layout layout, com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay, Locale locale) throws com.liferay.portal.kernel.exception.PortalException
getLayoutFriendlyURL
in interface com.liferay.portal.kernel.util.Portal
com.liferay.portal.kernel.exception.PortalException
public String getLayoutFriendlyURL(com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay) throws com.liferay.portal.kernel.exception.PortalException
getLayoutFriendlyURL
in interface com.liferay.portal.kernel.util.Portal
com.liferay.portal.kernel.exception.PortalException
@Deprecated public com.liferay.portal.kernel.model.LayoutFriendlyURLComposite getLayoutFriendlyURLComposite(long groupId, boolean privateLayout, String friendlyURL, Map<String,String[]> params, Map<String,Object> requestContext) throws com.liferay.portal.kernel.exception.PortalException
#getLayoutFriendlyURLSeparatorComposite(long, boolean,
String, Map, Map)
getLayoutFriendlyURLComposite
in interface com.liferay.portal.kernel.util.Portal
com.liferay.portal.kernel.exception.PortalException
public com.liferay.portal.kernel.portlet.LayoutFriendlyURLSeparatorComposite getLayoutFriendlyURLSeparatorComposite(long groupId, boolean privateLayout, String friendlyURL, Map<String,String[]> params, Map<String,Object> requestContext) throws com.liferay.portal.kernel.exception.PortalException
getLayoutFriendlyURLSeparatorComposite
in interface com.liferay.portal.kernel.util.Portal
com.liferay.portal.kernel.exception.PortalException
public String getLayoutFullURL(com.liferay.portal.kernel.model.Layout layout, com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay) throws com.liferay.portal.kernel.exception.PortalException
getLayoutFullURL
in interface com.liferay.portal.kernel.util.Portal
com.liferay.portal.kernel.exception.PortalException
public String getLayoutFullURL(com.liferay.portal.kernel.model.Layout layout, com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay, boolean doAsUser) throws com.liferay.portal.kernel.exception.PortalException
getLayoutFullURL
in interface com.liferay.portal.kernel.util.Portal
com.liferay.portal.kernel.exception.PortalException
public String getLayoutFullURL(long groupId, String portletId) throws com.liferay.portal.kernel.exception.PortalException
getLayoutFullURL
in interface com.liferay.portal.kernel.util.Portal
com.liferay.portal.kernel.exception.PortalException
public String getLayoutFullURL(long groupId, String portletId, boolean secure) throws com.liferay.portal.kernel.exception.PortalException
getLayoutFullURL
in interface com.liferay.portal.kernel.util.Portal
com.liferay.portal.kernel.exception.PortalException
public String getLayoutFullURL(com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay) throws com.liferay.portal.kernel.exception.PortalException
getLayoutFullURL
in interface com.liferay.portal.kernel.util.Portal
com.liferay.portal.kernel.exception.PortalException
public String getLayoutRelativeURL(com.liferay.portal.kernel.model.Layout layout, com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay) throws com.liferay.portal.kernel.exception.PortalException
getLayoutRelativeURL
in interface com.liferay.portal.kernel.util.Portal
com.liferay.portal.kernel.exception.PortalException
public String getLayoutRelativeURL(com.liferay.portal.kernel.model.Layout layout, com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay, boolean doAsUser) throws com.liferay.portal.kernel.exception.PortalException
getLayoutRelativeURL
in interface com.liferay.portal.kernel.util.Portal
com.liferay.portal.kernel.exception.PortalException
public String getLayoutSetDisplayURL(com.liferay.portal.kernel.model.LayoutSet layoutSet, boolean secureConnection) throws com.liferay.portal.kernel.exception.PortalException
getLayoutSetDisplayURL
in interface com.liferay.portal.kernel.util.Portal
com.liferay.portal.kernel.exception.PortalException
public String getLayoutSetFriendlyURL(com.liferay.portal.kernel.model.LayoutSet layoutSet, com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay) throws com.liferay.portal.kernel.exception.PortalException
getLayoutSetFriendlyURL
in interface com.liferay.portal.kernel.util.Portal
com.liferay.portal.kernel.exception.PortalException
public String getLayoutTarget(com.liferay.portal.kernel.model.Layout layout)
getLayoutTarget
in interface com.liferay.portal.kernel.util.Portal
public String getLayoutURL(com.liferay.portal.kernel.model.Layout layout, com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay) throws com.liferay.portal.kernel.exception.PortalException
getLayoutURL
in interface com.liferay.portal.kernel.util.Portal
com.liferay.portal.kernel.exception.PortalException
public String getLayoutURL(com.liferay.portal.kernel.model.Layout layout, com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay, boolean doAsUser) throws com.liferay.portal.kernel.exception.PortalException
getLayoutURL
in interface com.liferay.portal.kernel.util.Portal
com.liferay.portal.kernel.exception.PortalException
public String getLayoutURL(com.liferay.portal.kernel.model.Layout layout, com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay, Locale locale) throws com.liferay.portal.kernel.exception.PortalException
getLayoutURL
in interface com.liferay.portal.kernel.util.Portal
com.liferay.portal.kernel.exception.PortalException
public String getLayoutURL(com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay) throws com.liferay.portal.kernel.exception.PortalException
getLayoutURL
in interface com.liferay.portal.kernel.util.Portal
com.liferay.portal.kernel.exception.PortalException
public com.liferay.portal.kernel.portlet.LiferayPortletRequest getLiferayPortletRequest(PortletRequest portletRequest)
getLiferayPortletRequest
in interface com.liferay.portal.kernel.util.Portal
public com.liferay.portal.kernel.portlet.LiferayPortletResponse getLiferayPortletResponse(PortletResponse portletResponse)
getLiferayPortletResponse
in interface com.liferay.portal.kernel.util.Portal
public Locale getLocale(javax.servlet.http.HttpServletRequest request)
getLocale
in interface com.liferay.portal.kernel.util.Portal
public Locale getLocale(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, boolean initialize)
getLocale
in interface com.liferay.portal.kernel.util.Portal
public Locale getLocale(PortletRequest portletRequest)
getLocale
in interface com.liferay.portal.kernel.util.Portal
public String getLocalizedFriendlyURL(javax.servlet.http.HttpServletRequest request, com.liferay.portal.kernel.model.Layout layout, Locale locale, Locale originalLocale) throws Exception
getLocalizedFriendlyURL
in interface com.liferay.portal.kernel.util.Portal
Exception
public String getMailId(String mx, String popPortletPrefix, Object... ids)
getMailId
in interface com.liferay.portal.kernel.util.Portal
public String getNetvibesURL(com.liferay.portal.kernel.model.Portlet portlet, com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay) throws com.liferay.portal.kernel.exception.PortalException
getNetvibesURL
in interface com.liferay.portal.kernel.util.Portal
com.liferay.portal.kernel.exception.PortalException
public String getNewPortletTitle(String portletTitle, String oldScopeName, String newScopeName)
getNewPortletTitle
in interface com.liferay.portal.kernel.util.Portal
public javax.servlet.http.HttpServletRequest getOriginalServletRequest(javax.servlet.http.HttpServletRequest request)
getOriginalServletRequest
in interface com.liferay.portal.kernel.util.Portal
public String getPathContext()
getPathContext
in interface com.liferay.portal.kernel.util.Portal
public String getPathContext(javax.servlet.http.HttpServletRequest request)
getPathContext
in interface com.liferay.portal.kernel.util.Portal
public String getPathContext(PortletRequest portletRequest)
getPathContext
in interface com.liferay.portal.kernel.util.Portal
public String getPathContext(String contextPath)
getPathContext
in interface com.liferay.portal.kernel.util.Portal
public String getPathFriendlyURLPrivateGroup()
getPathFriendlyURLPrivateGroup
in interface com.liferay.portal.kernel.util.Portal
public String getPathFriendlyURLPrivateUser()
getPathFriendlyURLPrivateUser
in interface com.liferay.portal.kernel.util.Portal
public String getPathFriendlyURLPublic()
getPathFriendlyURLPublic
in interface com.liferay.portal.kernel.util.Portal
public String getPathImage()
getPathImage
in interface com.liferay.portal.kernel.util.Portal
public String getPathMain()
getPathMain
in interface com.liferay.portal.kernel.util.Portal
public String getPathModule()
getPathModule
in interface com.liferay.portal.kernel.util.Portal
public String getPathProxy()
getPathProxy
in interface com.liferay.portal.kernel.util.Portal
public long getPlidFromFriendlyURL(long companyId, String friendlyURL)
getPlidFromFriendlyURL
in interface com.liferay.portal.kernel.util.Portal
public long getPlidFromPortletId(long groupId, boolean privateLayout, String portletId)
getPlidFromPortletId
in interface com.liferay.portal.kernel.util.Portal
public long getPlidFromPortletId(long groupId, String portletId)
getPlidFromPortletId
in interface com.liferay.portal.kernel.util.Portal
public com.liferay.portal.kernel.util.PortalInetSocketAddressEventListener[] getPortalInetSocketAddressEventListeners()
getPortalInetSocketAddressEventListeners
in interface com.liferay.portal.kernel.util.Portal
public String getPortalLibDir()
getPortalLibDir
in interface com.liferay.portal.kernel.util.Portal
public InetAddress getPortalLocalInetAddress(boolean secure)
getPortalLocalInetAddress
in interface com.liferay.portal.kernel.util.Portal
public int getPortalLocalPort(boolean secure)
getPortalLocalPort
in interface com.liferay.portal.kernel.util.Portal
@Deprecated public int getPortalPort(boolean secure)
getPortalServerPort(boolean)
getPortalPort
in interface com.liferay.portal.kernel.util.Portal
public Properties getPortalProperties()
getPortalProperties
in interface com.liferay.portal.kernel.util.Portal
public InetAddress getPortalServerInetAddress(boolean secure)
getPortalServerInetAddress
in interface com.liferay.portal.kernel.util.Portal
public int getPortalServerPort(boolean secure)
getPortalServerPort
in interface com.liferay.portal.kernel.util.Portal
public String getPortalURL(javax.servlet.http.HttpServletRequest request)
getPortalURL
in interface com.liferay.portal.kernel.util.Portal
public String getPortalURL(javax.servlet.http.HttpServletRequest request, boolean secure)
getPortalURL
in interface com.liferay.portal.kernel.util.Portal
public String getPortalURL(com.liferay.portal.kernel.model.Layout layout, com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay) throws com.liferay.portal.kernel.exception.PortalException
getPortalURL
in interface com.liferay.portal.kernel.util.Portal
com.liferay.portal.kernel.exception.PortalException
public String getPortalURL(com.liferay.portal.kernel.model.LayoutSet layoutSet, com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay)
getPortalURL
in interface com.liferay.portal.kernel.util.Portal
public String getPortalURL(PortletRequest portletRequest)
getPortalURL
in interface com.liferay.portal.kernel.util.Portal
public String getPortalURL(PortletRequest portletRequest, boolean secure)
getPortalURL
in interface com.liferay.portal.kernel.util.Portal
public String getPortalURL(String serverName, int serverPort, boolean secure)
getPortalURL
in interface com.liferay.portal.kernel.util.Portal
public String getPortalURL(com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay) throws com.liferay.portal.kernel.exception.PortalException
getPortalURL
in interface com.liferay.portal.kernel.util.Portal
com.liferay.portal.kernel.exception.PortalException
public String getPortalWebDir()
getPortalWebDir
in interface com.liferay.portal.kernel.util.Portal
@Deprecated public List<com.liferay.portal.kernel.servlet.taglib.ui.BreadcrumbEntry> getPortletBreadcrumbs(javax.servlet.http.HttpServletRequest request)
BreadcrumbUtil.getPortletBreadcrumbEntries(
HttpServletRequest)
getPortletBreadcrumbs
in interface com.liferay.portal.kernel.util.Portal
public PortletConfig getPortletConfig(long companyId, String portletId, javax.servlet.ServletContext servletContext) throws PortletException
getPortletConfig
in interface com.liferay.portal.kernel.util.Portal
PortletException
public String getPortletDescription(com.liferay.portal.kernel.model.Portlet portlet, javax.servlet.ServletContext servletContext, Locale locale)
getPortletDescription
in interface com.liferay.portal.kernel.util.Portal
public String getPortletDescription(com.liferay.portal.kernel.model.Portlet portlet, com.liferay.portal.kernel.model.User user)
getPortletDescription
in interface com.liferay.portal.kernel.util.Portal
public String getPortletDescription(String portletId, Locale locale)
getPortletDescription
in interface com.liferay.portal.kernel.util.Portal
public String getPortletDescription(String portletId, String languageId)
getPortletDescription
in interface com.liferay.portal.kernel.util.Portal
public String getPortletDescription(String portletId, com.liferay.portal.kernel.model.User user)
getPortletDescription
in interface com.liferay.portal.kernel.util.Portal
public com.liferay.portal.kernel.model.LayoutQueryStringComposite getPortletFriendlyURLMapperLayoutQueryStringComposite(long groupId, boolean privateLayout, String url, Map<String,String[]> params, Map<String,Object> requestContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public String getPortletId(javax.servlet.http.HttpServletRequest request)
getPortletId
in interface com.liferay.portal.kernel.util.Portal
public String getPortletId(PortletRequest portletRequest)
getPortletId
in interface com.liferay.portal.kernel.util.Portal
public String getPortletLongTitle(com.liferay.portal.kernel.model.Portlet portlet, Locale locale)
getPortletLongTitle
in interface com.liferay.portal.kernel.util.Portal
public String getPortletLongTitle(com.liferay.portal.kernel.model.Portlet portlet, javax.servlet.ServletContext servletContext, Locale locale)
getPortletLongTitle
in interface com.liferay.portal.kernel.util.Portal
public String getPortletLongTitle(com.liferay.portal.kernel.model.Portlet portlet, String languageId)
getPortletLongTitle
in interface com.liferay.portal.kernel.util.Portal
public String getPortletLongTitle(com.liferay.portal.kernel.model.Portlet portlet, com.liferay.portal.kernel.model.User user)
getPortletLongTitle
in interface com.liferay.portal.kernel.util.Portal
public String getPortletLongTitle(String portletId, Locale locale)
getPortletLongTitle
in interface com.liferay.portal.kernel.util.Portal
public String getPortletLongTitle(String portletId, String languageId)
getPortletLongTitle
in interface com.liferay.portal.kernel.util.Portal
public String getPortletLongTitle(String portletId, com.liferay.portal.kernel.model.User user)
getPortletLongTitle
in interface com.liferay.portal.kernel.util.Portal
public String getPortletNamespace(String portletId)
getPortletNamespace
in interface com.liferay.portal.kernel.util.Portal
public String getPortletTitle(com.liferay.portal.kernel.model.Portlet portlet, Locale locale)
getPortletTitle
in interface com.liferay.portal.kernel.util.Portal
public String getPortletTitle(com.liferay.portal.kernel.model.Portlet portlet, javax.servlet.ServletContext servletContext, Locale locale)
getPortletTitle
in interface com.liferay.portal.kernel.util.Portal
public String getPortletTitle(com.liferay.portal.kernel.model.Portlet portlet, String languageId)
getPortletTitle
in interface com.liferay.portal.kernel.util.Portal
public String getPortletTitle(com.liferay.portal.kernel.model.Portlet portlet, com.liferay.portal.kernel.model.User user)
getPortletTitle
in interface com.liferay.portal.kernel.util.Portal
public String getPortletTitle(PortletRequest portletRequest)
getPortletTitle
in interface com.liferay.portal.kernel.util.Portal
public String getPortletTitle(PortletResponse portletResponse)
getPortletTitle
in interface com.liferay.portal.kernel.util.Portal
public String getPortletTitle(String portletId, Locale locale)
getPortletTitle
in interface com.liferay.portal.kernel.util.Portal
public String getPortletTitle(String portletId, ResourceBundle resourceBundle)
getPortletTitle
in interface com.liferay.portal.kernel.util.Portal
public String getPortletTitle(String portletId, String languageId)
getPortletTitle
in interface com.liferay.portal.kernel.util.Portal
public String getPortletTitle(String portletId, com.liferay.portal.kernel.model.User user)
getPortletTitle
in interface com.liferay.portal.kernel.util.Portal
public String getPortletXmlFileName()
getPortletXmlFileName
in interface com.liferay.portal.kernel.util.Portal
public PortletPreferences getPreferences(javax.servlet.http.HttpServletRequest request)
getPreferences
in interface com.liferay.portal.kernel.util.Portal
public PreferencesValidator getPreferencesValidator(com.liferay.portal.kernel.model.Portlet portlet)
getPreferencesValidator
in interface com.liferay.portal.kernel.util.Portal
public String getRelativeHomeURL(javax.servlet.http.HttpServletRequest request) throws com.liferay.portal.kernel.exception.PortalException
getRelativeHomeURL
in interface com.liferay.portal.kernel.util.Portal
com.liferay.portal.kernel.exception.PortalException
public ResourceBundle getResourceBundle(Locale locale)
getResourceBundle
in interface com.liferay.portal.kernel.util.Portal
public long getScopeGroupId(javax.servlet.http.HttpServletRequest request) throws com.liferay.portal.kernel.exception.PortalException
getScopeGroupId
in interface com.liferay.portal.kernel.util.Portal
com.liferay.portal.kernel.exception.PortalException
public long getScopeGroupId(javax.servlet.http.HttpServletRequest request, String portletId) throws com.liferay.portal.kernel.exception.PortalException
getScopeGroupId
in interface com.liferay.portal.kernel.util.Portal
com.liferay.portal.kernel.exception.PortalException
public long getScopeGroupId(javax.servlet.http.HttpServletRequest request, String portletId, boolean checkStagingGroup) throws com.liferay.portal.kernel.exception.PortalException
getScopeGroupId
in interface com.liferay.portal.kernel.util.Portal
com.liferay.portal.kernel.exception.PortalException
public long getScopeGroupId(com.liferay.portal.kernel.model.Layout layout)
getScopeGroupId
in interface com.liferay.portal.kernel.util.Portal
public long getScopeGroupId(com.liferay.portal.kernel.model.Layout layout, String portletId)
getScopeGroupId
in interface com.liferay.portal.kernel.util.Portal
public long getScopeGroupId(long plid)
getScopeGroupId
in interface com.liferay.portal.kernel.util.Portal
public long getScopeGroupId(PortletRequest portletRequest) throws com.liferay.portal.kernel.exception.PortalException
getScopeGroupId
in interface com.liferay.portal.kernel.util.Portal
com.liferay.portal.kernel.exception.PortalException
public com.liferay.portal.kernel.model.User getSelectedUser(javax.servlet.http.HttpServletRequest request) throws com.liferay.portal.kernel.exception.PortalException
getSelectedUser
in interface com.liferay.portal.kernel.util.Portal
com.liferay.portal.kernel.exception.PortalException
public com.liferay.portal.kernel.model.User getSelectedUser(javax.servlet.http.HttpServletRequest request, boolean checkPermission) throws com.liferay.portal.kernel.exception.PortalException
getSelectedUser
in interface com.liferay.portal.kernel.util.Portal
com.liferay.portal.kernel.exception.PortalException
public com.liferay.portal.kernel.model.User getSelectedUser(PortletRequest portletRequest) throws com.liferay.portal.kernel.exception.PortalException
getSelectedUser
in interface com.liferay.portal.kernel.util.Portal
com.liferay.portal.kernel.exception.PortalException
public com.liferay.portal.kernel.model.User getSelectedUser(PortletRequest portletRequest, boolean checkPermission) throws com.liferay.portal.kernel.exception.PortalException
getSelectedUser
in interface com.liferay.portal.kernel.util.Portal
com.liferay.portal.kernel.exception.PortalException
public String getServletContextName()
getServletContextName
in interface com.liferay.portal.kernel.util.Portal
public long[] getSharedContentSiteGroupIds(long companyId, long groupId, long userId) throws com.liferay.portal.kernel.exception.PortalException
getSharedContentSiteGroupIds
in interface com.liferay.portal.kernel.util.Portal
com.liferay.portal.kernel.exception.PortalException
@Deprecated public PortletURL getSiteAdministrationURL(javax.servlet.http.HttpServletRequest request, com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay, String portletId)
#getControlPanelPortletURL(PortletRequest, Group, String,
String)
getSiteAdministrationURL
in interface com.liferay.portal.kernel.util.Portal
@Deprecated public PortletURL getSiteAdministrationURL(PortletResponse portletResponse, com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay, String portletName)
#getControlPanelPortletURL(PortletRequest, Group, String,
String)
getSiteAdministrationURL
in interface com.liferay.portal.kernel.util.Portal
@Deprecated public String getSiteAdminURL(com.liferay.portal.kernel.model.Company company, com.liferay.portal.kernel.model.Group group, String ppid, Map<String,String[]> params) throws com.liferay.portal.kernel.exception.PortalException
getSiteAdminURL(ThemeDisplay, String, Map)
getSiteAdminURL
in interface com.liferay.portal.kernel.util.Portal
com.liferay.portal.kernel.exception.PortalException
@Deprecated public String getSiteAdminURL(com.liferay.portal.kernel.model.Group group, String ppid, Map<String,String[]> params) throws com.liferay.portal.kernel.exception.PortalException
getSiteAdminURL(ThemeDisplay, String, Map)
getSiteAdminURL
in interface com.liferay.portal.kernel.util.Portal
com.liferay.portal.kernel.exception.PortalException
public String getSiteAdminURL(com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay, String ppid, Map<String,String[]> params) throws com.liferay.portal.kernel.exception.PortalException
getSiteAdminURL
in interface com.liferay.portal.kernel.util.Portal
com.liferay.portal.kernel.exception.PortalException
@Deprecated public long[] getSiteAndCompanyGroupIds(long groupId) throws com.liferay.portal.kernel.exception.PortalException
getCurrentAndAncestorSiteGroupIds(long)
getSiteAndCompanyGroupIds
in interface com.liferay.portal.kernel.util.Portal
com.liferay.portal.kernel.exception.PortalException
@Deprecated public long[] getSiteAndCompanyGroupIds(com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay) throws com.liferay.portal.kernel.exception.PortalException
getCurrentAndAncestorSiteGroupIds(long)
getSiteAndCompanyGroupIds
in interface com.liferay.portal.kernel.util.Portal
com.liferay.portal.kernel.exception.PortalException
public Locale getSiteDefaultLocale(com.liferay.portal.kernel.model.Group group) throws com.liferay.portal.kernel.exception.PortalException
getSiteDefaultLocale
in interface com.liferay.portal.kernel.util.Portal
com.liferay.portal.kernel.exception.PortalException
public Locale getSiteDefaultLocale(long groupId) throws com.liferay.portal.kernel.exception.PortalException
getSiteDefaultLocale
in interface com.liferay.portal.kernel.util.Portal
com.liferay.portal.kernel.exception.PortalException
public long getSiteGroupId(long groupId)
getSiteGroupId
in interface com.liferay.portal.kernel.util.Portal
public String getSiteLoginURL(com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay) throws com.liferay.portal.kernel.exception.PortalException
getSiteLoginURL
in interface com.liferay.portal.kernel.util.Portal
com.liferay.portal.kernel.exception.PortalException
public String getStaticResourceURL(javax.servlet.http.HttpServletRequest request, String uri)
getStaticResourceURL
in interface com.liferay.portal.kernel.util.Portal
public String getStaticResourceURL(javax.servlet.http.HttpServletRequest request, String uri, long timestamp)
getStaticResourceURL
in interface com.liferay.portal.kernel.util.Portal
public String getStaticResourceURL(javax.servlet.http.HttpServletRequest request, String uri, String queryString)
getStaticResourceURL
in interface com.liferay.portal.kernel.util.Portal
public String getStaticResourceURL(javax.servlet.http.HttpServletRequest request, String uri, String queryString, long timestamp)
getStaticResourceURL
in interface com.liferay.portal.kernel.util.Portal
public String getStrutsAction(javax.servlet.http.HttpServletRequest request)
getStrutsAction
in interface com.liferay.portal.kernel.util.Portal
public String[] getSystemGroups()
getSystemGroups
in interface com.liferay.portal.kernel.util.Portal
public String[] getSystemOrganizationRoles()
getSystemOrganizationRoles
in interface com.liferay.portal.kernel.util.Portal
public String[] getSystemRoles()
getSystemRoles
in interface com.liferay.portal.kernel.util.Portal
public String[] getSystemSiteRoles()
getSystemSiteRoles
in interface com.liferay.portal.kernel.util.Portal
public String getUniqueElementId(javax.servlet.http.HttpServletRequest request, String namespace, String elementId)
getUniqueElementId
in interface com.liferay.portal.kernel.util.Portal
public String getUniqueElementId(PortletRequest request, String namespace, String elementId)
getUniqueElementId
in interface com.liferay.portal.kernel.util.Portal
public com.liferay.portal.kernel.upload.UploadPortletRequest getUploadPortletRequest(PortletRequest portletRequest)
getUploadPortletRequest
in interface com.liferay.portal.kernel.util.Portal
public com.liferay.portal.kernel.upload.UploadServletRequest getUploadServletRequest(javax.servlet.http.HttpServletRequest request)
getUploadServletRequest
in interface com.liferay.portal.kernel.util.Portal
public Date getUptime()
getUptime
in interface com.liferay.portal.kernel.util.Portal
public String getURLWithSessionId(String url, String sessionId)
getURLWithSessionId
in interface com.liferay.portal.kernel.util.Portal
public com.liferay.portal.kernel.model.User getUser(javax.servlet.http.HttpServletRequest request) throws com.liferay.portal.kernel.exception.PortalException
getUser
in interface com.liferay.portal.kernel.util.Portal
com.liferay.portal.kernel.exception.PortalException
public com.liferay.portal.kernel.model.User getUser(PortletRequest portletRequest) throws com.liferay.portal.kernel.exception.PortalException
getUser
in interface com.liferay.portal.kernel.util.Portal
com.liferay.portal.kernel.exception.PortalException
public String getUserEmailAddress(long userId)
getUserEmailAddress
in interface com.liferay.portal.kernel.util.Portal
public long getUserId(javax.servlet.http.HttpServletRequest request)
getUserId
in interface com.liferay.portal.kernel.util.Portal
public long getUserId(PortletRequest portletRequest)
getUserId
in interface com.liferay.portal.kernel.util.Portal
public String getUserName(com.liferay.portal.kernel.model.BaseModel<?> baseModel)
getUserName
in interface com.liferay.portal.kernel.util.Portal
public String getUserName(long userId, String defaultUserName)
getUserName
in interface com.liferay.portal.kernel.util.Portal
public String getUserName(long userId, String defaultUserName, javax.servlet.http.HttpServletRequest request)
getUserName
in interface com.liferay.portal.kernel.util.Portal
public String getUserName(long userId, String defaultUserName, String userAttribute)
getUserName
in interface com.liferay.portal.kernel.util.Portal
public String getUserName(long userId, String defaultUserName, String userAttribute, javax.servlet.http.HttpServletRequest request)
getUserName
in interface com.liferay.portal.kernel.util.Portal
public String getUserPassword(javax.servlet.http.HttpServletRequest request)
getUserPassword
in interface com.liferay.portal.kernel.util.Portal
public String getUserPassword(javax.servlet.http.HttpSession session)
getUserPassword
in interface com.liferay.portal.kernel.util.Portal
public String getUserPassword(PortletRequest portletRequest)
getUserPassword
in interface com.liferay.portal.kernel.util.Portal
@Deprecated public String getUserValue(long userId, String param, String defaultValue)
getUserValue
in interface com.liferay.portal.kernel.util.Portal
public String getValidPortalDomain(long companyId, String domain)
getValidPortalDomain
in interface com.liferay.portal.kernel.util.Portal
public long getValidUserId(long companyId, long userId) throws com.liferay.portal.kernel.exception.PortalException
getValidUserId
in interface com.liferay.portal.kernel.util.Portal
com.liferay.portal.kernel.exception.PortalException
public String getVirtualHostname(com.liferay.portal.kernel.model.LayoutSet layoutSet)
getVirtualHostname
in interface com.liferay.portal.kernel.util.Portal
@Deprecated public String getVirtualLayoutActualURL(long groupId, boolean privateLayout, String mainPath, String friendlyURL, Map<String,String[]> params, Map<String,Object> requestContext) throws com.liferay.portal.kernel.exception.PortalException
getVirtualLayoutActualURL
in interface com.liferay.portal.kernel.util.Portal
com.liferay.portal.kernel.exception.PortalException
@Deprecated public com.liferay.portal.kernel.model.LayoutFriendlyURLComposite getVirtualLayoutFriendlyURLComposite(boolean privateLayout, String friendlyURL, Map<String,String[]> params, Map<String,Object> requestContext) throws com.liferay.portal.kernel.exception.PortalException
getVirtualLayoutFriendlyURLComposite
in interface com.liferay.portal.kernel.util.Portal
com.liferay.portal.kernel.exception.PortalException
public String getWidgetURL(com.liferay.portal.kernel.model.Portlet portlet, com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay) throws com.liferay.portal.kernel.exception.PortalException
getWidgetURL
in interface com.liferay.portal.kernel.util.Portal
com.liferay.portal.kernel.exception.PortalException
public void initCustomSQL()
initCustomSQL
in interface com.liferay.portal.kernel.util.Portal
public com.liferay.portal.kernel.model.User initUser(javax.servlet.http.HttpServletRequest request) throws Exception
initUser
in interface com.liferay.portal.kernel.util.Portal
Exception
@Deprecated public void invokeTaglibDiscussion(PortletConfig portletConfig, ActionRequest actionRequest, ActionResponse actionResponse) throws Exception
invokeTaglibDiscussion
in interface com.liferay.portal.kernel.util.Portal
Exception
@Deprecated public void invokeTaglibDiscussionPagination(PortletConfig portletConfig, ResourceRequest resourceRequest, ResourceResponse resourceResponse) throws IOException, PortletException
invokeTaglibDiscussionPagination
in interface com.liferay.portal.kernel.util.Portal
IOException
PortletException
public boolean isCDNDynamicResourcesEnabled(javax.servlet.http.HttpServletRequest request) throws com.liferay.portal.kernel.exception.PortalException
isCDNDynamicResourcesEnabled
in interface com.liferay.portal.kernel.util.Portal
com.liferay.portal.kernel.exception.PortalException
public boolean isCDNDynamicResourcesEnabled(long companyId)
isCDNDynamicResourcesEnabled
in interface com.liferay.portal.kernel.util.Portal
public boolean isCompanyAdmin(com.liferay.portal.kernel.model.User user) throws Exception
isCompanyAdmin
in interface com.liferay.portal.kernel.util.Portal
Exception
public boolean isCompanyControlPanelPortlet(String portletId, String category, com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay) throws com.liferay.portal.kernel.exception.PortalException
isCompanyControlPanelPortlet
in interface com.liferay.portal.kernel.util.Portal
com.liferay.portal.kernel.exception.PortalException
public boolean isCompanyControlPanelPortlet(String portletId, com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay) throws com.liferay.portal.kernel.exception.PortalException
isCompanyControlPanelPortlet
in interface com.liferay.portal.kernel.util.Portal
com.liferay.portal.kernel.exception.PortalException
public boolean isControlPanelPortlet(String portletId, String category, com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay)
isControlPanelPortlet
in interface com.liferay.portal.kernel.util.Portal
public boolean isControlPanelPortlet(String portletId, com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay)
isControlPanelPortlet
in interface com.liferay.portal.kernel.util.Portal
public boolean isCustomPortletMode(PortletMode portletMode)
isCustomPortletMode
in interface com.liferay.portal.kernel.util.Portal
public boolean isForwardedSecure(javax.servlet.http.HttpServletRequest request)
isForwardedSecure
in interface com.liferay.portal.kernel.util.Portal
public boolean isGroupAdmin(com.liferay.portal.kernel.model.User user, long groupId) throws Exception
isGroupAdmin
in interface com.liferay.portal.kernel.util.Portal
Exception
public boolean isGroupFriendlyURL(String fullURL, String groupFriendlyURL, String layoutFriendlyURL)
isGroupFriendlyURL
in interface com.liferay.portal.kernel.util.Portal
public boolean isGroupOwner(com.liferay.portal.kernel.model.User user, long groupId) throws Exception
isGroupOwner
in interface com.liferay.portal.kernel.util.Portal
Exception
public boolean isLayoutDescendant(com.liferay.portal.kernel.model.Layout layout, long layoutId) throws com.liferay.portal.kernel.exception.PortalException
isLayoutDescendant
in interface com.liferay.portal.kernel.util.Portal
com.liferay.portal.kernel.exception.PortalException
public boolean isLayoutSitemapable(com.liferay.portal.kernel.model.Layout layout)
isLayoutSitemapable
in interface com.liferay.portal.kernel.util.Portal
public boolean isLoginRedirectRequired(javax.servlet.http.HttpServletRequest request)
isLoginRedirectRequired
in interface com.liferay.portal.kernel.util.Portal
public boolean isMethodGet(PortletRequest portletRequest)
isMethodGet
in interface com.liferay.portal.kernel.util.Portal
public boolean isMethodPost(PortletRequest portletRequest)
isMethodPost
in interface com.liferay.portal.kernel.util.Portal
public boolean isMultipartRequest(javax.servlet.http.HttpServletRequest request)
isMultipartRequest
in interface com.liferay.portal.kernel.util.Portal
public boolean isOmniadmin(long userId)
isOmniadmin
in interface com.liferay.portal.kernel.util.Portal
public boolean isOmniadmin(com.liferay.portal.kernel.model.User user)
isOmniadmin
in interface com.liferay.portal.kernel.util.Portal
public boolean isReservedParameter(String name)
isReservedParameter
in interface com.liferay.portal.kernel.util.Portal
public boolean isRightToLeft(javax.servlet.http.HttpServletRequest request)
isRightToLeft
in interface com.liferay.portal.kernel.util.Portal
public boolean isRSSFeedsEnabled()
isRSSFeedsEnabled
in interface com.liferay.portal.kernel.util.Portal
public boolean isSecure(javax.servlet.http.HttpServletRequest request)
isSecure
in interface com.liferay.portal.kernel.util.Portal
public boolean isSkipPortletContentProcessing(com.liferay.portal.kernel.model.Group group, javax.servlet.http.HttpServletRequest httpServletRequest, com.liferay.portal.kernel.model.LayoutTypePortlet layoutTypePortlet, com.liferay.portal.kernel.theme.PortletDisplay portletDisplay, String portletName) throws Exception
isSkipPortletContentProcessing
in interface com.liferay.portal.kernel.util.Portal
Exception
public boolean isSkipPortletContentRendering(com.liferay.portal.kernel.model.Group group, com.liferay.portal.kernel.model.LayoutTypePortlet layoutTypePortlet, com.liferay.portal.kernel.theme.PortletDisplay portletDisplay, String portletName)
isSkipPortletContentRendering
in interface com.liferay.portal.kernel.util.Portal
public boolean isSystemGroup(String groupName)
isSystemGroup
in interface com.liferay.portal.kernel.util.Portal
public boolean isSystemRole(String roleName)
isSystemRole
in interface com.liferay.portal.kernel.util.Portal
public boolean isUpdateAvailable()
isUpdateAvailable
in interface com.liferay.portal.kernel.util.Portal
public boolean isValidResourceId(String resourceId)
isValidResourceId
in interface com.liferay.portal.kernel.util.Portal
public boolean removePortalInetSocketAddressEventListener(com.liferay.portal.kernel.util.PortalInetSocketAddressEventListener portalInetSocketAddressEventListener)
removePortalInetSocketAddressEventListener
in interface com.liferay.portal.kernel.util.Portal
@Deprecated public void removePortalPortEventListener(com.liferay.portal.kernel.util.PortalPortEventListener portalPortEventListener)
removePortalInetSocketAddressEventListener(
PortalInetSocketAddressEventListener)
removePortalPortEventListener
in interface com.liferay.portal.kernel.util.Portal
public void resetCDNHosts()
resetCDNHosts
in interface com.liferay.portal.kernel.util.Portal
public String resetPortletParameters(String url, String portletId)
resetPortletParameters
in interface com.liferay.portal.kernel.util.Portal
public void sendError(Exception e, ActionRequest actionRequest, ActionResponse actionResponse) throws IOException
sendError
in interface com.liferay.portal.kernel.util.Portal
IOException
public void sendError(Exception e, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws IOException, javax.servlet.ServletException
sendError
in interface com.liferay.portal.kernel.util.Portal
IOException
javax.servlet.ServletException
public void sendError(int status, Exception e, ActionRequest actionRequest, ActionResponse actionResponse) throws IOException
sendError
in interface com.liferay.portal.kernel.util.Portal
IOException
public void sendError(int status, Exception e, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws IOException, javax.servlet.ServletException
sendError
in interface com.liferay.portal.kernel.util.Portal
IOException
javax.servlet.ServletException
public void sendRSSFeedsDisabledError(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws IOException, javax.servlet.ServletException
sendRSSFeedsDisabledError
in interface com.liferay.portal.kernel.util.Portal
IOException
javax.servlet.ServletException
public void sendRSSFeedsDisabledError(PortletRequest portletRequest, PortletResponse portletResponse) throws IOException, javax.servlet.ServletException
sendRSSFeedsDisabledError
in interface com.liferay.portal.kernel.util.Portal
IOException
javax.servlet.ServletException
public void setPageDescription(String description, javax.servlet.http.HttpServletRequest request)
setPageDescription
in interface com.liferay.portal.kernel.util.Portal
public void setPageKeywords(String keywords, javax.servlet.http.HttpServletRequest request)
setPageKeywords
in interface com.liferay.portal.kernel.util.Portal
public void setPageSubtitle(String subtitle, javax.servlet.http.HttpServletRequest request)
setPageSubtitle
in interface com.liferay.portal.kernel.util.Portal
public void setPageTitle(String title, javax.servlet.http.HttpServletRequest request)
setPageTitle
in interface com.liferay.portal.kernel.util.Portal
public void setPortalInetSocketAddresses(javax.servlet.http.HttpServletRequest request)
setPortalInetSocketAddresses
in interface com.liferay.portal.kernel.util.Portal
@Deprecated public void setPortalPort(javax.servlet.http.HttpServletRequest request)
setPortalInetSocketAddresses(HttpServletRequest)
setPortalPort
in interface com.liferay.portal.kernel.util.Portal
public void storePreferences(PortletPreferences portletPreferences) throws IOException, ValidatorException
storePreferences
in interface com.liferay.portal.kernel.util.Portal
IOException
ValidatorException
public String[] stripURLAnchor(String url, String separator)
stripURLAnchor
in interface com.liferay.portal.kernel.util.Portal
public String transformCustomSQL(String sql)
transformCustomSQL
in interface com.liferay.portal.kernel.util.Portal
public String transformSQL(String sql)
transformSQL
in interface com.liferay.portal.kernel.util.Portal
public void updateImageId(com.liferay.portal.kernel.model.BaseModel<?> baseModel, boolean hasImage, byte[] bytes, String fieldName, long maxSize, int maxHeight, int maxWidth) throws com.liferay.portal.kernel.exception.PortalException
updateImageId
in interface com.liferay.portal.kernel.util.Portal
com.liferay.portal.kernel.exception.PortalException
public PortletMode updatePortletMode(String portletId, com.liferay.portal.kernel.model.User user, com.liferay.portal.kernel.model.Layout layout, PortletMode portletMode, javax.servlet.http.HttpServletRequest request) throws com.liferay.portal.kernel.exception.PortalException
updatePortletMode
in interface com.liferay.portal.kernel.util.Portal
com.liferay.portal.kernel.exception.PortalException
public String updateRedirect(String redirect, String oldPath, String newPath)
updateRedirect
in interface com.liferay.portal.kernel.util.Portal
public WindowState updateWindowState(String portletId, com.liferay.portal.kernel.model.User user, com.liferay.portal.kernel.model.Layout layout, WindowState windowState, javax.servlet.http.HttpServletRequest request)
updateWindowState
in interface com.liferay.portal.kernel.util.Portal
@Deprecated protected void addDefaultResource(long companyId, com.liferay.portal.kernel.model.Layout layout, com.liferay.portal.kernel.model.Portlet portlet, boolean portletActions) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
@Deprecated protected void addDefaultResource(long companyId, long groupId, com.liferay.portal.kernel.model.Layout layout, com.liferay.portal.kernel.model.Portlet portlet, boolean portletActions) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
@Deprecated protected void addRootModelResource(long companyId, long groupId, com.liferay.portal.kernel.model.Portlet portlet) throws com.liferay.portal.kernel.exception.PortalException
addRootModelResource(long, long, String)
com.liferay.portal.kernel.exception.PortalException
protected void addRootModelResource(long companyId, long groupId, String name) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
@Deprecated protected String buildI18NPath(Locale locale)
protected Set<com.liferay.portal.kernel.model.Group> doGetAncestorSiteGroups(long groupId, boolean checkContentSharingWithChildrenEnabled) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
protected com.liferay.portal.kernel.model.Group doGetCurrentSiteGroup(long groupId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
protected long doGetPlidFromPortletId(long groupId, boolean privateLayout, String portletId)
protected List<com.liferay.portal.kernel.model.Portlet> filterControlPanelPortlets(Set<com.liferay.portal.kernel.model.Portlet> portlets, com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay)
protected Locale getAvailableLocale(long groupId, Locale locale)
protected com.liferay.portal.kernel.model.Layout getBrowsableLayout(com.liferay.portal.kernel.model.Layout layout)
protected String getCanonicalDomain(String virtualHostname, String portalDomain)
protected String getContextPath(String contextPath)
protected com.liferay.portal.kernel.model.Group getControlPanelDisplayGroup(com.liferay.portal.kernel.model.Group controlPanelGroup, com.liferay.portal.kernel.model.Group scopeGroup, long doAsGroupId, String portletId)
protected com.liferay.portal.kernel.model.Group getControlPanelDisplayGroup(long companyId, long scopeGroupId, long doAsGroupId, String portletId)
protected long getDoAsUserId(javax.servlet.http.HttpServletRequest request, String doAsUserIdString, boolean alwaysAllowDoAsUser) throws Exception
Exception
protected String getGroupFriendlyURL(com.liferay.portal.kernel.model.LayoutSet layoutSet, com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay, boolean canonicalURL) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
protected String getGroupFriendlyURL(com.liferay.portal.kernel.model.LayoutSet layoutSet, com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay, boolean canonicalURL, boolean controlPanel) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
protected String[] getGroupPermissions(String[] groupPermissions, String className, String inputPermissionsShowOptions)
protected String[] getGuestPermissions(String[] guestPermissions, String className, String inputPermissionsShowOptions)
protected String getPortletParam(javax.servlet.http.HttpServletRequest request, String name)
protected String getServletURL(com.liferay.portal.kernel.model.Portlet portlet, String servletPath, com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
protected boolean isAlwaysAllowDoAsUser(javax.servlet.http.HttpServletRequest request) throws Exception
Exception
protected boolean isAlwaysAllowDoAsUser(String actionName, String mvcRenderCommandName, String path, String strutsAction)
protected boolean isUnwrapRequest(String currentRequestClassName)
protected boolean isValidPortalDomain(long companyId, String domain)
protected boolean isValidPortalDomain(String domain)
protected boolean isValidVirtualHostname(String virtualHostname)
protected void notifyPortalInetSocketAddressEventListeners(InetSocketAddress inetSocketAddress, boolean local, boolean secure)
@Deprecated protected void notifyPortalPortEventListeners(int portalPort)
notifyPortalInetSocketAddressEventListeners(
InetSocketAddress, boolean, boolean)
protected String removeRedirectParameter(String url)
protected void resetThemeDisplayI18n(com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay, String languageId, String path, Locale locale)
protected void setLocale(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, Locale locale)
protected void setThemeDisplayI18n(com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay, Locale locale)