it.eng.qbe.utility
Class WebQbeUrlGenerator

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

public class WebQbeUrlGenerator
extends java.lang.Object
implements IQbeUrlGenerator

Author:
Andrea Zoppello The implementation of IQbeUrlGenerator used when QBE is used as a STANDALONE WEB APPLICATIONS

Field Summary
private  java.lang.String baseURL
           
 
Constructor Summary
WebQbeUrlGenerator()
           
 
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
 

Field Detail

baseURL

private java.lang.String baseURL
Constructor Detail

WebQbeUrlGenerator

public WebQbeUrlGenerator()
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

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: