void | addPortletBreadcrumbEntry(HttpServletRequest httpServletRequest, String title, String url) Adds an entry to the portlet breadcrumbs for the page in the request. |
void | addPortletBreadcrumbEntry(HttpServletRequest httpServletRequest, String title, String url, Map data, boolean portletBreadcrumbEntry) Adds an entry to the portlet breadcrumbs for the page in the request. |
void | addPortletBreadcrumbEntry(HttpServletRequest httpServletRequest, String title, String url, Map data) Adds an entry to the portlet breadcrumbs for the page in the request. |
String | addPreservedParameters(ThemeDisplay themeDisplay, String url) Adds the preserved parameters doAsUserId, doAsUserLanguageId, doAsGroupId, and refererPlid to the URL. |
void | copyRequestParameters(ActionRequest actionRequest, ActionResponse actionResponse) Copies the request parameters to the render parameters, unless a parameter with that name already exists in the render parameters. |
String | escapeRedirect(String url) Escapes the URL for use in a redirect and checks that security settings allow the URL is allowed for redirects. |
String | generateRandomKey(HttpServletRequest httpServletRequest, String input) Generates a random key to identify the request based on the input string. |
String | getActualURL(long groupId, boolean privateLayout, String mainPath, String friendlyURL, Map params, Map requestContext)
|
long[] | getAncestorSiteGroupIds(long groupId)
|
String | getClassName(long classNameId) Returns the fully qualified name of the class from its ID. |
long | getClassNameId(Class> clazz) Returns the ID of the class from its class object. |
long | getClassNameId(String value) Returns the ID of the class from its fully qualified name. |
Company | getCompany(HttpServletRequest httpServletRequest)
|
Company | getCompany(PortletRequest portletRequest)
|
long | getCompanyId(HttpServletRequest httpServletRequest)
|
long | getCompanyId(PortletRequest portletRequest)
|
long[] | getCompanyIds()
|
String | getControlPanelFullURL(long scopeGroupId, String ppid, Map params)
|
long | getControlPanelPlid(long companyId)
|
long | getControlPanelPlid(PortletRequest portletRequest)
|
PortletURL | getControlPanelPortletURL(HttpServletRequest httpServletRequest, Group group, String portletId, long refererGroupId, long refererPlid, String lifecycle)
|
PortletURL | getControlPanelPortletURL(PortletRequest portletRequest, Group group, String portletId, long refererGroupId, long refererPlid, String lifecycle)
|
PortletURL | getControlPanelPortletURL(HttpServletRequest httpServletRequest, String portletId, String lifecycle)
|
PortletURL | getControlPanelPortletURL(PortletRequest portletRequest, String portletId, String lifecycle)
|
long[] | getCurrentAndAncestorSiteGroupIds(long groupId)
|
long[] | getCurrentAndAncestorSiteGroupIds(long[] groupIds)
|
long[] | getCurrentAndAncestorSiteGroupIds(long groupId, boolean checkContentSharingWithChildrenEnabled)
|
long[] | getCurrentAndAncestorSiteGroupIds(long[] groupIds, boolean checkContentSharingWithChildrenEnabled)
|
String | getCurrentCompleteURL(HttpServletRequest httpServletRequest)
|
String | getCurrentURL(HttpServletRequest httpServletRequest)
|
String | getCurrentURL(PortletRequest portletRequest)
|
Date | getDate(int month, int day, int year, int hour, int min, Class extends PortalException> clazz) Returns the date object for the specified month, day, year, hour, and minute, optionally throwing an exception if the date is invalid. |
Date | getDate(int month, int day, int year, int hour, int min, TimeZone timeZone, Class extends PortalException> clazz) Returns the date object for the specified month, day, year, hour, minute, and time zone, optionally throwing an exception if the date is invalid. |
Date | getDate(int month, int day, int year) Returns the date object for the specified month, day, and year, or null if the date is invalid. |
long | getDefaultCompanyId()
|
String | getEmailFromAddress(PortletPreferences preferences, long companyId, String defaultValue)
|
String | getEmailFromName(PortletPreferences preferences, long companyId, String defaultValue)
|
String | getGroupFriendlyURL(LayoutSet layoutSet, ThemeDisplay themeDisplay)
|
HttpServletRequest | getHttpServletRequest(PortletRequest portletRequest)
|
HttpServletResponse | getHttpServletResponse(PortletResponse portletResponse)
|
String | getLayoutActualURL(Layout layout)
|
String | getLayoutFriendlyURL(Layout layout, ThemeDisplay themeDisplay)
|
String | getLayoutFullURL(ThemeDisplay themeDisplay)
|
String | getLayoutFullURL(Layout layout, ThemeDisplay themeDisplay)
|
String | getLayoutFullURL(long groupId, String portletId)
|
String | getLayoutFullURL(Layout layout, ThemeDisplay themeDisplay, boolean doAsUser)
|
String | getLayoutFullURL(long groupId, String portletId, boolean secure)
|
String | getLayoutTarget(Layout layout)
|
String | getLayoutURL(ThemeDisplay themeDisplay)
|
String | getLayoutURL(Layout layout, ThemeDisplay themeDisplay)
|
LiferayPortletRequest | getLiferayPortletRequest(PortletRequest portletRequest)
|
LiferayPortletResponse | getLiferayPortletResponse(PortletResponse portletResponse)
|
Locale | getLocale(HttpServletRequest httpServletRequest)
|
Locale | getLocale(PortletRequest portletRequest)
|
HttpServletRequest | getOriginalServletRequest(HttpServletRequest httpServletRequest)
|
String | getPathContext()
|
String | getPathContext(HttpServletRequest httpServletRequest)
|
String | getPathContext(PortletRequest portletRequest)
|
String | getPathContext(String contextPath)
|
String | getPathFriendlyURLPrivateGroup()
|
String | getPathFriendlyURLPrivateUser()
|
String | getPathFriendlyURLPublic()
|
String | getPathMain()
|
long | getPlidFromFriendlyURL(long companyId, String friendlyURL)
|
long | getPlidFromPortletId(long groupId, String portletId)
|
long | getPlidFromPortletId(long groupId, boolean privateLayout, String portletId)
|
Portal | getPortal()
|
int | getPortalServerPort(boolean secure)
|
String | getPortalURL(HttpServletRequest httpServletRequest)
|
String | getPortalURL(PortletRequest portletRequest)
|
String | getPortalURL(ThemeDisplay themeDisplay)
|
String | getPortalURL(String serverName, int serverPort, boolean secure)
|
String | getPortletId(HttpServletRequest httpServletRequest)
|
String | getPortletId(PortletRequest portletRequest)
|
String | getPortletNamespace(String portletId)
|
String | getPortletTitle(Portlet portlet, ServletContext servletContext, Locale locale)
|
String | getPortletTitle(Portlet portlet, Locale locale)
|
String | getPortletTitle(Portlet portlet, String languageId)
|
String | getPortletTitle(Portlet portlet, User user)
|
String | getPortletTitle(String portletId, Locale locale)
|
String | getPortletTitle(String portletId, ResourceBundle resourceBundle)
|
String | getPortletTitle(String portletId, String languageId)
|
String | getPortletTitle(String portletId, User user)
|
ResourceBundle | getResourceBundle(Locale locale)
|
long | getScopeGroupId(HttpServletRequest httpServletRequest)
|
long | getScopeGroupId(Layout layout)
|
long | getScopeGroupId(long plid)
|
long | getScopeGroupId(PortletRequest portletRequest)
|
long | getScopeGroupId(HttpServletRequest httpServletRequest, String portletId)
|
long | getScopeGroupId(Layout layout, String portletId)
|
User | getSelectedUser(HttpServletRequest httpServletRequest)
|
User | getSelectedUser(PortletRequest portletRequest)
|
User | getSelectedUser(HttpServletRequest httpServletRequest, boolean checkPermission)
|
User | getSelectedUser(PortletRequest portletRequest, boolean checkPermission)
|
long[] | getSharedContentSiteGroupIds(long companyId, long groupId, long userId)
|
Locale | getSiteDefaultLocale(Group group)
|
Locale | getSiteDefaultLocale(long groupId)
|
long | getSiteGroupId(long scopeGroupId)
|
String | getStaticResourceURL(HttpServletRequest httpServletRequest, String uri)
|
UploadPortletRequest | getUploadPortletRequest(PortletRequest portletRequest)
|
User | getUser(HttpServletRequest httpServletRequest)
|
User | getUser(PortletRequest portletRequest)
|
long | getUserId(HttpServletRequest httpServletRequest)
|
long | getUserId(PortletRequest portletRequest)
|
String | getUserName(BaseModel> baseModel)
|
String | getUserName(long userId, String defaultUserName)
|
String | getUserPassword(HttpServletRequest httpServletRequest)
|
String | getUserPassword(HttpSession session)
|
String | getUserPassword(PortletRequest portletRequest)
|
long | getValidUserId(long companyId, long userId)
|
boolean | isRightToLeft(HttpServletRequest httpServletRequest)
|
boolean | isRSSFeedsEnabled()
|
boolean | isSystemGroup(String groupName)
|
void | sendError(Exception e, ActionRequest actionRequest, ActionResponse actionResponse)
|
void | sendError(Exception e, HttpServletRequest httpServletRequest, HttpServletResponse httpServletResponse)
|
void | sendError(int status, Exception e, ActionRequest actionRequest, ActionResponse actionResponse)
|
void | sendError(int status, Exception e, HttpServletRequest httpServletRequest, HttpServletResponse httpServletResponse)
|
void | setPortal(Portal portal)
|
String | transformSQL(String sql)
|