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 TypeMethodDescriptionvoid
addPageDescription
(String description, javax.servlet.http.HttpServletRequest httpServletRequest) void
addPageKeywords
(String keywords, javax.servlet.http.HttpServletRequest httpServletRequest) void
addPageSubtitle
(String subtitle, javax.servlet.http.HttpServletRequest httpServletRequest) void
addPageTitle
(String title, javax.servlet.http.HttpServletRequest httpServletRequest) void
addPortletBreadcrumbEntry
(javax.servlet.http.HttpServletRequest httpServletRequest, String title, String url) void
addPortletBreadcrumbEntry
(javax.servlet.http.HttpServletRequest httpServletRequest, String title, String url, Map<String, Object> data) void
addPortletBreadcrumbEntry
(javax.servlet.http.HttpServletRequest httpServletRequest, String title, String url, Map<String, Object> data, boolean portletBreadcrumbEntry) void
addPortletDefaultResource
(long companyId, com.liferay.portal.kernel.model.Layout layout, com.liferay.portal.kernel.model.Portlet portlet) void
addPortletDefaultResource
(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 void
addRootModelResource
(long companyId, long groupId, String name) void
copyRequestParameters
(ActionRequest actionRequest, ActionResponse actionResponse) protected long
doGetPlidFromPortletId
(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.LayoutQueryStringComposite
getActualLayoutQueryStringComposite
(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 Locale
getAvailableLocale
(long groupId, Locale locale) protected String
getCanonicalDomain
(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) long
getClassNameId
(Class<?> clazz) long
getClassNameId
(String value) com.liferay.portal.kernel.model.Company
getCompany
(PortletRequest portletRequest) com.liferay.portal.kernel.model.Company
getCompany
(javax.servlet.http.HttpServletRequest httpServletRequest) long
getCompanyId
(PortletRequest portletRequest) long
getCompanyId
(javax.servlet.http.HttpServletRequest httpServletRequest) long[]
protected String
getContextPath
(String contextPath) protected com.liferay.portal.kernel.model.Group
getControlPanelDisplayGroup
(long companyId, long scopeGroupId, long doAsGroupId, String portletId) 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) getControlPanelFullURL
(long scopeGroupId, String ppid, Map<String, String[]> params) long
getControlPanelPlid
(long companyId) long
getControlPanelPlid
(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.Group
getCurrentSiteGroup
(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) long
protected long
getDoAsUserId
(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) int
getForwardedPort
(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 String
getGroupFriendlyURL
(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.HttpServletRequest
getHttpServletRequest
(PortletRequest portletRequest) javax.servlet.http.HttpServletResponse
getHttpServletResponse
(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.LayoutFriendlyURLSeparatorComposite
getLayoutFriendlyURLSeparatorComposite
(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.LiferayPortletRequest
getLiferayPortletRequest
(PortletRequest portletRequest) com.liferay.portal.kernel.portlet.LiferayPortletResponse
getLiferayPortletResponse
(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.HttpServletRequest
getOriginalServletRequest
(javax.servlet.http.HttpServletRequest httpServletRequest) getPathContext
(String contextPath) getPathContext
(PortletRequest portletRequest) getPathContext
(javax.servlet.http.HttpServletRequest httpServletRequest) long
getPlidFromFriendlyURL
(long companyId, String friendlyURL) long
getPlidFromPortletId
(long groupId, boolean privateLayout, String portletId) long
getPlidFromPortletId
(long groupId, String portletId) protected long
getPlidFromPortletId
(List<com.liferay.portal.kernel.model.Layout> layouts, String portletId, long scopeGroupId) int
getPortalLocalPort
(boolean secure) int
getPortalServerPort
(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.LayoutQueryStringComposite
getPortletFriendlyURLMapperLayoutQueryStringComposite
(long groupId, boolean privateLayout, String url, Map<String, String[]> params, Map<String, Object> requestContext) com.liferay.portal.kernel.model.LayoutQueryStringComposite
getPortletFriendlyURLMapperLayoutQueryStringComposite
(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 String
getPortletParam
(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) long
getScopeGroupId
(long plid) long
getScopeGroupId
(com.liferay.portal.kernel.model.Layout layout) long
getScopeGroupId
(com.liferay.portal.kernel.model.Layout layout, String portletId) long
getScopeGroupId
(PortletRequest portletRequest) long
getScopeGroupId
(javax.servlet.http.HttpServletRequest httpServletRequest) long
getScopeGroupId
(javax.servlet.http.HttpServletRequest httpServletRequest, String portletId) long
getScopeGroupId
(javax.servlet.http.HttpServletRequest httpServletRequest, String portletId, boolean checkStagingGroup) com.liferay.portal.kernel.model.User
getSelectedUser
(PortletRequest portletRequest) com.liferay.portal.kernel.model.User
getSelectedUser
(PortletRequest portletRequest, boolean checkPermission) com.liferay.portal.kernel.model.User
getSelectedUser
(javax.servlet.http.HttpServletRequest httpServletRequest) com.liferay.portal.kernel.model.User
getSelectedUser
(javax.servlet.http.HttpServletRequest httpServletRequest, boolean checkPermission) 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) 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) long
getSiteGroupId
(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.UploadPortletRequest
getUploadPortletRequest
(PortletRequest portletRequest) com.liferay.portal.kernel.upload.UploadServletRequest
getUploadServletRequest
(javax.servlet.http.HttpServletRequest httpServletRequest) com.liferay.portal.kernel.upload.UploadServletRequest
getUploadServletRequest
(javax.servlet.http.HttpServletRequest httpServletRequest, int fileSizeThreshold, String location) getURLWithSessionId
(String url, String sessionId) com.liferay.portal.kernel.model.User
getUser
(PortletRequest portletRequest) com.liferay.portal.kernel.model.User
getUser
(javax.servlet.http.HttpServletRequest httpServletRequest) getUserEmailAddress
(long userId) long
getUserId
(PortletRequest portletRequest) long
getUserId
(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) long
getValidUserId
(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.User
initUser
(javax.servlet.http.HttpServletRequest httpServletRequest) protected boolean
isAlwaysAllowDoAsUser
(String actionName, String mvcRenderCommandName, String path, String strutsAction) protected boolean
isAlwaysAllowDoAsUser
(javax.servlet.http.HttpServletRequest httpServletRequest) boolean
isCDNDynamicResourcesEnabled
(long companyId) boolean
isCDNDynamicResourcesEnabled
(javax.servlet.http.HttpServletRequest httpServletRequest) boolean
isCompanyAdmin
(com.liferay.portal.kernel.model.User user) boolean
isCustomPortletMode
(PortletMode portletMode) boolean
isForwardedSecure
(javax.servlet.http.HttpServletRequest httpServletRequest) boolean
isGroupAdmin
(com.liferay.portal.kernel.model.User user, long groupId) boolean
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 httpServletRequest) boolean
isMultipartRequest
(javax.servlet.http.HttpServletRequest httpServletRequest) boolean
isOmniadmin
(long userId) boolean
isOmniadmin
(com.liferay.portal.kernel.model.User user) boolean
isReservedParameter
(String name) boolean
isRightToLeft
(javax.servlet.http.HttpServletRequest httpServletRequest) boolean
boolean
isSecure
(javax.servlet.http.HttpServletRequest httpServletRequest) 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
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 String
void
protected void
resetThemeDisplayI18n
(com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay, String languageId, String path, Locale locale) void
sendError
(int status, Exception exception, ActionRequest actionRequest, ActionResponse actionResponse) void
sendError
(int status, Exception exception, javax.servlet.http.HttpServletRequest httpServletRequest, javax.servlet.http.HttpServletResponse httpServletResponse) void
sendError
(Exception exception, ActionRequest actionRequest, ActionResponse actionResponse) void
sendError
(Exception exception, javax.servlet.http.HttpServletRequest httpServletRequest, javax.servlet.http.HttpServletResponse httpServletResponse) void
sendRSSFeedsDisabledError
(PortletRequest portletRequest, PortletResponse portletResponse) void
sendRSSFeedsDisabledError
(javax.servlet.http.HttpServletRequest httpServletRequest, javax.servlet.http.HttpServletResponse httpServletResponse) protected void
setLocale
(javax.servlet.http.HttpServletRequest httpServletRequest, javax.servlet.http.HttpServletResponse httpServletResponse, Locale locale) void
setPageDescription
(String description, javax.servlet.http.HttpServletRequest httpServletRequest) void
setPageKeywords
(String keywords, javax.servlet.http.HttpServletRequest httpServletRequest) void
setPageSubtitle
(String subtitle, javax.servlet.http.HttpServletRequest httpServletRequest) void
setPageTitle
(String title, javax.servlet.http.HttpServletRequest httpServletRequest) void
setPortalInetSocketAddresses
(javax.servlet.http.HttpServletRequest httpServletRequest) protected void
setThemeDisplayI18n
(com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay, Locale locale) String[]
stripURLAnchor
(String url, String separator) transformCustomSQL
(String sql) transformSQL
(String sql) void
updateImageId
(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:
addPageDescription
in interfacecom.liferay.portal.kernel.util.Portal
-
addPageKeywords
public void addPageKeywords(String keywords, javax.servlet.http.HttpServletRequest httpServletRequest) - Specified by:
addPageKeywords
in interfacecom.liferay.portal.kernel.util.Portal
-
addPageSubtitle
public void addPageSubtitle(String subtitle, javax.servlet.http.HttpServletRequest httpServletRequest) - Specified by:
addPageSubtitle
in interfacecom.liferay.portal.kernel.util.Portal
-
addPageTitle
- Specified by:
addPageTitle
in interfacecom.liferay.portal.kernel.util.Portal
-
addPortletBreadcrumbEntry
public void addPortletBreadcrumbEntry(javax.servlet.http.HttpServletRequest httpServletRequest, String title, String url) - Specified by:
addPortletBreadcrumbEntry
in 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:
addPortletBreadcrumbEntry
in 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:
addPortletBreadcrumbEntry
in 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:
addPortletDefaultResource
in 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:
addPortletDefaultResource
in 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:
addPreservedParameters
in interfacecom.liferay.portal.kernel.util.Portal
-
addPreservedParameters
public String addPreservedParameters(com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay, String url) - Specified by:
addPreservedParameters
in 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:
addPreservedParameters
in interfacecom.liferay.portal.kernel.util.Portal
-
copyRequestParameters
- Specified by:
copyRequestParameters
in interfacecom.liferay.portal.kernel.util.Portal
-
escapeRedirect
- Specified by:
escapeRedirect
in interfacecom.liferay.portal.kernel.util.Portal
-
generateRandomKey
public String generateRandomKey(javax.servlet.http.HttpServletRequest httpServletRequest, String input) - Specified by:
generateRandomKey
in interfacecom.liferay.portal.kernel.util.Portal
-
getAbsoluteURL
- Specified by:
getAbsoluteURL
in 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:
getActualLayoutQueryStringComposite
in 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:
getActualURL
in 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:
getAlternateURL
in 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:
getAlternateURLs
in 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:
getAlternateURLs
in interfacecom.liferay.portal.kernel.util.Portal
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getAncestorSiteGroupIds
public long[] getAncestorSiteGroupIds(long groupId) - Specified by:
getAncestorSiteGroupIds
in 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:
getCanonicalURL
in 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:
getCanonicalURL
in 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:
getCanonicalURL
in interfacecom.liferay.portal.kernel.util.Portal
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCDNHost
- Specified by:
getCDNHost
in interfacecom.liferay.portal.kernel.util.Portal
-
getCDNHost
public String getCDNHost(javax.servlet.http.HttpServletRequest httpServletRequest) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getCDNHost
in interfacecom.liferay.portal.kernel.util.Portal
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCDNHostHttp
- Specified by:
getCDNHostHttp
in interfacecom.liferay.portal.kernel.util.Portal
-
getCDNHostHttps
- Specified by:
getCDNHostHttps
in interfacecom.liferay.portal.kernel.util.Portal
-
getClassName
- Specified by:
getClassName
in interfacecom.liferay.portal.kernel.util.Portal
-
getClassNameId
- Specified by:
getClassNameId
in interfacecom.liferay.portal.kernel.util.Portal
-
getClassNameId
- Specified by:
getClassNameId
in 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:
getCompany
in 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:
getCompany
in interfacecom.liferay.portal.kernel.util.Portal
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCompanyId
public long getCompanyId(javax.servlet.http.HttpServletRequest httpServletRequest) - Specified by:
getCompanyId
in interfacecom.liferay.portal.kernel.util.Portal
-
getCompanyId
- Specified by:
getCompanyId
in interfacecom.liferay.portal.kernel.util.Portal
-
getCompanyIds
public long[] getCompanyIds()- Specified by:
getCompanyIds
in interfacecom.liferay.portal.kernel.util.Portal
-
getComputerAddresses
- Specified by:
getComputerAddresses
in interfacecom.liferay.portal.kernel.util.Portal
-
getComputerName
- Specified by:
getComputerName
in 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:
getControlPanelFullURL
in 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:
getControlPanelPlid
in 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:
getControlPanelPlid
in 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:
getControlPanelPortletURL
in interfacecom.liferay.portal.kernel.util.Portal
-
getControlPanelPortletURL
public PortletURL getControlPanelPortletURL(javax.servlet.http.HttpServletRequest httpServletRequest, String portletId, String lifecycle) - Specified by:
getControlPanelPortletURL
in 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:
getControlPanelPortletURL
in interfacecom.liferay.portal.kernel.util.Portal
-
getControlPanelPortletURL
public PortletURL getControlPanelPortletURL(PortletRequest portletRequest, String portletId, String lifecycle) - Specified by:
getControlPanelPortletURL
in 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:
getCreateAccountURL
in interfacecom.liferay.portal.kernel.util.Portal
- Throws:
Exception
-
getCurrentAndAncestorSiteGroupIds
public long[] getCurrentAndAncestorSiteGroupIds(long groupId) - Specified by:
getCurrentAndAncestorSiteGroupIds
in interfacecom.liferay.portal.kernel.util.Portal
-
getCurrentAndAncestorSiteGroupIds
public long[] getCurrentAndAncestorSiteGroupIds(long groupId, boolean checkContentSharingWithChildrenEnabled) - Specified by:
getCurrentAndAncestorSiteGroupIds
in interfacecom.liferay.portal.kernel.util.Portal
-
getCurrentAndAncestorSiteGroupIds
public long[] getCurrentAndAncestorSiteGroupIds(long[] groupIds) - Specified by:
getCurrentAndAncestorSiteGroupIds
in interfacecom.liferay.portal.kernel.util.Portal
-
getCurrentAndAncestorSiteGroupIds
public long[] getCurrentAndAncestorSiteGroupIds(long[] groupIds, boolean checkContentSharingWithChildrenEnabled) - Specified by:
getCurrentAndAncestorSiteGroupIds
in interfacecom.liferay.portal.kernel.util.Portal
-
getCurrentAndAncestorSiteGroups
public List<com.liferay.portal.kernel.model.Group> getCurrentAndAncestorSiteGroups(long groupId, boolean checkContentSharingWithChildrenEnabled) - Specified by:
getCurrentAndAncestorSiteGroups
in interfacecom.liferay.portal.kernel.util.Portal
-
getCurrentAndAncestorSiteGroups
public List<com.liferay.portal.kernel.model.Group> getCurrentAndAncestorSiteGroups(long[] groupIds, boolean checkContentSharingWithChildrenEnabled) - Specified by:
getCurrentAndAncestorSiteGroups
in interfacecom.liferay.portal.kernel.util.Portal
-
getCurrentCompleteURL
- Specified by:
getCurrentCompleteURL
in interfacecom.liferay.portal.kernel.util.Portal
-
getCurrentURL
- Specified by:
getCurrentURL
in interfacecom.liferay.portal.kernel.util.Portal
-
getCurrentURL
- Specified by:
getCurrentURL
in interfacecom.liferay.portal.kernel.util.Portal
-
getCustomSQLFunctionIsNotNull
- Specified by:
getCustomSQLFunctionIsNotNull
in interfacecom.liferay.portal.kernel.util.Portal
-
getCustomSQLFunctionIsNull
- Specified by:
getCustomSQLFunctionIsNull
in interfacecom.liferay.portal.kernel.util.Portal
-
getDate
- Specified by:
getDate
in 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:
getDate
in 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:
getDate
in 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:
getDate
in 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:
getDate
in interfacecom.liferay.portal.kernel.util.Portal
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getDefaultCompanyId
public long getDefaultCompanyId()- Specified by:
getDefaultCompanyId
in interfacecom.liferay.portal.kernel.util.Portal
-
getEmailFromAddress
public String getEmailFromAddress(PortletPreferences portletPreferences, long companyId, String defaultValue) - Specified by:
getEmailFromAddress
in interfacecom.liferay.portal.kernel.util.Portal
-
getEmailFromName
public String getEmailFromName(PortletPreferences portletPreferences, long companyId, String defaultValue) - Specified by:
getEmailFromName
in interfacecom.liferay.portal.kernel.util.Portal
-
getForwardedHost
- Specified by:
getForwardedHost
in interfacecom.liferay.portal.kernel.util.Portal
-
getForwardedPort
public int getForwardedPort(javax.servlet.http.HttpServletRequest httpServletRequest) - Specified by:
getForwardedPort
in interfacecom.liferay.portal.kernel.util.Portal
-
getFullName
- Specified by:
getFullName
in 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:
getGoogleGadgetURL
in 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:
getGroupFriendlyURL
in 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:
getGroupFriendlyURL
in interfacecom.liferay.portal.kernel.util.Portal
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getGroupFriendlyURLIndex
- Specified by:
getGroupFriendlyURLIndex
in interfacecom.liferay.portal.kernel.util.Portal
-
getHomeURL
public String getHomeURL(javax.servlet.http.HttpServletRequest httpServletRequest) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getHomeURL
in interfacecom.liferay.portal.kernel.util.Portal
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getHost
- Specified by:
getHost
in interfacecom.liferay.portal.kernel.util.Portal
-
getHost
- Specified by:
getHost
in interfacecom.liferay.portal.kernel.util.Portal
-
getHttpServletRequest
- Specified by:
getHttpServletRequest
in interfacecom.liferay.portal.kernel.util.Portal
-
getHttpServletResponse
public javax.servlet.http.HttpServletResponse getHttpServletResponse(PortletResponse portletResponse) - Specified by:
getHttpServletResponse
in interfacecom.liferay.portal.kernel.util.Portal
-
getI18nPathLanguageId
- Specified by:
getI18nPathLanguageId
in interfacecom.liferay.portal.kernel.util.Portal
-
getJsSafePortletId
- Specified by:
getJsSafePortletId
in interfacecom.liferay.portal.kernel.util.Portal
-
getLayoutActualURL
- Specified by:
getLayoutActualURL
in interfacecom.liferay.portal.kernel.util.Portal
-
getLayoutActualURL
- Specified by:
getLayoutActualURL
in 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:
getLayoutActualURL
in 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:
getLayoutFriendlyURL
in 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:
getLayoutFriendlyURL
in 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:
getLayoutFriendlyURL
in 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:
getLayoutFriendlyURLSeparatorComposite
in 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:
getLayoutFullURL
in 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:
getLayoutFullURL
in 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:
getLayoutFullURL
in 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:
getLayoutFullURL
in 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:
getLayoutFullURL
in 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:
getLayoutRelativeURL
in 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:
getLayoutRelativeURL
in 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:
getLayoutSetDisplayURL
in 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:
getLayoutSetFriendlyURL
in interfacecom.liferay.portal.kernel.util.Portal
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getLayoutTarget
- Specified by:
getLayoutTarget
in 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:
getLayoutURL
in 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:
getLayoutURL
in 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:
getLayoutURL
in 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:
getLayoutURL
in 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:
getLiferayPortletRequest
in interfacecom.liferay.portal.kernel.util.Portal
-
getLiferayPortletResponse
public com.liferay.portal.kernel.portlet.LiferayPortletResponse getLiferayPortletResponse(PortletResponse portletResponse) - Specified by:
getLiferayPortletResponse
in interfacecom.liferay.portal.kernel.util.Portal
-
getLocale
- Specified by:
getLocale
in interfacecom.liferay.portal.kernel.util.Portal
-
getLocale
public Locale getLocale(javax.servlet.http.HttpServletRequest httpServletRequest, javax.servlet.http.HttpServletResponse httpServletResponse, boolean initialize) - Specified by:
getLocale
in interfacecom.liferay.portal.kernel.util.Portal
-
getLocale
- Specified by:
getLocale
in interfacecom.liferay.portal.kernel.util.Portal
-
getMailId
- Specified by:
getMailId
in 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:
getNetvibesURL
in interfacecom.liferay.portal.kernel.util.Portal
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getNewPortletTitle
- Specified by:
getNewPortletTitle
in interfacecom.liferay.portal.kernel.util.Portal
-
getOriginalServletRequest
public javax.servlet.http.HttpServletRequest getOriginalServletRequest(javax.servlet.http.HttpServletRequest httpServletRequest) - Specified by:
getOriginalServletRequest
in interfacecom.liferay.portal.kernel.util.Portal
-
getPathContext
- Specified by:
getPathContext
in interfacecom.liferay.portal.kernel.util.Portal
-
getPathContext
- Specified by:
getPathContext
in interfacecom.liferay.portal.kernel.util.Portal
-
getPathContext
- Specified by:
getPathContext
in interfacecom.liferay.portal.kernel.util.Portal
-
getPathContext
- Specified by:
getPathContext
in interfacecom.liferay.portal.kernel.util.Portal
-
getPathFriendlyURLPrivateGroup
- Specified by:
getPathFriendlyURLPrivateGroup
in interfacecom.liferay.portal.kernel.util.Portal
-
getPathFriendlyURLPrivateUser
- Specified by:
getPathFriendlyURLPrivateUser
in interfacecom.liferay.portal.kernel.util.Portal
-
getPathFriendlyURLPublic
- Specified by:
getPathFriendlyURLPublic
in interfacecom.liferay.portal.kernel.util.Portal
-
getPathImage
- Specified by:
getPathImage
in interfacecom.liferay.portal.kernel.util.Portal
-
getPathMain
- Specified by:
getPathMain
in interfacecom.liferay.portal.kernel.util.Portal
-
getPathModule
- Specified by:
getPathModule
in interfacecom.liferay.portal.kernel.util.Portal
-
getPathProxy
- Specified by:
getPathProxy
in interfacecom.liferay.portal.kernel.util.Portal
-
getPlidFromFriendlyURL
- Specified by:
getPlidFromFriendlyURL
in interfacecom.liferay.portal.kernel.util.Portal
-
getPlidFromPortletId
- Specified by:
getPlidFromPortletId
in interfacecom.liferay.portal.kernel.util.Portal
-
getPlidFromPortletId
- Specified by:
getPlidFromPortletId
in interfacecom.liferay.portal.kernel.util.Portal
-
getPortalLocalPort
public int getPortalLocalPort(boolean secure) - Specified by:
getPortalLocalPort
in interfacecom.liferay.portal.kernel.util.Portal
-
getPortalProperties
- Specified by:
getPortalProperties
in interfacecom.liferay.portal.kernel.util.Portal
-
getPortalServerPort
public int getPortalServerPort(boolean secure) - Specified by:
getPortalServerPort
in interfacecom.liferay.portal.kernel.util.Portal
-
getPortalURL
- Specified by:
getPortalURL
in interfacecom.liferay.portal.kernel.util.Portal
-
getPortalURL
public String getPortalURL(javax.servlet.http.HttpServletRequest httpServletRequest, boolean secure) - Specified by:
getPortalURL
in 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:
getPortalURL
in 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:
getPortalURL
in interfacecom.liferay.portal.kernel.util.Portal
-
getPortalURL
- Specified by:
getPortalURL
in interfacecom.liferay.portal.kernel.util.Portal
-
getPortalURL
- Specified by:
getPortalURL
in interfacecom.liferay.portal.kernel.util.Portal
-
getPortalURL
- Specified by:
getPortalURL
in 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:
getPortalURL
in 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:
getPortletConfig
in 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:
getPortletDescription
in 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:
getPortletDescription
in interfacecom.liferay.portal.kernel.util.Portal
-
getPortletDescription
- Specified by:
getPortletDescription
in interfacecom.liferay.portal.kernel.util.Portal
-
getPortletDescription
- Specified by:
getPortletDescription
in interfacecom.liferay.portal.kernel.util.Portal
-
getPortletDescription
- Specified by:
getPortletDescription
in 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:
getPortletFriendlyURLMapperLayoutQueryStringComposite
in interfacecom.liferay.portal.kernel.util.Portal
-
getPortletId
- Specified by:
getPortletId
in interfacecom.liferay.portal.kernel.util.Portal
-
getPortletId
- Specified by:
getPortletId
in 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:
getPortletLongTitle
in interfacecom.liferay.portal.kernel.util.Portal
-
getPortletLongTitle
- Specified by:
getPortletLongTitle
in interfacecom.liferay.portal.kernel.util.Portal
-
getPortletNamespace
- Specified by:
getPortletNamespace
in interfacecom.liferay.portal.kernel.util.Portal
-
getPortletTitle
- Specified by:
getPortletTitle
in 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:
getPortletTitle
in interfacecom.liferay.portal.kernel.util.Portal
-
getPortletTitle
- Specified by:
getPortletTitle
in 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:
getPortletTitle
in interfacecom.liferay.portal.kernel.util.Portal
-
getPortletTitle
- Specified by:
getPortletTitle
in interfacecom.liferay.portal.kernel.util.Portal
-
getPortletTitle
- Specified by:
getPortletTitle
in interfacecom.liferay.portal.kernel.util.Portal
-
getPortletTitle
- Specified by:
getPortletTitle
in interfacecom.liferay.portal.kernel.util.Portal
-
getPortletTitle
- Specified by:
getPortletTitle
in interfacecom.liferay.portal.kernel.util.Portal
-
getPortletTitle
- Specified by:
getPortletTitle
in interfacecom.liferay.portal.kernel.util.Portal
-
getPortletTitle
- Specified by:
getPortletTitle
in interfacecom.liferay.portal.kernel.util.Portal
-
getPreferences
- Specified by:
getPreferences
in interfacecom.liferay.portal.kernel.util.Portal
-
getPreferencesValidator
public PreferencesValidator getPreferencesValidator(com.liferay.portal.kernel.model.Portlet portlet) - Specified by:
getPreferencesValidator
in interfacecom.liferay.portal.kernel.util.Portal
-
getRelativeHomeURL
public String getRelativeHomeURL(javax.servlet.http.HttpServletRequest httpServletRequest) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getRelativeHomeURL
in interfacecom.liferay.portal.kernel.util.Portal
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getResourceBundle
- Specified by:
getResourceBundle
in interfacecom.liferay.portal.kernel.util.Portal
-
getScopeGroupId
public long getScopeGroupId(javax.servlet.http.HttpServletRequest httpServletRequest) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getScopeGroupId
in 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:
getScopeGroupId
in 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:
getScopeGroupId
in 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:
getScopeGroupId
in interfacecom.liferay.portal.kernel.util.Portal
-
getScopeGroupId
- Specified by:
getScopeGroupId
in interfacecom.liferay.portal.kernel.util.Portal
-
getScopeGroupId
public long getScopeGroupId(long plid) - Specified by:
getScopeGroupId
in interfacecom.liferay.portal.kernel.util.Portal
-
getScopeGroupId
public long getScopeGroupId(PortletRequest portletRequest) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getScopeGroupId
in 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:
getSelectedUser
in 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:
getSelectedUser
in 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:
getSelectedUser
in 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:
getSelectedUser
in interfacecom.liferay.portal.kernel.util.Portal
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getServletContextName
- Specified by:
getServletContextName
in 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:
getSiteAdminURL
in 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:
getSiteAdminURL
in 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:
getSiteDefaultLocale
in 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:
getSiteDefaultLocale
in interfacecom.liferay.portal.kernel.util.Portal
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getSiteGroupId
public long getSiteGroupId(long groupId) - Specified by:
getSiteGroupId
in 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:
getSiteLoginURL
in 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:
getStaticResourceURL
in interfacecom.liferay.portal.kernel.util.Portal
-
getStaticResourceURL
public String getStaticResourceURL(javax.servlet.http.HttpServletRequest httpServletRequest, String uri, long timestamp) - Specified by:
getStaticResourceURL
in interfacecom.liferay.portal.kernel.util.Portal
-
getStaticResourceURL
public String getStaticResourceURL(javax.servlet.http.HttpServletRequest httpServletRequest, String uri, String queryString) - Specified by:
getStaticResourceURL
in interfacecom.liferay.portal.kernel.util.Portal
-
getStaticResourceURL
public String getStaticResourceURL(javax.servlet.http.HttpServletRequest httpServletRequest, String uri, String queryString, long timestamp) - Specified by:
getStaticResourceURL
in interfacecom.liferay.portal.kernel.util.Portal
-
getStrutsAction
- Specified by:
getStrutsAction
in interfacecom.liferay.portal.kernel.util.Portal
-
getSystemGroups
- Specified by:
getSystemGroups
in interfacecom.liferay.portal.kernel.util.Portal
-
getSystemOrganizationRoles
- Specified by:
getSystemOrganizationRoles
in interfacecom.liferay.portal.kernel.util.Portal
-
getSystemRoles
- Specified by:
getSystemRoles
in interfacecom.liferay.portal.kernel.util.Portal
-
getSystemSiteRoles
- Specified by:
getSystemSiteRoles
in interfacecom.liferay.portal.kernel.util.Portal
-
getUniqueElementId
public String getUniqueElementId(javax.servlet.http.HttpServletRequest httpServletRequest, String namespace, String elementId) - Specified by:
getUniqueElementId
in interfacecom.liferay.portal.kernel.util.Portal
-
getUniqueElementId
- Specified by:
getUniqueElementId
in interfacecom.liferay.portal.kernel.util.Portal
-
getUploadPortletRequest
public com.liferay.portal.kernel.upload.UploadPortletRequest getUploadPortletRequest(PortletRequest portletRequest) - Specified by:
getUploadPortletRequest
in interfacecom.liferay.portal.kernel.util.Portal
-
getUploadServletRequest
public com.liferay.portal.kernel.upload.UploadServletRequest getUploadServletRequest(javax.servlet.http.HttpServletRequest httpServletRequest) - Specified by:
getUploadServletRequest
in 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:
getUploadServletRequest
in interfacecom.liferay.portal.kernel.util.Portal
-
getUptime
- Specified by:
getUptime
in interfacecom.liferay.portal.kernel.util.Portal
-
getURLWithSessionId
- Specified by:
getURLWithSessionId
in 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:
getUser
in 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:
getUser
in interfacecom.liferay.portal.kernel.util.Portal
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getUserEmailAddress
- Specified by:
getUserEmailAddress
in interfacecom.liferay.portal.kernel.util.Portal
-
getUserId
public long getUserId(javax.servlet.http.HttpServletRequest httpServletRequest) - Specified by:
getUserId
in interfacecom.liferay.portal.kernel.util.Portal
-
getUserId
- Specified by:
getUserId
in interfacecom.liferay.portal.kernel.util.Portal
-
getUserName
- Specified by:
getUserName
in interfacecom.liferay.portal.kernel.util.Portal
-
getUserName
- Specified by:
getUserName
in interfacecom.liferay.portal.kernel.util.Portal
-
getUserName
public String getUserName(long userId, String defaultUserName, javax.servlet.http.HttpServletRequest httpServletRequest) - Specified by:
getUserName
in interfacecom.liferay.portal.kernel.util.Portal
-
getUserName
- Specified by:
getUserName
in interfacecom.liferay.portal.kernel.util.Portal
-
getUserName
public String getUserName(long userId, String defaultUserName, String userAttribute, javax.servlet.http.HttpServletRequest httpServletRequest) - Specified by:
getUserName
in interfacecom.liferay.portal.kernel.util.Portal
-
getUserPassword
- Specified by:
getUserPassword
in interfacecom.liferay.portal.kernel.util.Portal
-
getUserPassword
- Specified by:
getUserPassword
in interfacecom.liferay.portal.kernel.util.Portal
-
getUserPassword
- Specified by:
getUserPassword
in interfacecom.liferay.portal.kernel.util.Portal
-
getValidPortalDomain
- Specified by:
getValidPortalDomain
in interfacecom.liferay.portal.kernel.util.Portal
-
getValidUserId
public long getValidUserId(long companyId, long userId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getValidUserId
in 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:
getVirtualHostnames
in 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:
getWidgetURL
in 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:
initUser
in 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:
isCDNDynamicResourcesEnabled
in interfacecom.liferay.portal.kernel.util.Portal
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
isCDNDynamicResourcesEnabled
public boolean isCDNDynamicResourcesEnabled(long companyId) - Specified by:
isCDNDynamicResourcesEnabled
in interfacecom.liferay.portal.kernel.util.Portal
-
isCompanyAdmin
- Specified by:
isCompanyAdmin
in interfacecom.liferay.portal.kernel.util.Portal
- Throws:
Exception
-
isCustomPortletMode
- Specified by:
isCustomPortletMode
in interfacecom.liferay.portal.kernel.util.Portal
-
isForwardedSecure
public boolean isForwardedSecure(javax.servlet.http.HttpServletRequest httpServletRequest) - Specified by:
isForwardedSecure
in interfacecom.liferay.portal.kernel.util.Portal
-
isGroupAdmin
public boolean isGroupAdmin(com.liferay.portal.kernel.model.User user, long groupId) throws Exception - Specified by:
isGroupAdmin
in interfacecom.liferay.portal.kernel.util.Portal
- Throws:
Exception
-
isGroupControlPanelPath
- Specified by:
isGroupControlPanelPath
in interfacecom.liferay.portal.kernel.util.Portal
-
isGroupFriendlyURL
public boolean isGroupFriendlyURL(String fullURL, String groupFriendlyURL, String layoutFriendlyURL) - Specified by:
isGroupFriendlyURL
in interfacecom.liferay.portal.kernel.util.Portal
-
isGroupOwner
public boolean isGroupOwner(com.liferay.portal.kernel.model.User user, long groupId) throws Exception - Specified by:
isGroupOwner
in 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:
isLayoutDescendant
in 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:
isLayoutSitemapable
in interfacecom.liferay.portal.kernel.util.Portal
-
isLoginRedirectRequired
public boolean isLoginRedirectRequired(javax.servlet.http.HttpServletRequest httpServletRequest) - Specified by:
isLoginRedirectRequired
in interfacecom.liferay.portal.kernel.util.Portal
-
isMultipartRequest
public boolean isMultipartRequest(javax.servlet.http.HttpServletRequest httpServletRequest) - Specified by:
isMultipartRequest
in interfacecom.liferay.portal.kernel.util.Portal
-
isOmniadmin
public boolean isOmniadmin(long userId) - Specified by:
isOmniadmin
in interfacecom.liferay.portal.kernel.util.Portal
-
isOmniadmin
public boolean isOmniadmin(com.liferay.portal.kernel.model.User user) - Specified by:
isOmniadmin
in interfacecom.liferay.portal.kernel.util.Portal
-
isReservedParameter
- Specified by:
isReservedParameter
in interfacecom.liferay.portal.kernel.util.Portal
-
isRightToLeft
public boolean isRightToLeft(javax.servlet.http.HttpServletRequest httpServletRequest) - Specified by:
isRightToLeft
in interfacecom.liferay.portal.kernel.util.Portal
-
isRSSFeedsEnabled
public boolean isRSSFeedsEnabled()- Specified by:
isRSSFeedsEnabled
in interfacecom.liferay.portal.kernel.util.Portal
-
isSecure
public boolean isSecure(javax.servlet.http.HttpServletRequest httpServletRequest) - Specified by:
isSecure
in 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:
isSkipPortletContentRendering
in interfacecom.liferay.portal.kernel.util.Portal
-
isSystemGroup
- Specified by:
isSystemGroup
in interfacecom.liferay.portal.kernel.util.Portal
-
isSystemRole
- Specified by:
isSystemRole
in interfacecom.liferay.portal.kernel.util.Portal
-
isValidPortalDomain
- Specified by:
isValidPortalDomain
in interfacecom.liferay.portal.kernel.util.Portal
-
isValidResourceId
- Specified by:
isValidResourceId
in interfacecom.liferay.portal.kernel.util.Portal
-
resetCDNHosts
public void resetCDNHosts()- Specified by:
resetCDNHosts
in interfacecom.liferay.portal.kernel.util.Portal
-
sendError
public void sendError(Exception exception, ActionRequest actionRequest, ActionResponse actionResponse) throws IOException - Specified by:
sendError
in 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:
sendError
in interfacecom.liferay.portal.kernel.util.Portal
- Throws:
IOException
javax.servlet.ServletException
-
sendError
public void sendError(int status, Exception exception, ActionRequest actionRequest, ActionResponse actionResponse) throws IOException - Specified by:
sendError
in 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:
sendError
in interfacecom.liferay.portal.kernel.util.Portal
- Throws:
IOException
javax.servlet.ServletException
-
sendRSSFeedsDisabledError
public void sendRSSFeedsDisabledError(javax.servlet.http.HttpServletRequest httpServletRequest, javax.servlet.http.HttpServletResponse httpServletResponse) throws IOException, javax.servlet.ServletException - Specified by:
sendRSSFeedsDisabledError
in interfacecom.liferay.portal.kernel.util.Portal
- Throws:
IOException
javax.servlet.ServletException
-
sendRSSFeedsDisabledError
public void sendRSSFeedsDisabledError(PortletRequest portletRequest, PortletResponse portletResponse) throws IOException, javax.servlet.ServletException - Specified by:
sendRSSFeedsDisabledError
in interfacecom.liferay.portal.kernel.util.Portal
- Throws:
IOException
javax.servlet.ServletException
-
setPageDescription
public void setPageDescription(String description, javax.servlet.http.HttpServletRequest httpServletRequest) - Specified by:
setPageDescription
in interfacecom.liferay.portal.kernel.util.Portal
-
setPageKeywords
public void setPageKeywords(String keywords, javax.servlet.http.HttpServletRequest httpServletRequest) - Specified by:
setPageKeywords
in interfacecom.liferay.portal.kernel.util.Portal
-
setPageSubtitle
public void setPageSubtitle(String subtitle, javax.servlet.http.HttpServletRequest httpServletRequest) - Specified by:
setPageSubtitle
in interfacecom.liferay.portal.kernel.util.Portal
-
setPageTitle
- Specified by:
setPageTitle
in interfacecom.liferay.portal.kernel.util.Portal
-
setPortalInetSocketAddresses
public void setPortalInetSocketAddresses(javax.servlet.http.HttpServletRequest httpServletRequest) - Specified by:
setPortalInetSocketAddresses
in interfacecom.liferay.portal.kernel.util.Portal
-
stripURLAnchor
- Specified by:
stripURLAnchor
in interfacecom.liferay.portal.kernel.util.Portal
-
transformCustomSQL
- Specified by:
transformCustomSQL
in interfacecom.liferay.portal.kernel.util.Portal
-
transformSQL
- Specified by:
transformSQL
in 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:
updateImageId
in 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:
updatePortletMode
in interfacecom.liferay.portal.kernel.util.Portal
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateRedirect
- Specified by:
updateRedirect
in 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:
updateWindowState
in 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)
-