it.eng.spagobi.qbe.commons.urlgenerator
Class WebQbeUrlGenerator

java.lang.Object
  extended by it.eng.spagobi.qbe.commons.urlgenerator.WebQbeUrlGenerator
All Implemented Interfaces:
IQbeUrlGenerator

public class WebQbeUrlGenerator
extends java.lang.Object
implements IQbeUrlGenerator

The Class WebQbeUrlGenerator.

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

Constructor Summary
WebQbeUrlGenerator()
           
 
Method Summary
 java.lang.String getActionUrl(javax.servlet.http.HttpServletRequest httpServletRequest, java.util.Map parameters)
          Gets the action url.
 java.lang.String getResourceUrl(javax.servlet.http.HttpServletRequest httpServletRequest, java.lang.String url)
          Gets the resource url.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WebQbeUrlGenerator

public WebQbeUrlGenerator()
Method Detail

getActionUrl

public java.lang.String getActionUrl(javax.servlet.http.HttpServletRequest httpServletRequest,
                                     java.util.Map parameters)
Description copied from interface: IQbeUrlGenerator
Gets the action url.

Specified by:
getActionUrl in interface IQbeUrlGenerator
Parameters:
httpServletRequest - the http servlet request
parameters - an HashMap of parameters
Returns:
a URL given the Map parameters

getResourceUrl

public java.lang.String getResourceUrl(javax.servlet.http.HttpServletRequest httpServletRequest,
                                       java.lang.String url)
Description copied from interface: IQbeUrlGenerator
Gets the resource url.

Specified by:
getResourceUrl in interface IQbeUrlGenerator
Parameters:
httpServletRequest - the http servlet request
url - a String representic a link to static resource img, css, js and so on
Returns:
the resource url