it.eng.spagobi.presentation.publishers
Class DynamicForwardPublisher

java.lang.Object
  extended by it.eng.spagobi.presentation.publishers.DynamicForwardPublisher
All Implemented Interfaces:
it.eng.spago.presentation.PublisherDispatcherIFace

public class DynamicForwardPublisher
extends java.lang.Object
implements it.eng.spago.presentation.PublisherDispatcherIFace

Author:
zoppello This publisher is useful as utilities to forward to a publisher defined in service request To use this publisher declare action as follow and associate in publisher with dynamic publisher in file presentation.xml where DYN_FORWARD_PUBLISHER is defined in publicher.xml file

Constructor Summary
DynamicForwardPublisher()
          Class constructor
 
Method Summary
 java.lang.String getPublisherName(it.eng.spago.base.RequestContainer request, it.eng.spago.base.ResponseContainer response)
          Given the request at input, gets the name of the reference publisher,driving the execution into the correct jsp page, or jsp error page, if any error occurred.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DynamicForwardPublisher

public DynamicForwardPublisher()
Class constructor

Method Detail

getPublisherName

public java.lang.String getPublisherName(it.eng.spago.base.RequestContainer request,
                                         it.eng.spago.base.ResponseContainer response)
Given the request at input, gets the name of the reference publisher,driving the execution into the correct jsp page, or jsp error page, if any error occurred.

Specified by:
getPublisherName in interface it.eng.spago.presentation.PublisherDispatcherIFace
Parameters:
request - The request container object containing all request information
response - The response container object containing all response information
Returns:
A string representing the name of the correct publisher, which will call the correct jsp reference.