org.jasig.portal.url
Interface IUrlGenerator
- All Known Implementing Classes:
- PortalUrlProviderImpl
public interface IUrlGenerator
Generates URLs for the current request based on the portal or portlet URL objects and target ids.
- Version:
- $Revision: 19776 $
- Author:
- Eric Dalquist
generatePortalUrl
String generatePortalUrl(HttpServletRequest request,
IBasePortalUrl basePortalUrl,
String targetFolderId)
- Parameters:
request - The current requestbasePortalUrl - The URL object to create a URL string fromtargetFolderId - The targeted folder id from the user's layout
- Returns:
- A URL to be used in markup or as a redirect. The URL will be absolute, starting with a / or with a protocol such as http://
generatePortletUrl
String generatePortletUrl(HttpServletRequest request,
IPortalPortletUrl portalPortletUrl,
IPortletWindowId portletWindowId)
- Parameters:
request - The current requestportalPortletUrl - The URL object to create a URL string fromportletWindowId - The targeted portlet window ID
- Returns:
- A URL to be used in markup or as a redirect. The URL will be absolute, starting with a / or with a protocol such as http://
Copyright © 2010 Jasig. All Rights Reserved.