it.eng.spagobi.qbe.commons.urlgenerator
Class PortletQbeUrlGenerator
java.lang.Object
it.eng.spagobi.qbe.commons.urlgenerator.PortletQbeUrlGenerator
- All Implemented Interfaces:
- IQbeUrlGenerator
public class PortletQbeUrlGenerator
- extends java.lang.Object
- implements IQbeUrlGenerator
The Class PortletQbeUrlGenerator.
- Author:
- Andrea Zoppello
The implementation of IQbeUrlGenerator used when QBE is used as a PORTLET
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 |
PortletQbeUrlGenerator
public PortletQbeUrlGenerator()
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 requestparameters
- 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 requesturl
- a String representic a link to static resource img, css, js and so on
- Returns:
- the resource url