Package com.liferay.portal.util
Class PortalImpl
Object
com.liferay.portal.util.PortalImpl
- All Implemented Interfaces:
com.liferay.portal.kernel.util.Portal
- Author:
- Brian Wing Shun Chan, Brian Myunghun Kim, Jorge Ferrer, Raymond Augé, Eduardo Lundgren, Wesley Gong, Hugo Huijser, Juan Fernández, Marco Leo, Neil Griffin
-
Field Summary
Fields inherited from interface com.liferay.portal.kernel.util.Portal
FRIENDLY_URL_SEPARATOR, JSESSIONID, PATH_IMAGE, PATH_MAIN, PATH_MODULE, PATH_PORTAL_LAYOUT, PORTAL_REALM, PORTLET_XML_FILE_NAME_CUSTOM, PORTLET_XML_FILE_NAME_STANDARD, TEMP_OBFUSCATION_VALUE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddPageDescription(String description, javax.servlet.http.HttpServletRequest httpServletRequest) voidaddPageKeywords(String keywords, javax.servlet.http.HttpServletRequest httpServletRequest) voidaddPageSubtitle(String subtitle, javax.servlet.http.HttpServletRequest httpServletRequest) voidaddPageTitle(String title, javax.servlet.http.HttpServletRequest httpServletRequest) voidaddPortletBreadcrumbEntry(javax.servlet.http.HttpServletRequest httpServletRequest, String title, String url) voidaddPortletBreadcrumbEntry(javax.servlet.http.HttpServletRequest httpServletRequest, String title, String url, Map<String, Object> data) voidaddPortletBreadcrumbEntry(javax.servlet.http.HttpServletRequest httpServletRequest, String title, String url, Map<String, Object> data, boolean portletBreadcrumbEntry) voidaddPortletDefaultResource(long companyId, com.liferay.portal.kernel.model.Layout layout, com.liferay.portal.kernel.model.Portlet portlet) voidaddPortletDefaultResource(javax.servlet.http.HttpServletRequest httpServletRequest, com.liferay.portal.kernel.model.Portlet portlet) addPreservedParameters(com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay, com.liferay.portal.kernel.model.Layout layout, String url, boolean doAsUser) addPreservedParameters(com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay, String url) addPreservedParameters(com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay, String url, boolean typeControlPanel, boolean doAsUser) protected voidaddRootModelResource(long companyId, long groupId, String name) voidcopyRequestParameters(ActionRequest actionRequest, ActionResponse actionResponse) protected longdoGetPlidFromPortletId(long groupId, boolean privateLayout, String portletId) 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) generateRandomKey(javax.servlet.http.HttpServletRequest httpServletRequest, String input) getAbsoluteURL(javax.servlet.http.HttpServletRequest httpServletRequest, String url) com.liferay.portal.kernel.model.LayoutQueryStringCompositegetActualLayoutQueryStringComposite(long groupId, boolean privateLayout, String friendlyURL, Map<String, String[]> params, Map<String, Object> requestContext) getActualURL(long groupId, boolean privateLayout, String mainPath, String friendlyURL, Map<String, String[]> params, Map<String, Object> requestContext) getAlternateURL(String canonicalURL, com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay, Locale locale, com.liferay.portal.kernel.model.Layout layout) getAlternateURLs(String canonicalURL, com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay, com.liferay.portal.kernel.model.Layout layout) getAlternateURLs(String canonicalURL, com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay, com.liferay.portal.kernel.model.Layout layout, Set<Locale> availableLocales) long[]getAncestorSiteGroupIds(long groupId) protected Set<com.liferay.portal.kernel.model.Group>getAncestorSiteGroups(long groupId, boolean checkContentSharingWithChildrenEnabled) protected LocalegetAvailableLocale(long groupId, Locale locale) protected StringgetCanonicalDomain(TreeMap<String, String> virtualHostnames, String portalDomain, String defaultVirtualHostname) getCanonicalURL(String completeURL, com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay, com.liferay.portal.kernel.model.Layout layout) getCanonicalURL(String completeURL, com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay, com.liferay.portal.kernel.model.Layout layout, boolean forceLayoutFriendlyURL) getCanonicalURL(String completeURL, com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay, com.liferay.portal.kernel.model.Layout layout, boolean forceLayoutFriendlyURL, boolean includeQueryString) getCDNHost(boolean secure) getCDNHost(javax.servlet.http.HttpServletRequest httpServletRequest) getCDNHostHttp(long companyId) getCDNHostHttps(long companyId) getClassName(long classNameId) longgetClassNameId(Class<?> clazz) longgetClassNameId(String value) com.liferay.portal.kernel.model.CompanygetCompany(PortletRequest portletRequest) com.liferay.portal.kernel.model.CompanygetCompany(javax.servlet.http.HttpServletRequest httpServletRequest) longgetCompanyId(PortletRequest portletRequest) longgetCompanyId(javax.servlet.http.HttpServletRequest httpServletRequest) long[]protected StringgetContextPath(String contextPath) protected com.liferay.portal.kernel.model.GroupgetControlPanelDisplayGroup(long companyId, long scopeGroupId, long doAsGroupId, String portletId) protected com.liferay.portal.kernel.model.GroupgetControlPanelDisplayGroup(com.liferay.portal.kernel.model.Group controlPanelGroup, com.liferay.portal.kernel.model.Group scopeGroup, long doAsGroupId, String portletId) getControlPanelFullURL(long scopeGroupId, String ppid, Map<String, String[]> params) longgetControlPanelPlid(long companyId) longgetControlPanelPlid(PortletRequest portletRequest) getControlPanelPortletURL(PortletRequest portletRequest, com.liferay.portal.kernel.model.Group group, String portletId, long refererGroupId, long refererPlid, String lifecycle) getControlPanelPortletURL(PortletRequest portletRequest, String portletId, String lifecycle) getControlPanelPortletURL(javax.servlet.http.HttpServletRequest httpServletRequest, com.liferay.portal.kernel.model.Group group, String portletId, long refererGroupId, long refererPlid, String lifecycle) getControlPanelPortletURL(javax.servlet.http.HttpServletRequest httpServletRequest, String portletId, String lifecycle) getCreateAccountURL(javax.servlet.http.HttpServletRequest httpServletRequest, 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[] groupIds, boolean checkContentSharingWithChildrenEnabled) List<com.liferay.portal.kernel.model.Group>getCurrentAndAncestorSiteGroups(long groupId, boolean checkContentSharingWithChildrenEnabled) getCurrentCompleteURL(javax.servlet.http.HttpServletRequest httpServletRequest) protected com.liferay.portal.kernel.model.GroupgetCurrentSiteGroup(long groupId) getCurrentURL(PortletRequest portletRequest) getCurrentURL(javax.servlet.http.HttpServletRequest httpServletRequest) getDate(int month, int day, int year) getDate(int month, int day, int year, int hour, int min, Class<? extends com.liferay.portal.kernel.exception.PortalException> clazz) getDate(int month, int day, int year, int hour, int min, TimeZone timeZone, Class<? extends com.liferay.portal.kernel.exception.PortalException> clazz) getDate(int month, int day, int year, Class<? extends com.liferay.portal.kernel.exception.PortalException> clazz) getDate(int month, int day, int year, TimeZone timeZone, Class<? extends com.liferay.portal.kernel.exception.PortalException> clazz) longprotected longgetDoAsUserId(javax.servlet.http.HttpServletRequest httpServletRequest, String doAsUserIdString, boolean alwaysAllowDoAsUser) getEmailFromAddress(PortletPreferences portletPreferences, long companyId, String defaultValue) getEmailFromName(PortletPreferences portletPreferences, long companyId, String defaultValue) getForwardedHost(javax.servlet.http.HttpServletRequest httpServletRequest) intgetForwardedPort(javax.servlet.http.HttpServletRequest httpServletRequest) getFullName(String firstName, String middleName, String lastName) getGoogleGadgetURL(com.liferay.portal.kernel.model.Portlet portlet, com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay) protected StringgetGroupFriendlyURL(com.liferay.portal.kernel.model.LayoutSet layoutSet, com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay, boolean canonicalURL) getGroupFriendlyURL(com.liferay.portal.kernel.model.LayoutSet layoutSet, com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay, boolean canonicalURL, boolean controlPanel) getGroupFriendlyURL(com.liferay.portal.kernel.model.LayoutSet layoutSet, com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay, Locale locale) int[]getGroupFriendlyURLIndex(String requestURI) protected String[]getGroupPermissions(String[] groupPermissions, String className, String inputPermissionsShowOptions) protected String[]getGuestPermissions(String[] guestPermissions, String className, String inputPermissionsShowOptions) getHomeURL(javax.servlet.http.HttpServletRequest httpServletRequest) getHost(PortletRequest portletRequest) getHost(javax.servlet.http.HttpServletRequest httpServletRequest) javax.servlet.http.HttpServletRequestgetHttpServletRequest(PortletRequest portletRequest) javax.servlet.http.HttpServletResponsegetHttpServletResponse(PortletResponse portletResponse) getI18nPathLanguageId(Locale locale, String defaultI18nPathLanguageId) getJsSafePortletId(String portletId) getLayoutActualURL(long groupId, boolean privateLayout, String mainPath, String friendlyURL, Map<String, String[]> params, Map<String, Object> requestContext) getLayoutActualURL(com.liferay.portal.kernel.model.Layout layout) getLayoutActualURL(com.liferay.portal.kernel.model.Layout layout, String mainPath) getLayoutFriendlyURL(com.liferay.portal.kernel.model.Layout layout, com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay) getLayoutFriendlyURL(com.liferay.portal.kernel.model.Layout layout, com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay, Locale locale) getLayoutFriendlyURL(com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay) com.liferay.portal.kernel.portlet.LayoutFriendlyURLSeparatorCompositegetLayoutFriendlyURLSeparatorComposite(long groupId, boolean privateLayout, String friendlyURL, Map<String, String[]> params, Map<String, Object> requestContext) getLayoutFullURL(long groupId, String portletId) getLayoutFullURL(long groupId, String portletId, boolean secure) getLayoutFullURL(com.liferay.portal.kernel.model.Layout layout, com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay) getLayoutFullURL(com.liferay.portal.kernel.model.Layout layout, com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay, boolean doAsUser) getLayoutFullURL(com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay) getLayoutRelativeURL(com.liferay.portal.kernel.model.Layout layout, com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay) getLayoutRelativeURL(com.liferay.portal.kernel.model.Layout layout, com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay, boolean doAsUser) getLayoutSetDisplayURL(com.liferay.portal.kernel.model.LayoutSet layoutSet, boolean secureConnection) getLayoutSetFriendlyURL(com.liferay.portal.kernel.model.LayoutSet layoutSet, com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay) getLayoutTarget(com.liferay.portal.kernel.model.Layout layout) getLayoutURL(com.liferay.portal.kernel.model.Layout layout, com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay) getLayoutURL(com.liferay.portal.kernel.model.Layout layout, com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay, boolean doAsUser) getLayoutURL(com.liferay.portal.kernel.model.Layout layout, com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay, Locale locale) getLayoutURL(com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay) com.liferay.portal.kernel.portlet.LiferayPortletRequestgetLiferayPortletRequest(PortletRequest portletRequest) com.liferay.portal.kernel.portlet.LiferayPortletResponsegetLiferayPortletResponse(PortletResponse portletResponse) getLocale(PortletRequest portletRequest) getLocale(javax.servlet.http.HttpServletRequest httpServletRequest) getLocale(javax.servlet.http.HttpServletRequest httpServletRequest, javax.servlet.http.HttpServletResponse httpServletResponse, boolean initialize) getNetvibesURL(com.liferay.portal.kernel.model.Portlet portlet, com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay) getNewPortletTitle(String portletTitle, String oldScopeName, String newScopeName) javax.servlet.http.HttpServletRequestgetOriginalServletRequest(javax.servlet.http.HttpServletRequest httpServletRequest) getPathContext(String contextPath) getPathContext(PortletRequest portletRequest) getPathContext(javax.servlet.http.HttpServletRequest httpServletRequest) longgetPlidFromFriendlyURL(long companyId, String friendlyURL) longgetPlidFromPortletId(long groupId, boolean privateLayout, String portletId) longgetPlidFromPortletId(long groupId, String portletId) protected longgetPlidFromPortletId(List<com.liferay.portal.kernel.model.Layout> layouts, String portletId, long scopeGroupId) intgetPortalLocalPort(boolean secure) intgetPortalServerPort(boolean secure) getPortalURL(com.liferay.portal.kernel.model.Layout layout, com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay) getPortalURL(com.liferay.portal.kernel.model.LayoutSet layoutSet, com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay) getPortalURL(com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay) getPortalURL(String serverName, int serverPort, boolean secure) getPortalURL(PortletRequest portletRequest) getPortalURL(PortletRequest portletRequest, boolean secure) getPortalURL(javax.servlet.http.HttpServletRequest httpServletRequest) getPortalURL(javax.servlet.http.HttpServletRequest httpServletRequest, boolean secure) getPortletConfig(long companyId, String portletId, javax.servlet.ServletContext servletContext) getPortletDescription(com.liferay.portal.kernel.model.Portlet portlet, com.liferay.portal.kernel.model.User user) getPortletDescription(com.liferay.portal.kernel.model.Portlet portlet, javax.servlet.ServletContext servletContext, Locale locale) getPortletDescription(String portletId, com.liferay.portal.kernel.model.User user) getPortletDescription(String portletId, String languageId) getPortletDescription(String portletId, Locale locale) com.liferay.portal.kernel.model.LayoutQueryStringCompositegetPortletFriendlyURLMapperLayoutQueryStringComposite(long groupId, boolean privateLayout, String url, Map<String, String[]> params, Map<String, Object> requestContext) com.liferay.portal.kernel.model.LayoutQueryStringCompositegetPortletFriendlyURLMapperLayoutQueryStringComposite(String url, Map<String, String[]> params, Map<String, Object> requestContext) getPortletId(PortletRequest portletRequest) getPortletId(javax.servlet.http.HttpServletRequest httpServletRequest) getPortletLongTitle(com.liferay.portal.kernel.model.Portlet portlet, javax.servlet.ServletContext servletContext, Locale locale) getPortletLongTitle(String portletId, Locale locale) getPortletNamespace(String portletId) protected StringgetPortletParam(javax.servlet.http.HttpServletRequest httpServletRequest, String name) getPortletTitle(com.liferay.portal.kernel.model.Portlet portlet, com.liferay.portal.kernel.model.User user) getPortletTitle(com.liferay.portal.kernel.model.Portlet portlet, String languageId) getPortletTitle(com.liferay.portal.kernel.model.Portlet portlet, Locale locale) getPortletTitle(com.liferay.portal.kernel.model.Portlet portlet, javax.servlet.ServletContext servletContext, Locale locale) getPortletTitle(String portletId, com.liferay.portal.kernel.model.User user) getPortletTitle(String portletId, String languageId) getPortletTitle(String portletId, Locale locale) getPortletTitle(String portletId, ResourceBundle resourceBundle) getPortletTitle(PortletRequest portletRequest) getPortletTitle(PortletResponse portletResponse) getPreferences(javax.servlet.http.HttpServletRequest httpServletRequest) getPreferencesValidator(com.liferay.portal.kernel.model.Portlet portlet) getRelativeHomeURL(javax.servlet.http.HttpServletRequest httpServletRequest) getResourceBundle(Locale locale) longgetScopeGroupId(long plid) longgetScopeGroupId(com.liferay.portal.kernel.model.Layout layout) longgetScopeGroupId(com.liferay.portal.kernel.model.Layout layout, String portletId) longgetScopeGroupId(PortletRequest portletRequest) longgetScopeGroupId(javax.servlet.http.HttpServletRequest httpServletRequest) longgetScopeGroupId(javax.servlet.http.HttpServletRequest httpServletRequest, String portletId) longgetScopeGroupId(javax.servlet.http.HttpServletRequest httpServletRequest, String portletId, boolean checkStagingGroup) com.liferay.portal.kernel.model.UsergetSelectedUser(PortletRequest portletRequest) com.liferay.portal.kernel.model.UsergetSelectedUser(PortletRequest portletRequest, boolean checkPermission) com.liferay.portal.kernel.model.UsergetSelectedUser(javax.servlet.http.HttpServletRequest httpServletRequest) com.liferay.portal.kernel.model.UsergetSelectedUser(javax.servlet.http.HttpServletRequest httpServletRequest, boolean checkPermission) protected StringgetServletURL(com.liferay.portal.kernel.model.Portlet portlet, String servletPath, com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay) long[]getSharedContentSiteGroupIds(long companyId, long groupId, long userId) getSiteAdminURL(com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay, String ppid, Map<String, String[]> params) getSiteAdminURL(String portalURL, com.liferay.portal.kernel.model.Group group, String ppid, Map<String, String[]> params) getSiteDefaultLocale(long groupId) getSiteDefaultLocale(com.liferay.portal.kernel.model.Group group) longgetSiteGroupId(long groupId) getSiteLoginURL(com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay) getStaticResourceURL(javax.servlet.http.HttpServletRequest httpServletRequest, String uri) getStaticResourceURL(javax.servlet.http.HttpServletRequest httpServletRequest, String uri, long timestamp) getStaticResourceURL(javax.servlet.http.HttpServletRequest httpServletRequest, String uri, String queryString) getStaticResourceURL(javax.servlet.http.HttpServletRequest httpServletRequest, String uri, String queryString, long timestamp) getStrutsAction(javax.servlet.http.HttpServletRequest httpServletRequest) String[]String[]String[]String[]getUniqueElementId(PortletRequest request, String namespace, String elementId) getUniqueElementId(javax.servlet.http.HttpServletRequest httpServletRequest, String namespace, String elementId) com.liferay.portal.kernel.upload.UploadPortletRequestgetUploadPortletRequest(PortletRequest portletRequest) com.liferay.portal.kernel.upload.UploadServletRequestgetUploadServletRequest(javax.servlet.http.HttpServletRequest httpServletRequest) com.liferay.portal.kernel.upload.UploadServletRequestgetUploadServletRequest(javax.servlet.http.HttpServletRequest httpServletRequest, int fileSizeThreshold, String location) getURLWithSessionId(String url, String sessionId) com.liferay.portal.kernel.model.UsergetUser(PortletRequest portletRequest) com.liferay.portal.kernel.model.UsergetUser(javax.servlet.http.HttpServletRequest httpServletRequest) getUserEmailAddress(long userId) longgetUserId(PortletRequest portletRequest) longgetUserId(javax.servlet.http.HttpServletRequest httpServletRequest) getUserName(long userId, String defaultUserName) getUserName(long userId, String defaultUserName, String userAttribute) getUserName(long userId, String defaultUserName, String userAttribute, javax.servlet.http.HttpServletRequest httpServletRequest) getUserName(long userId, String defaultUserName, javax.servlet.http.HttpServletRequest httpServletRequest) getUserName(com.liferay.portal.kernel.model.BaseModel<?> baseModel) getUserPassword(PortletRequest portletRequest) getUserPassword(javax.servlet.http.HttpServletRequest httpServletRequest) getUserPassword(javax.servlet.http.HttpSession httpSession) getValidPortalDomain(long companyId, String domain) longgetValidUserId(long companyId, long userId) getVirtualHostnames(com.liferay.portal.kernel.model.LayoutSet layoutSet) getWidgetURL(com.liferay.portal.kernel.model.Portlet portlet, com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay) com.liferay.portal.kernel.model.UserinitUser(javax.servlet.http.HttpServletRequest httpServletRequest) protected booleanisAlwaysAllowDoAsUser(String actionName, String mvcRenderCommandName, String path, String strutsAction) protected booleanisAlwaysAllowDoAsUser(javax.servlet.http.HttpServletRequest httpServletRequest) booleanisCDNDynamicResourcesEnabled(long companyId) booleanisCDNDynamicResourcesEnabled(javax.servlet.http.HttpServletRequest httpServletRequest) booleanisCompanyAdmin(com.liferay.portal.kernel.model.User user) booleanisCustomPortletMode(PortletMode portletMode) booleanisForwardedSecure(javax.servlet.http.HttpServletRequest httpServletRequest) booleanisGroupAdmin(com.liferay.portal.kernel.model.User user, long groupId) booleanbooleanisGroupFriendlyURL(String fullURL, String groupFriendlyURL, String layoutFriendlyURL) booleanisGroupOwner(com.liferay.portal.kernel.model.User user, long groupId) booleanisLayoutDescendant(com.liferay.portal.kernel.model.Layout layout, long layoutId) booleanisLayoutSitemapable(com.liferay.portal.kernel.model.Layout layout) booleanisLoginRedirectRequired(javax.servlet.http.HttpServletRequest httpServletRequest) booleanisMultipartRequest(javax.servlet.http.HttpServletRequest httpServletRequest) booleanisOmniadmin(long userId) booleanisOmniadmin(com.liferay.portal.kernel.model.User user) booleanisReservedParameter(String name) booleanisRightToLeft(javax.servlet.http.HttpServletRequest httpServletRequest) booleanbooleanisSecure(javax.servlet.http.HttpServletRequest httpServletRequest) booleanisSkipPortletContentRendering(com.liferay.portal.kernel.model.Group group, com.liferay.portal.kernel.model.LayoutTypePortlet layoutTypePortlet, com.liferay.portal.kernel.theme.PortletDisplay portletDisplay, String portletName) booleanisSystemGroup(String groupName) booleanisSystemRole(String roleName) protected booleanisUnwrapRequest(String currentRequestClassName) booleanisValidPortalDomain(long companyId, String domain) protected booleanisValidPortalDomain(String domain) booleanisValidResourceId(String resourceId) protected booleanisValidVirtualHostname(String virtualHostname) protected voidnotifyPortalInetSocketAddressEventListeners(InetSocketAddress inetSocketAddress, boolean local, boolean secure) protected Stringvoidprotected voidresetThemeDisplayI18n(com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay, String languageId, String path, Locale locale) voidsendError(int status, Exception exception, ActionRequest actionRequest, ActionResponse actionResponse) voidsendError(int status, Exception exception, javax.servlet.http.HttpServletRequest httpServletRequest, javax.servlet.http.HttpServletResponse httpServletResponse) voidsendError(Exception exception, ActionRequest actionRequest, ActionResponse actionResponse) voidsendError(Exception exception, javax.servlet.http.HttpServletRequest httpServletRequest, javax.servlet.http.HttpServletResponse httpServletResponse) voidsendRSSFeedsDisabledError(PortletRequest portletRequest, PortletResponse portletResponse) voidsendRSSFeedsDisabledError(javax.servlet.http.HttpServletRequest httpServletRequest, javax.servlet.http.HttpServletResponse httpServletResponse) protected voidsetLocale(javax.servlet.http.HttpServletRequest httpServletRequest, javax.servlet.http.HttpServletResponse httpServletResponse, Locale locale) voidsetPageDescription(String description, javax.servlet.http.HttpServletRequest httpServletRequest) voidsetPageKeywords(String keywords, javax.servlet.http.HttpServletRequest httpServletRequest) voidsetPageSubtitle(String subtitle, javax.servlet.http.HttpServletRequest httpServletRequest) voidsetPageTitle(String title, javax.servlet.http.HttpServletRequest httpServletRequest) voidsetPortalInetSocketAddresses(javax.servlet.http.HttpServletRequest httpServletRequest) protected voidsetThemeDisplayI18n(com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay, Locale locale) String[]stripURLAnchor(String url, String separator) transformCustomSQL(String sql) transformSQL(String sql) voidupdateImageId(com.liferay.portal.kernel.model.BaseModel<?> baseModel, boolean hasImage, byte[] bytes, String fieldName, long maxSize, int maxHeight, int maxWidth) updatePortletMode(String portletId, com.liferay.portal.kernel.model.User user, com.liferay.portal.kernel.model.Layout layout, PortletMode portletMode, javax.servlet.http.HttpServletRequest httpServletRequest) updateRedirect(String redirect, String oldPath, String newPath) updateWindowState(String portletId, com.liferay.portal.kernel.model.User user, com.liferay.portal.kernel.model.Layout layout, WindowState windowState, javax.servlet.http.HttpServletRequest httpServletRequest)
-
Constructor Details
-
PortalImpl
public PortalImpl()
-
-
Method Details
-
addPageDescription
public void addPageDescription(String description, javax.servlet.http.HttpServletRequest httpServletRequest) - Specified by:
addPageDescriptionin interfacecom.liferay.portal.kernel.util.Portal
-
addPageKeywords
public void addPageKeywords(String keywords, javax.servlet.http.HttpServletRequest httpServletRequest) - Specified by:
addPageKeywordsin interfacecom.liferay.portal.kernel.util.Portal
-
addPageSubtitle
public void addPageSubtitle(String subtitle, javax.servlet.http.HttpServletRequest httpServletRequest) - Specified by:
addPageSubtitlein interfacecom.liferay.portal.kernel.util.Portal
-
addPageTitle
- Specified by:
addPageTitlein interfacecom.liferay.portal.kernel.util.Portal
-
addPortletBreadcrumbEntry
public void addPortletBreadcrumbEntry(javax.servlet.http.HttpServletRequest httpServletRequest, String title, String url) - Specified by:
addPortletBreadcrumbEntryin interfacecom.liferay.portal.kernel.util.Portal
-
addPortletBreadcrumbEntry
public void addPortletBreadcrumbEntry(javax.servlet.http.HttpServletRequest httpServletRequest, String title, String url, Map<String, Object> data) - Specified by:
addPortletBreadcrumbEntryin interfacecom.liferay.portal.kernel.util.Portal
-
addPortletBreadcrumbEntry
public void addPortletBreadcrumbEntry(javax.servlet.http.HttpServletRequest httpServletRequest, String title, String url, Map<String, Object> data, boolean portletBreadcrumbEntry) - Specified by:
addPortletBreadcrumbEntryin interfacecom.liferay.portal.kernel.util.Portal
-
addPortletDefaultResource
public void addPortletDefaultResource(javax.servlet.http.HttpServletRequest httpServletRequest, com.liferay.portal.kernel.model.Portlet portlet) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
addPortletDefaultResourcein interfacecom.liferay.portal.kernel.util.Portal- Throws:
com.liferay.portal.kernel.exception.PortalException
-
addPortletDefaultResource
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 - Specified by:
addPortletDefaultResourcein interfacecom.liferay.portal.kernel.util.Portal- Throws:
com.liferay.portal.kernel.exception.PortalException
-
addPreservedParameters
public String addPreservedParameters(com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay, com.liferay.portal.kernel.model.Layout layout, String url, boolean doAsUser) - Specified by:
addPreservedParametersin interfacecom.liferay.portal.kernel.util.Portal
-
addPreservedParameters
public String addPreservedParameters(com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay, String url) - Specified by:
addPreservedParametersin interfacecom.liferay.portal.kernel.util.Portal
-
addPreservedParameters
public String addPreservedParameters(com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay, String url, boolean typeControlPanel, boolean doAsUser) - Specified by:
addPreservedParametersin interfacecom.liferay.portal.kernel.util.Portal
-
copyRequestParameters
- Specified by:
copyRequestParametersin interfacecom.liferay.portal.kernel.util.Portal
-
escapeRedirect
- Specified by:
escapeRedirectin interfacecom.liferay.portal.kernel.util.Portal
-
generateRandomKey
public String generateRandomKey(javax.servlet.http.HttpServletRequest httpServletRequest, String input) - Specified by:
generateRandomKeyin interfacecom.liferay.portal.kernel.util.Portal
-
getAbsoluteURL
- Specified by:
getAbsoluteURLin interfacecom.liferay.portal.kernel.util.Portal
-
getActualLayoutQueryStringComposite
public com.liferay.portal.kernel.model.LayoutQueryStringComposite getActualLayoutQueryStringComposite(long groupId, boolean privateLayout, String friendlyURL, Map<String, String[]> params, Map<String, throws com.liferay.portal.kernel.exception.PortalExceptionObject> requestContext) - Specified by:
getActualLayoutQueryStringCompositein interfacecom.liferay.portal.kernel.util.Portal- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getActualURL
public String getActualURL(long groupId, boolean privateLayout, String mainPath, String friendlyURL, Map<String, String[]> params, Map<String, throws com.liferay.portal.kernel.exception.PortalExceptionObject> requestContext) - Specified by:
getActualURLin interfacecom.liferay.portal.kernel.util.Portal- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getAlternateURL
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 - Specified by:
getAlternateURLin interfacecom.liferay.portal.kernel.util.Portal- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getAlternateURLs
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 - Specified by:
getAlternateURLsin interfacecom.liferay.portal.kernel.util.Portal- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getAlternateURLs
public Map<Locale,String> getAlternateURLs(String canonicalURL, com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay, com.liferay.portal.kernel.model.Layout layout, Set<Locale> availableLocales) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getAlternateURLsin interfacecom.liferay.portal.kernel.util.Portal- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getAncestorSiteGroupIds
public long[] getAncestorSiteGroupIds(long groupId) - Specified by:
getAncestorSiteGroupIdsin interfacecom.liferay.portal.kernel.util.Portal
-
getCanonicalURL
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 - Specified by:
getCanonicalURLin interfacecom.liferay.portal.kernel.util.Portal- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCanonicalURL
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 - Specified by:
getCanonicalURLin interfacecom.liferay.portal.kernel.util.Portal- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCanonicalURL
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 - Specified by:
getCanonicalURLin interfacecom.liferay.portal.kernel.util.Portal- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCDNHost
- Specified by:
getCDNHostin interfacecom.liferay.portal.kernel.util.Portal
-
getCDNHost
public String getCDNHost(javax.servlet.http.HttpServletRequest httpServletRequest) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getCDNHostin interfacecom.liferay.portal.kernel.util.Portal- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCDNHostHttp
- Specified by:
getCDNHostHttpin interfacecom.liferay.portal.kernel.util.Portal
-
getCDNHostHttps
- Specified by:
getCDNHostHttpsin interfacecom.liferay.portal.kernel.util.Portal
-
getClassName
- Specified by:
getClassNamein interfacecom.liferay.portal.kernel.util.Portal
-
getClassNameId
- Specified by:
getClassNameIdin interfacecom.liferay.portal.kernel.util.Portal
-
getClassNameId
- Specified by:
getClassNameIdin interfacecom.liferay.portal.kernel.util.Portal
-
getCompany
public com.liferay.portal.kernel.model.Company getCompany(javax.servlet.http.HttpServletRequest httpServletRequest) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getCompanyin interfacecom.liferay.portal.kernel.util.Portal- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCompany
public com.liferay.portal.kernel.model.Company getCompany(PortletRequest portletRequest) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getCompanyin interfacecom.liferay.portal.kernel.util.Portal- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCompanyId
public long getCompanyId(javax.servlet.http.HttpServletRequest httpServletRequest) - Specified by:
getCompanyIdin interfacecom.liferay.portal.kernel.util.Portal
-
getCompanyId
- Specified by:
getCompanyIdin interfacecom.liferay.portal.kernel.util.Portal
-
getCompanyIds
public long[] getCompanyIds()- Specified by:
getCompanyIdsin interfacecom.liferay.portal.kernel.util.Portal
-
getComputerAddresses
- Specified by:
getComputerAddressesin interfacecom.liferay.portal.kernel.util.Portal
-
getComputerName
- Specified by:
getComputerNamein interfacecom.liferay.portal.kernel.util.Portal
-
getControlPanelFullURL
public String getControlPanelFullURL(long scopeGroupId, String ppid, Map<String, String[]> params) throws com.liferay.portal.kernel.exception.PortalException- Specified by:
getControlPanelFullURLin interfacecom.liferay.portal.kernel.util.Portal- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getControlPanelPlid
public long getControlPanelPlid(long companyId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getControlPanelPlidin interfacecom.liferay.portal.kernel.util.Portal- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getControlPanelPlid
public long getControlPanelPlid(PortletRequest portletRequest) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getControlPanelPlidin interfacecom.liferay.portal.kernel.util.Portal- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getControlPanelPortletURL
public PortletURL getControlPanelPortletURL(javax.servlet.http.HttpServletRequest httpServletRequest, com.liferay.portal.kernel.model.Group group, String portletId, long refererGroupId, long refererPlid, String lifecycle) - Specified by:
getControlPanelPortletURLin interfacecom.liferay.portal.kernel.util.Portal
-
getControlPanelPortletURL
public PortletURL getControlPanelPortletURL(javax.servlet.http.HttpServletRequest httpServletRequest, String portletId, String lifecycle) - Specified by:
getControlPanelPortletURLin interfacecom.liferay.portal.kernel.util.Portal
-
getControlPanelPortletURL
public PortletURL getControlPanelPortletURL(PortletRequest portletRequest, com.liferay.portal.kernel.model.Group group, String portletId, long refererGroupId, long refererPlid, String lifecycle) - Specified by:
getControlPanelPortletURLin interfacecom.liferay.portal.kernel.util.Portal
-
getControlPanelPortletURL
public PortletURL getControlPanelPortletURL(PortletRequest portletRequest, String portletId, String lifecycle) - Specified by:
getControlPanelPortletURLin interfacecom.liferay.portal.kernel.util.Portal
-
getCreateAccountURL
public String getCreateAccountURL(javax.servlet.http.HttpServletRequest httpServletRequest, com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay) throws Exception - Specified by:
getCreateAccountURLin interfacecom.liferay.portal.kernel.util.Portal- Throws:
Exception
-
getCurrentAndAncestorSiteGroupIds
public long[] getCurrentAndAncestorSiteGroupIds(long groupId) - Specified by:
getCurrentAndAncestorSiteGroupIdsin interfacecom.liferay.portal.kernel.util.Portal
-
getCurrentAndAncestorSiteGroupIds
public long[] getCurrentAndAncestorSiteGroupIds(long groupId, boolean checkContentSharingWithChildrenEnabled) - Specified by:
getCurrentAndAncestorSiteGroupIdsin interfacecom.liferay.portal.kernel.util.Portal
-
getCurrentAndAncestorSiteGroupIds
public long[] getCurrentAndAncestorSiteGroupIds(long[] groupIds) - Specified by:
getCurrentAndAncestorSiteGroupIdsin interfacecom.liferay.portal.kernel.util.Portal
-
getCurrentAndAncestorSiteGroupIds
public long[] getCurrentAndAncestorSiteGroupIds(long[] groupIds, boolean checkContentSharingWithChildrenEnabled) - Specified by:
getCurrentAndAncestorSiteGroupIdsin interfacecom.liferay.portal.kernel.util.Portal
-
getCurrentAndAncestorSiteGroups
public List<com.liferay.portal.kernel.model.Group> getCurrentAndAncestorSiteGroups(long groupId, boolean checkContentSharingWithChildrenEnabled) - Specified by:
getCurrentAndAncestorSiteGroupsin interfacecom.liferay.portal.kernel.util.Portal
-
getCurrentAndAncestorSiteGroups
public List<com.liferay.portal.kernel.model.Group> getCurrentAndAncestorSiteGroups(long[] groupIds, boolean checkContentSharingWithChildrenEnabled) - Specified by:
getCurrentAndAncestorSiteGroupsin interfacecom.liferay.portal.kernel.util.Portal
-
getCurrentCompleteURL
- Specified by:
getCurrentCompleteURLin interfacecom.liferay.portal.kernel.util.Portal
-
getCurrentURL
- Specified by:
getCurrentURLin interfacecom.liferay.portal.kernel.util.Portal
-
getCurrentURL
- Specified by:
getCurrentURLin interfacecom.liferay.portal.kernel.util.Portal
-
getCustomSQLFunctionIsNotNull
- Specified by:
getCustomSQLFunctionIsNotNullin interfacecom.liferay.portal.kernel.util.Portal
-
getCustomSQLFunctionIsNull
- Specified by:
getCustomSQLFunctionIsNullin interfacecom.liferay.portal.kernel.util.Portal
-
getDate
- Specified by:
getDatein interfacecom.liferay.portal.kernel.util.Portal
-
getDate
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 - Specified by:
getDatein interfacecom.liferay.portal.kernel.util.Portal- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getDate
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 - Specified by:
getDatein interfacecom.liferay.portal.kernel.util.Portal- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getDate
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 - Specified by:
getDatein interfacecom.liferay.portal.kernel.util.Portal- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getDate
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 - Specified by:
getDatein interfacecom.liferay.portal.kernel.util.Portal- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getDefaultCompanyId
public long getDefaultCompanyId()- Specified by:
getDefaultCompanyIdin interfacecom.liferay.portal.kernel.util.Portal
-
getEmailFromAddress
public String getEmailFromAddress(PortletPreferences portletPreferences, long companyId, String defaultValue) - Specified by:
getEmailFromAddressin interfacecom.liferay.portal.kernel.util.Portal
-
getEmailFromName
public String getEmailFromName(PortletPreferences portletPreferences, long companyId, String defaultValue) - Specified by:
getEmailFromNamein interfacecom.liferay.portal.kernel.util.Portal
-
getForwardedHost
- Specified by:
getForwardedHostin interfacecom.liferay.portal.kernel.util.Portal
-
getForwardedPort
public int getForwardedPort(javax.servlet.http.HttpServletRequest httpServletRequest) - Specified by:
getForwardedPortin interfacecom.liferay.portal.kernel.util.Portal
-
getFullName
- Specified by:
getFullNamein interfacecom.liferay.portal.kernel.util.Portal
-
getGoogleGadgetURL
public String getGoogleGadgetURL(com.liferay.portal.kernel.model.Portlet portlet, com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getGoogleGadgetURLin interfacecom.liferay.portal.kernel.util.Portal- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getGroupFriendlyURL
public 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 - Specified by:
getGroupFriendlyURLin interfacecom.liferay.portal.kernel.util.Portal- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getGroupFriendlyURL
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 - Specified by:
getGroupFriendlyURLin interfacecom.liferay.portal.kernel.util.Portal- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getGroupFriendlyURLIndex
- Specified by:
getGroupFriendlyURLIndexin interfacecom.liferay.portal.kernel.util.Portal
-
getHomeURL
public String getHomeURL(javax.servlet.http.HttpServletRequest httpServletRequest) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getHomeURLin interfacecom.liferay.portal.kernel.util.Portal- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getHost
- Specified by:
getHostin interfacecom.liferay.portal.kernel.util.Portal
-
getHost
- Specified by:
getHostin interfacecom.liferay.portal.kernel.util.Portal
-
getHttpServletRequest
- Specified by:
getHttpServletRequestin interfacecom.liferay.portal.kernel.util.Portal
-
getHttpServletResponse
public javax.servlet.http.HttpServletResponse getHttpServletResponse(PortletResponse portletResponse) - Specified by:
getHttpServletResponsein interfacecom.liferay.portal.kernel.util.Portal
-
getI18nPathLanguageId
- Specified by:
getI18nPathLanguageIdin interfacecom.liferay.portal.kernel.util.Portal
-
getJsSafePortletId
- Specified by:
getJsSafePortletIdin interfacecom.liferay.portal.kernel.util.Portal
-
getLayoutActualURL
- Specified by:
getLayoutActualURLin interfacecom.liferay.portal.kernel.util.Portal
-
getLayoutActualURL
- Specified by:
getLayoutActualURLin interfacecom.liferay.portal.kernel.util.Portal
-
getLayoutActualURL
public String getLayoutActualURL(long groupId, boolean privateLayout, String mainPath, String friendlyURL, Map<String, String[]> params, Map<String, throws com.liferay.portal.kernel.exception.PortalExceptionObject> requestContext) - Specified by:
getLayoutActualURLin interfacecom.liferay.portal.kernel.util.Portal- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getLayoutFriendlyURL
public String getLayoutFriendlyURL(com.liferay.portal.kernel.model.Layout layout, com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getLayoutFriendlyURLin interfacecom.liferay.portal.kernel.util.Portal- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getLayoutFriendlyURL
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 - Specified by:
getLayoutFriendlyURLin interfacecom.liferay.portal.kernel.util.Portal- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getLayoutFriendlyURL
public String getLayoutFriendlyURL(com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getLayoutFriendlyURLin interfacecom.liferay.portal.kernel.util.Portal- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getLayoutFriendlyURLSeparatorComposite
public com.liferay.portal.kernel.portlet.LayoutFriendlyURLSeparatorComposite getLayoutFriendlyURLSeparatorComposite(long groupId, boolean privateLayout, String friendlyURL, Map<String, String[]> params, Map<String, throws com.liferay.portal.kernel.exception.PortalExceptionObject> requestContext) - Specified by:
getLayoutFriendlyURLSeparatorCompositein interfacecom.liferay.portal.kernel.util.Portal- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getLayoutFullURL
public String getLayoutFullURL(com.liferay.portal.kernel.model.Layout layout, com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getLayoutFullURLin interfacecom.liferay.portal.kernel.util.Portal- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getLayoutFullURL
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 - Specified by:
getLayoutFullURLin interfacecom.liferay.portal.kernel.util.Portal- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getLayoutFullURL
public String getLayoutFullURL(long groupId, String portletId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getLayoutFullURLin interfacecom.liferay.portal.kernel.util.Portal- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getLayoutFullURL
public String getLayoutFullURL(long groupId, String portletId, boolean secure) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getLayoutFullURLin interfacecom.liferay.portal.kernel.util.Portal- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getLayoutFullURL
public String getLayoutFullURL(com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getLayoutFullURLin interfacecom.liferay.portal.kernel.util.Portal- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getLayoutRelativeURL
public String getLayoutRelativeURL(com.liferay.portal.kernel.model.Layout layout, com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getLayoutRelativeURLin interfacecom.liferay.portal.kernel.util.Portal- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getLayoutRelativeURL
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 - Specified by:
getLayoutRelativeURLin interfacecom.liferay.portal.kernel.util.Portal- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getLayoutSetDisplayURL
public String getLayoutSetDisplayURL(com.liferay.portal.kernel.model.LayoutSet layoutSet, boolean secureConnection) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getLayoutSetDisplayURLin interfacecom.liferay.portal.kernel.util.Portal- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getLayoutSetFriendlyURL
public String getLayoutSetFriendlyURL(com.liferay.portal.kernel.model.LayoutSet layoutSet, com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getLayoutSetFriendlyURLin interfacecom.liferay.portal.kernel.util.Portal- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getLayoutTarget
- Specified by:
getLayoutTargetin interfacecom.liferay.portal.kernel.util.Portal
-
getLayoutURL
public String getLayoutURL(com.liferay.portal.kernel.model.Layout layout, com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getLayoutURLin interfacecom.liferay.portal.kernel.util.Portal- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getLayoutURL
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 - Specified by:
getLayoutURLin interfacecom.liferay.portal.kernel.util.Portal- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getLayoutURL
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 - Specified by:
getLayoutURLin interfacecom.liferay.portal.kernel.util.Portal- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getLayoutURL
public String getLayoutURL(com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getLayoutURLin interfacecom.liferay.portal.kernel.util.Portal- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getLiferayPortletRequest
public com.liferay.portal.kernel.portlet.LiferayPortletRequest getLiferayPortletRequest(PortletRequest portletRequest) - Specified by:
getLiferayPortletRequestin interfacecom.liferay.portal.kernel.util.Portal
-
getLiferayPortletResponse
public com.liferay.portal.kernel.portlet.LiferayPortletResponse getLiferayPortletResponse(PortletResponse portletResponse) - Specified by:
getLiferayPortletResponsein interfacecom.liferay.portal.kernel.util.Portal
-
getLocale
- Specified by:
getLocalein interfacecom.liferay.portal.kernel.util.Portal
-
getLocale
public Locale getLocale(javax.servlet.http.HttpServletRequest httpServletRequest, javax.servlet.http.HttpServletResponse httpServletResponse, boolean initialize) - Specified by:
getLocalein interfacecom.liferay.portal.kernel.util.Portal
-
getLocale
- Specified by:
getLocalein interfacecom.liferay.portal.kernel.util.Portal
-
getMailId
- Specified by:
getMailIdin interfacecom.liferay.portal.kernel.util.Portal
-
getNetvibesURL
public String getNetvibesURL(com.liferay.portal.kernel.model.Portlet portlet, com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getNetvibesURLin interfacecom.liferay.portal.kernel.util.Portal- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getNewPortletTitle
- Specified by:
getNewPortletTitlein interfacecom.liferay.portal.kernel.util.Portal
-
getOriginalServletRequest
public javax.servlet.http.HttpServletRequest getOriginalServletRequest(javax.servlet.http.HttpServletRequest httpServletRequest) - Specified by:
getOriginalServletRequestin interfacecom.liferay.portal.kernel.util.Portal
-
getPathContext
- Specified by:
getPathContextin interfacecom.liferay.portal.kernel.util.Portal
-
getPathContext
- Specified by:
getPathContextin interfacecom.liferay.portal.kernel.util.Portal
-
getPathContext
- Specified by:
getPathContextin interfacecom.liferay.portal.kernel.util.Portal
-
getPathContext
- Specified by:
getPathContextin interfacecom.liferay.portal.kernel.util.Portal
-
getPathFriendlyURLPrivateGroup
- Specified by:
getPathFriendlyURLPrivateGroupin interfacecom.liferay.portal.kernel.util.Portal
-
getPathFriendlyURLPrivateUser
- Specified by:
getPathFriendlyURLPrivateUserin interfacecom.liferay.portal.kernel.util.Portal
-
getPathFriendlyURLPublic
- Specified by:
getPathFriendlyURLPublicin interfacecom.liferay.portal.kernel.util.Portal
-
getPathImage
- Specified by:
getPathImagein interfacecom.liferay.portal.kernel.util.Portal
-
getPathMain
- Specified by:
getPathMainin interfacecom.liferay.portal.kernel.util.Portal
-
getPathModule
- Specified by:
getPathModulein interfacecom.liferay.portal.kernel.util.Portal
-
getPathProxy
- Specified by:
getPathProxyin interfacecom.liferay.portal.kernel.util.Portal
-
getPlidFromFriendlyURL
- Specified by:
getPlidFromFriendlyURLin interfacecom.liferay.portal.kernel.util.Portal
-
getPlidFromPortletId
- Specified by:
getPlidFromPortletIdin interfacecom.liferay.portal.kernel.util.Portal
-
getPlidFromPortletId
- Specified by:
getPlidFromPortletIdin interfacecom.liferay.portal.kernel.util.Portal
-
getPortalLocalPort
public int getPortalLocalPort(boolean secure) - Specified by:
getPortalLocalPortin interfacecom.liferay.portal.kernel.util.Portal
-
getPortalProperties
- Specified by:
getPortalPropertiesin interfacecom.liferay.portal.kernel.util.Portal
-
getPortalServerPort
public int getPortalServerPort(boolean secure) - Specified by:
getPortalServerPortin interfacecom.liferay.portal.kernel.util.Portal
-
getPortalURL
- Specified by:
getPortalURLin interfacecom.liferay.portal.kernel.util.Portal
-
getPortalURL
public String getPortalURL(javax.servlet.http.HttpServletRequest httpServletRequest, boolean secure) - Specified by:
getPortalURLin interfacecom.liferay.portal.kernel.util.Portal
-
getPortalURL
public String getPortalURL(com.liferay.portal.kernel.model.Layout layout, com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getPortalURLin interfacecom.liferay.portal.kernel.util.Portal- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getPortalURL
public String getPortalURL(com.liferay.portal.kernel.model.LayoutSet layoutSet, com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay) - Specified by:
getPortalURLin interfacecom.liferay.portal.kernel.util.Portal
-
getPortalURL
- Specified by:
getPortalURLin interfacecom.liferay.portal.kernel.util.Portal
-
getPortalURL
- Specified by:
getPortalURLin interfacecom.liferay.portal.kernel.util.Portal
-
getPortalURL
- Specified by:
getPortalURLin interfacecom.liferay.portal.kernel.util.Portal
-
getPortalURL
public String getPortalURL(com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getPortalURLin interfacecom.liferay.portal.kernel.util.Portal- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getPortletConfig
public PortletConfig getPortletConfig(long companyId, String portletId, javax.servlet.ServletContext servletContext) throws PortletException - Specified by:
getPortletConfigin interfacecom.liferay.portal.kernel.util.Portal- Throws:
PortletException
-
getPortletDescription
public String getPortletDescription(com.liferay.portal.kernel.model.Portlet portlet, javax.servlet.ServletContext servletContext, Locale locale) - Specified by:
getPortletDescriptionin interfacecom.liferay.portal.kernel.util.Portal
-
getPortletDescription
public String getPortletDescription(com.liferay.portal.kernel.model.Portlet portlet, com.liferay.portal.kernel.model.User user) - Specified by:
getPortletDescriptionin interfacecom.liferay.portal.kernel.util.Portal
-
getPortletDescription
- Specified by:
getPortletDescriptionin interfacecom.liferay.portal.kernel.util.Portal
-
getPortletDescription
- Specified by:
getPortletDescriptionin interfacecom.liferay.portal.kernel.util.Portal
-
getPortletDescription
- Specified by:
getPortletDescriptionin interfacecom.liferay.portal.kernel.util.Portal
-
getPortletFriendlyURLMapperLayoutQueryStringComposite
public com.liferay.portal.kernel.model.LayoutQueryStringComposite getPortletFriendlyURLMapperLayoutQueryStringComposite(long groupId, boolean privateLayout, String url, Map<String, String[]> params, Map<String, throws com.liferay.portal.kernel.exception.PortalExceptionObject> requestContext) - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getPortletFriendlyURLMapperLayoutQueryStringComposite
public com.liferay.portal.kernel.model.LayoutQueryStringComposite getPortletFriendlyURLMapperLayoutQueryStringComposite(String url, Map<String, String[]> params, Map<String, Object> requestContext) - Specified by:
getPortletFriendlyURLMapperLayoutQueryStringCompositein interfacecom.liferay.portal.kernel.util.Portal
-
getPortletId
- Specified by:
getPortletIdin interfacecom.liferay.portal.kernel.util.Portal
-
getPortletId
- Specified by:
getPortletIdin interfacecom.liferay.portal.kernel.util.Portal
-
getPortletLongTitle
public String getPortletLongTitle(com.liferay.portal.kernel.model.Portlet portlet, javax.servlet.ServletContext servletContext, Locale locale) - Specified by:
getPortletLongTitlein interfacecom.liferay.portal.kernel.util.Portal
-
getPortletLongTitle
- Specified by:
getPortletLongTitlein interfacecom.liferay.portal.kernel.util.Portal
-
getPortletNamespace
- Specified by:
getPortletNamespacein interfacecom.liferay.portal.kernel.util.Portal
-
getPortletTitle
- Specified by:
getPortletTitlein interfacecom.liferay.portal.kernel.util.Portal
-
getPortletTitle
public String getPortletTitle(com.liferay.portal.kernel.model.Portlet portlet, javax.servlet.ServletContext servletContext, Locale locale) - Specified by:
getPortletTitlein interfacecom.liferay.portal.kernel.util.Portal
-
getPortletTitle
- Specified by:
getPortletTitlein interfacecom.liferay.portal.kernel.util.Portal
-
getPortletTitle
public String getPortletTitle(com.liferay.portal.kernel.model.Portlet portlet, com.liferay.portal.kernel.model.User user) - Specified by:
getPortletTitlein interfacecom.liferay.portal.kernel.util.Portal
-
getPortletTitle
- Specified by:
getPortletTitlein interfacecom.liferay.portal.kernel.util.Portal
-
getPortletTitle
- Specified by:
getPortletTitlein interfacecom.liferay.portal.kernel.util.Portal
-
getPortletTitle
- Specified by:
getPortletTitlein interfacecom.liferay.portal.kernel.util.Portal
-
getPortletTitle
- Specified by:
getPortletTitlein interfacecom.liferay.portal.kernel.util.Portal
-
getPortletTitle
- Specified by:
getPortletTitlein interfacecom.liferay.portal.kernel.util.Portal
-
getPortletTitle
- Specified by:
getPortletTitlein interfacecom.liferay.portal.kernel.util.Portal
-
getPreferences
- Specified by:
getPreferencesin interfacecom.liferay.portal.kernel.util.Portal
-
getPreferencesValidator
public PreferencesValidator getPreferencesValidator(com.liferay.portal.kernel.model.Portlet portlet) - Specified by:
getPreferencesValidatorin interfacecom.liferay.portal.kernel.util.Portal
-
getRelativeHomeURL
public String getRelativeHomeURL(javax.servlet.http.HttpServletRequest httpServletRequest) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getRelativeHomeURLin interfacecom.liferay.portal.kernel.util.Portal- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getResourceBundle
- Specified by:
getResourceBundlein interfacecom.liferay.portal.kernel.util.Portal
-
getScopeGroupId
public long getScopeGroupId(javax.servlet.http.HttpServletRequest httpServletRequest) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getScopeGroupIdin interfacecom.liferay.portal.kernel.util.Portal- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getScopeGroupId
public long getScopeGroupId(javax.servlet.http.HttpServletRequest httpServletRequest, String portletId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getScopeGroupIdin interfacecom.liferay.portal.kernel.util.Portal- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getScopeGroupId
public long getScopeGroupId(javax.servlet.http.HttpServletRequest httpServletRequest, String portletId, boolean checkStagingGroup) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getScopeGroupIdin interfacecom.liferay.portal.kernel.util.Portal- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getScopeGroupId
public long getScopeGroupId(com.liferay.portal.kernel.model.Layout layout) - Specified by:
getScopeGroupIdin interfacecom.liferay.portal.kernel.util.Portal
-
getScopeGroupId
- Specified by:
getScopeGroupIdin interfacecom.liferay.portal.kernel.util.Portal
-
getScopeGroupId
public long getScopeGroupId(long plid) - Specified by:
getScopeGroupIdin interfacecom.liferay.portal.kernel.util.Portal
-
getScopeGroupId
public long getScopeGroupId(PortletRequest portletRequest) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getScopeGroupIdin interfacecom.liferay.portal.kernel.util.Portal- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getSelectedUser
public com.liferay.portal.kernel.model.User getSelectedUser(javax.servlet.http.HttpServletRequest httpServletRequest) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getSelectedUserin interfacecom.liferay.portal.kernel.util.Portal- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getSelectedUser
public com.liferay.portal.kernel.model.User getSelectedUser(javax.servlet.http.HttpServletRequest httpServletRequest, boolean checkPermission) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getSelectedUserin interfacecom.liferay.portal.kernel.util.Portal- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getSelectedUser
public com.liferay.portal.kernel.model.User getSelectedUser(PortletRequest portletRequest) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getSelectedUserin interfacecom.liferay.portal.kernel.util.Portal- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getSelectedUser
public com.liferay.portal.kernel.model.User getSelectedUser(PortletRequest portletRequest, boolean checkPermission) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getSelectedUserin interfacecom.liferay.portal.kernel.util.Portal- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getServletContextName
- Specified by:
getServletContextNamein interfacecom.liferay.portal.kernel.util.Portal
-
getSiteAdminURL
public String getSiteAdminURL(String portalURL, com.liferay.portal.kernel.model.Group group, String ppid, Map<String, String[]> params) throws com.liferay.portal.kernel.exception.PortalException- Specified by:
getSiteAdminURLin interfacecom.liferay.portal.kernel.util.Portal- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getSiteAdminURL
public String getSiteAdminURL(com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay, String ppid, Map<String, String[]> params) throws com.liferay.portal.kernel.exception.PortalException- Specified by:
getSiteAdminURLin interfacecom.liferay.portal.kernel.util.Portal- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getSiteDefaultLocale
public Locale getSiteDefaultLocale(com.liferay.portal.kernel.model.Group group) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getSiteDefaultLocalein interfacecom.liferay.portal.kernel.util.Portal- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getSiteDefaultLocale
public Locale getSiteDefaultLocale(long groupId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getSiteDefaultLocalein interfacecom.liferay.portal.kernel.util.Portal- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getSiteGroupId
public long getSiteGroupId(long groupId) - Specified by:
getSiteGroupIdin interfacecom.liferay.portal.kernel.util.Portal
-
getSiteLoginURL
public String getSiteLoginURL(com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getSiteLoginURLin interfacecom.liferay.portal.kernel.util.Portal- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getStaticResourceURL
public String getStaticResourceURL(javax.servlet.http.HttpServletRequest httpServletRequest, String uri) - Specified by:
getStaticResourceURLin interfacecom.liferay.portal.kernel.util.Portal
-
getStaticResourceURL
public String getStaticResourceURL(javax.servlet.http.HttpServletRequest httpServletRequest, String uri, long timestamp) - Specified by:
getStaticResourceURLin interfacecom.liferay.portal.kernel.util.Portal
-
getStaticResourceURL
public String getStaticResourceURL(javax.servlet.http.HttpServletRequest httpServletRequest, String uri, String queryString) - Specified by:
getStaticResourceURLin interfacecom.liferay.portal.kernel.util.Portal
-
getStaticResourceURL
public String getStaticResourceURL(javax.servlet.http.HttpServletRequest httpServletRequest, String uri, String queryString, long timestamp) - Specified by:
getStaticResourceURLin interfacecom.liferay.portal.kernel.util.Portal
-
getStrutsAction
- Specified by:
getStrutsActionin interfacecom.liferay.portal.kernel.util.Portal
-
getSystemGroups
- Specified by:
getSystemGroupsin interfacecom.liferay.portal.kernel.util.Portal
-
getSystemOrganizationRoles
- Specified by:
getSystemOrganizationRolesin interfacecom.liferay.portal.kernel.util.Portal
-
getSystemRoles
- Specified by:
getSystemRolesin interfacecom.liferay.portal.kernel.util.Portal
-
getSystemSiteRoles
- Specified by:
getSystemSiteRolesin interfacecom.liferay.portal.kernel.util.Portal
-
getUniqueElementId
public String getUniqueElementId(javax.servlet.http.HttpServletRequest httpServletRequest, String namespace, String elementId) - Specified by:
getUniqueElementIdin interfacecom.liferay.portal.kernel.util.Portal
-
getUniqueElementId
- Specified by:
getUniqueElementIdin interfacecom.liferay.portal.kernel.util.Portal
-
getUploadPortletRequest
public com.liferay.portal.kernel.upload.UploadPortletRequest getUploadPortletRequest(PortletRequest portletRequest) - Specified by:
getUploadPortletRequestin interfacecom.liferay.portal.kernel.util.Portal
-
getUploadServletRequest
public com.liferay.portal.kernel.upload.UploadServletRequest getUploadServletRequest(javax.servlet.http.HttpServletRequest httpServletRequest) - Specified by:
getUploadServletRequestin interfacecom.liferay.portal.kernel.util.Portal
-
getUploadServletRequest
public com.liferay.portal.kernel.upload.UploadServletRequest getUploadServletRequest(javax.servlet.http.HttpServletRequest httpServletRequest, int fileSizeThreshold, String location) - Specified by:
getUploadServletRequestin interfacecom.liferay.portal.kernel.util.Portal
-
getUptime
- Specified by:
getUptimein interfacecom.liferay.portal.kernel.util.Portal
-
getURLWithSessionId
- Specified by:
getURLWithSessionIdin interfacecom.liferay.portal.kernel.util.Portal
-
getUser
public com.liferay.portal.kernel.model.User getUser(javax.servlet.http.HttpServletRequest httpServletRequest) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getUserin interfacecom.liferay.portal.kernel.util.Portal- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getUser
public com.liferay.portal.kernel.model.User getUser(PortletRequest portletRequest) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getUserin interfacecom.liferay.portal.kernel.util.Portal- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getUserEmailAddress
- Specified by:
getUserEmailAddressin interfacecom.liferay.portal.kernel.util.Portal
-
getUserId
public long getUserId(javax.servlet.http.HttpServletRequest httpServletRequest) - Specified by:
getUserIdin interfacecom.liferay.portal.kernel.util.Portal
-
getUserId
- Specified by:
getUserIdin interfacecom.liferay.portal.kernel.util.Portal
-
getUserName
- Specified by:
getUserNamein interfacecom.liferay.portal.kernel.util.Portal
-
getUserName
- Specified by:
getUserNamein interfacecom.liferay.portal.kernel.util.Portal
-
getUserName
public String getUserName(long userId, String defaultUserName, javax.servlet.http.HttpServletRequest httpServletRequest) - Specified by:
getUserNamein interfacecom.liferay.portal.kernel.util.Portal
-
getUserName
- Specified by:
getUserNamein interfacecom.liferay.portal.kernel.util.Portal
-
getUserName
public String getUserName(long userId, String defaultUserName, String userAttribute, javax.servlet.http.HttpServletRequest httpServletRequest) - Specified by:
getUserNamein interfacecom.liferay.portal.kernel.util.Portal
-
getUserPassword
- Specified by:
getUserPasswordin interfacecom.liferay.portal.kernel.util.Portal
-
getUserPassword
- Specified by:
getUserPasswordin interfacecom.liferay.portal.kernel.util.Portal
-
getUserPassword
- Specified by:
getUserPasswordin interfacecom.liferay.portal.kernel.util.Portal
-
getValidPortalDomain
- Specified by:
getValidPortalDomainin interfacecom.liferay.portal.kernel.util.Portal
-
getValidUserId
public long getValidUserId(long companyId, long userId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getValidUserIdin interfacecom.liferay.portal.kernel.util.Portal- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getVirtualHostnames
public TreeMap<String,String> getVirtualHostnames(com.liferay.portal.kernel.model.LayoutSet layoutSet) - Specified by:
getVirtualHostnamesin interfacecom.liferay.portal.kernel.util.Portal
-
getWidgetURL
public String getWidgetURL(com.liferay.portal.kernel.model.Portlet portlet, com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getWidgetURLin interfacecom.liferay.portal.kernel.util.Portal- Throws:
com.liferay.portal.kernel.exception.PortalException
-
initUser
public com.liferay.portal.kernel.model.User initUser(javax.servlet.http.HttpServletRequest httpServletRequest) throws Exception - Specified by:
initUserin interfacecom.liferay.portal.kernel.util.Portal- Throws:
Exception
-
isCDNDynamicResourcesEnabled
public boolean isCDNDynamicResourcesEnabled(javax.servlet.http.HttpServletRequest httpServletRequest) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
isCDNDynamicResourcesEnabledin interfacecom.liferay.portal.kernel.util.Portal- Throws:
com.liferay.portal.kernel.exception.PortalException
-
isCDNDynamicResourcesEnabled
public boolean isCDNDynamicResourcesEnabled(long companyId) - Specified by:
isCDNDynamicResourcesEnabledin interfacecom.liferay.portal.kernel.util.Portal
-
isCompanyAdmin
- Specified by:
isCompanyAdminin interfacecom.liferay.portal.kernel.util.Portal- Throws:
Exception
-
isCustomPortletMode
- Specified by:
isCustomPortletModein interfacecom.liferay.portal.kernel.util.Portal
-
isForwardedSecure
public boolean isForwardedSecure(javax.servlet.http.HttpServletRequest httpServletRequest) - Specified by:
isForwardedSecurein interfacecom.liferay.portal.kernel.util.Portal
-
isGroupAdmin
public boolean isGroupAdmin(com.liferay.portal.kernel.model.User user, long groupId) throws Exception - Specified by:
isGroupAdminin interfacecom.liferay.portal.kernel.util.Portal- Throws:
Exception
-
isGroupControlPanelPath
- Specified by:
isGroupControlPanelPathin interfacecom.liferay.portal.kernel.util.Portal
-
isGroupFriendlyURL
public boolean isGroupFriendlyURL(String fullURL, String groupFriendlyURL, String layoutFriendlyURL) - Specified by:
isGroupFriendlyURLin interfacecom.liferay.portal.kernel.util.Portal
-
isGroupOwner
public boolean isGroupOwner(com.liferay.portal.kernel.model.User user, long groupId) throws Exception - Specified by:
isGroupOwnerin interfacecom.liferay.portal.kernel.util.Portal- Throws:
Exception
-
isLayoutDescendant
public boolean isLayoutDescendant(com.liferay.portal.kernel.model.Layout layout, long layoutId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
isLayoutDescendantin interfacecom.liferay.portal.kernel.util.Portal- Throws:
com.liferay.portal.kernel.exception.PortalException
-
isLayoutSitemapable
public boolean isLayoutSitemapable(com.liferay.portal.kernel.model.Layout layout) - Specified by:
isLayoutSitemapablein interfacecom.liferay.portal.kernel.util.Portal
-
isLoginRedirectRequired
public boolean isLoginRedirectRequired(javax.servlet.http.HttpServletRequest httpServletRequest) - Specified by:
isLoginRedirectRequiredin interfacecom.liferay.portal.kernel.util.Portal
-
isMultipartRequest
public boolean isMultipartRequest(javax.servlet.http.HttpServletRequest httpServletRequest) - Specified by:
isMultipartRequestin interfacecom.liferay.portal.kernel.util.Portal
-
isOmniadmin
public boolean isOmniadmin(long userId) - Specified by:
isOmniadminin interfacecom.liferay.portal.kernel.util.Portal
-
isOmniadmin
public boolean isOmniadmin(com.liferay.portal.kernel.model.User user) - Specified by:
isOmniadminin interfacecom.liferay.portal.kernel.util.Portal
-
isReservedParameter
- Specified by:
isReservedParameterin interfacecom.liferay.portal.kernel.util.Portal
-
isRightToLeft
public boolean isRightToLeft(javax.servlet.http.HttpServletRequest httpServletRequest) - Specified by:
isRightToLeftin interfacecom.liferay.portal.kernel.util.Portal
-
isRSSFeedsEnabled
public boolean isRSSFeedsEnabled()- Specified by:
isRSSFeedsEnabledin interfacecom.liferay.portal.kernel.util.Portal
-
isSecure
public boolean isSecure(javax.servlet.http.HttpServletRequest httpServletRequest) - Specified by:
isSecurein interfacecom.liferay.portal.kernel.util.Portal
-
isSkipPortletContentRendering
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) - Specified by:
isSkipPortletContentRenderingin interfacecom.liferay.portal.kernel.util.Portal
-
isSystemGroup
- Specified by:
isSystemGroupin interfacecom.liferay.portal.kernel.util.Portal
-
isSystemRole
- Specified by:
isSystemRolein interfacecom.liferay.portal.kernel.util.Portal
-
isValidPortalDomain
- Specified by:
isValidPortalDomainin interfacecom.liferay.portal.kernel.util.Portal
-
isValidResourceId
- Specified by:
isValidResourceIdin interfacecom.liferay.portal.kernel.util.Portal
-
resetCDNHosts
public void resetCDNHosts()- Specified by:
resetCDNHostsin interfacecom.liferay.portal.kernel.util.Portal
-
sendError
public void sendError(Exception exception, ActionRequest actionRequest, ActionResponse actionResponse) throws IOException - Specified by:
sendErrorin interfacecom.liferay.portal.kernel.util.Portal- Throws:
IOException
-
sendError
public void sendError(Exception exception, javax.servlet.http.HttpServletRequest httpServletRequest, javax.servlet.http.HttpServletResponse httpServletResponse) throws IOException, javax.servlet.ServletException - Specified by:
sendErrorin interfacecom.liferay.portal.kernel.util.Portal- Throws:
IOExceptionjavax.servlet.ServletException
-
sendError
public void sendError(int status, Exception exception, ActionRequest actionRequest, ActionResponse actionResponse) throws IOException - Specified by:
sendErrorin interfacecom.liferay.portal.kernel.util.Portal- Throws:
IOException
-
sendError
public void sendError(int status, Exception exception, javax.servlet.http.HttpServletRequest httpServletRequest, javax.servlet.http.HttpServletResponse httpServletResponse) throws IOException, javax.servlet.ServletException - Specified by:
sendErrorin interfacecom.liferay.portal.kernel.util.Portal- Throws:
IOExceptionjavax.servlet.ServletException
-
sendRSSFeedsDisabledError
public void sendRSSFeedsDisabledError(javax.servlet.http.HttpServletRequest httpServletRequest, javax.servlet.http.HttpServletResponse httpServletResponse) throws IOException, javax.servlet.ServletException - Specified by:
sendRSSFeedsDisabledErrorin interfacecom.liferay.portal.kernel.util.Portal- Throws:
IOExceptionjavax.servlet.ServletException
-
sendRSSFeedsDisabledError
public void sendRSSFeedsDisabledError(PortletRequest portletRequest, PortletResponse portletResponse) throws IOException, javax.servlet.ServletException - Specified by:
sendRSSFeedsDisabledErrorin interfacecom.liferay.portal.kernel.util.Portal- Throws:
IOExceptionjavax.servlet.ServletException
-
setPageDescription
public void setPageDescription(String description, javax.servlet.http.HttpServletRequest httpServletRequest) - Specified by:
setPageDescriptionin interfacecom.liferay.portal.kernel.util.Portal
-
setPageKeywords
public void setPageKeywords(String keywords, javax.servlet.http.HttpServletRequest httpServletRequest) - Specified by:
setPageKeywordsin interfacecom.liferay.portal.kernel.util.Portal
-
setPageSubtitle
public void setPageSubtitle(String subtitle, javax.servlet.http.HttpServletRequest httpServletRequest) - Specified by:
setPageSubtitlein interfacecom.liferay.portal.kernel.util.Portal
-
setPageTitle
- Specified by:
setPageTitlein interfacecom.liferay.portal.kernel.util.Portal
-
setPortalInetSocketAddresses
public void setPortalInetSocketAddresses(javax.servlet.http.HttpServletRequest httpServletRequest) - Specified by:
setPortalInetSocketAddressesin interfacecom.liferay.portal.kernel.util.Portal
-
stripURLAnchor
- Specified by:
stripURLAnchorin interfacecom.liferay.portal.kernel.util.Portal
-
transformCustomSQL
- Specified by:
transformCustomSQLin interfacecom.liferay.portal.kernel.util.Portal
-
transformSQL
- Specified by:
transformSQLin interfacecom.liferay.portal.kernel.util.Portal
-
updateImageId
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 - Specified by:
updateImageIdin interfacecom.liferay.portal.kernel.util.Portal- Throws:
com.liferay.portal.kernel.exception.PortalException
-
updatePortletMode
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 httpServletRequest) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
updatePortletModein interfacecom.liferay.portal.kernel.util.Portal- Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateRedirect
- Specified by:
updateRedirectin interfacecom.liferay.portal.kernel.util.Portal
-
updateWindowState
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 httpServletRequest) - Specified by:
updateWindowStatein interfacecom.liferay.portal.kernel.util.Portal
-
addRootModelResource
protected void addRootModelResource(long companyId, long groupId, String name) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
doGetPlidFromPortletId
-
filterControlPanelPortlets
-
getAncestorSiteGroups
protected Set<com.liferay.portal.kernel.model.Group> getAncestorSiteGroups(long groupId, boolean checkContentSharingWithChildrenEnabled) -
getAvailableLocale
-
getCanonicalDomain
-
getContextPath
-
getControlPanelDisplayGroup
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) -
getControlPanelDisplayGroup
protected com.liferay.portal.kernel.model.Group getControlPanelDisplayGroup(long companyId, long scopeGroupId, long doAsGroupId, String portletId) -
getCurrentSiteGroup
protected com.liferay.portal.kernel.model.Group getCurrentSiteGroup(long groupId) -
getDoAsUserId
protected long getDoAsUserId(javax.servlet.http.HttpServletRequest httpServletRequest, String doAsUserIdString, boolean alwaysAllowDoAsUser) throws Exception - Throws:
Exception
-
getGroupFriendlyURL
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 - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getGroupPermissions
-
getGuestPermissions
-
getPlidFromPortletId
-
getPortletParam
-
getServletURL
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 - Throws:
com.liferay.portal.kernel.exception.PortalException
-
isAlwaysAllowDoAsUser
protected boolean isAlwaysAllowDoAsUser(javax.servlet.http.HttpServletRequest httpServletRequest) throws Exception - Throws:
Exception
-
isAlwaysAllowDoAsUser
-
isUnwrapRequest
-
isValidPortalDomain
-
isValidVirtualHostname
-
notifyPortalInetSocketAddressEventListeners
protected void notifyPortalInetSocketAddressEventListeners(InetSocketAddress inetSocketAddress, boolean local, boolean secure) -
removeRedirectParameter
-
resetThemeDisplayI18n
-
setLocale
protected void setLocale(javax.servlet.http.HttpServletRequest httpServletRequest, javax.servlet.http.HttpServletResponse httpServletResponse, Locale locale) -
setThemeDisplayI18n
protected void setThemeDisplayI18n(com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay, Locale locale)
-