it.eng.spagobi.engines.config.presentation
Class DetailEnginePublisher

java.lang.Object
  extended by it.eng.spagobi.engines.config.presentation.DetailEnginePublisher
All Implemented Interfaces:
it.eng.spago.presentation.PublisherDispatcherIFace

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

Publishes the results of a detail request for an engine into the correct jsp page according to what contained into request. If Any errors occurred during the execution of the DetailEngineModule class, the publisher is able to call the error page with the error message caught before and put into the error handler. If the input information don't fall into any of the cases declared, another error is generated.

Author:
sulis

Constructor Summary
DetailEnginePublisher()
           
 
Method Summary
 java.lang.String getPublisherName(it.eng.spago.base.RequestContainer requestContainer, it.eng.spago.base.ResponseContainer responseContainer)
          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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DetailEnginePublisher

public DetailEnginePublisher()
Method Detail

getPublisherName

public java.lang.String getPublisherName(it.eng.spago.base.RequestContainer requestContainer,
                                         it.eng.spago.base.ResponseContainer responseContainer)
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:
requestContainer - The object containing all request information
responseContainer - The object containing all response information
Returns:
A string representing the name of the correct publisher, which will call the correct jsp reference.