it.eng.qbe.utility
Class PortletQbeUrlGenerator

java.lang.Object
  extended by it.eng.qbe.utility.PortletQbeUrlGenerator
All Implemented Interfaces:
IQbeUrlGenerator

public class PortletQbeUrlGenerator
extends java.lang.Object
implements IQbeUrlGenerator

Author:
Andrea Zoppello The implementation of IQbeUrlGenerator used when QBE is used as a PORTLET

Constructor Summary
PortletQbeUrlGenerator()
           
 
Method Summary
 java.lang.String conformStaticResourceLink(javax.servlet.http.HttpServletRequest aHttpServletRequest, java.lang.String originalUrl)
           
 java.lang.String getUrl(javax.servlet.http.HttpServletRequest aHttpServletRequest, java.util.Map parameters)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PortletQbeUrlGenerator

public PortletQbeUrlGenerator()
Method Detail

getUrl

public java.lang.String getUrl(javax.servlet.http.HttpServletRequest aHttpServletRequest,
                               java.util.Map parameters)
Specified by:
getUrl in interface IQbeUrlGenerator
Parameters:
aHttpServletRequest - the http servlet request
parameters - an HashMap of parameters
Returns:
a URL given the Map parameters
See Also:
IQbeUrlGenerator.getUrl(javax.servlet.http.HttpServletRequest, java.util.Map)

conformStaticResourceLink

public java.lang.String conformStaticResourceLink(javax.servlet.http.HttpServletRequest aHttpServletRequest,
                                                  java.lang.String originalUrl)
Specified by:
conformStaticResourceLink in interface IQbeUrlGenerator
Parameters:
aHttpServletRequest - the http servlet request
originalUrl - a String representic a link to static resource img, css, js and so on
Returns:
See Also:
IQbeUrlGenerator.conformStaticResourceLink(javax.servlet.http.HttpServletRequest, java.lang.String)