it.eng.qbe.urlgenerator
Interface CopyOfIQbeUrlGenerator

All Known Implementing Classes:
CopyOfPortletQbeUrlGenerator, CopyOfWebQbeUrlGenerator

public interface CopyOfIQbeUrlGenerator

The Interface CopyOfIQbeUrlGenerator.

Author:
Andrea Zoppello This is the interface for classes that implements logic to generate URLS This is because we want reuse JSP in Standalone Web applications and Portlet Enviroments

Method Summary
 java.lang.String conformStaticResourceLink(javax.servlet.http.HttpServletRequest aHttpServletRequest, java.lang.String originalUrl)
          Conform static resource link.
 java.lang.String getUrl(javax.servlet.http.HttpServletRequest aHttpServletRequest, java.util.Map parameters)
          Gets the url.
 

Method Detail

getUrl

java.lang.String getUrl(javax.servlet.http.HttpServletRequest aHttpServletRequest,
                        java.util.Map parameters)
Gets the url.

Parameters:
aHttpServletRequest - the http servlet request
parameters - an HashMap of parameters
Returns:
a URL given the Map parameters

conformStaticResourceLink

java.lang.String conformStaticResourceLink(javax.servlet.http.HttpServletRequest aHttpServletRequest,
                                           java.lang.String originalUrl)
Conform static resource link.

Parameters:
aHttpServletRequest - the http servlet request
originalUrl - a String representic a link to static resource img, css, js and so on
Returns:
the string