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

Method Summary
 String generatePortalUrl(HttpServletRequest request, IBasePortalUrl basePortalUrl, String targetFolderId)
           
 String generatePortletUrl(HttpServletRequest request, IPortalPortletUrl portalPortletUrl, IPortletWindowId portletWindowId)
           
 

Method Detail

generatePortalUrl

String generatePortalUrl(HttpServletRequest request,
                         IBasePortalUrl basePortalUrl,
                         String targetFolderId)
Parameters:
request - The current request
basePortalUrl - The URL object to create a URL string from
targetFolderId - 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 request
portalPortletUrl - The URL object to create a URL string from
portletWindowId - 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.