it.eng.spagobi.tools.dataset.presentation
Class DetailDataSetPublisher

java.lang.Object
  extended by it.eng.spagobi.tools.dataset.presentation.DetailDataSetPublisher
All Implemented Interfaces:
it.eng.spago.presentation.PublisherDispatcherIFace

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

Publishes the results of a detail request for a dataSet into the correct jsp page according to what contained into request. If Any errors occurred during the execution of the DetailDataSetModule 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.


Field Summary
static java.lang.String DETAIL_DATA_SET_MODULE
           
static java.lang.String LIST_TEST_DATA_SET_MODULE
           
 
Constructor Summary
DetailDataSetPublisher()
           
 
Method Summary
 it.eng.spago.base.SourceBean getModuleResponse(it.eng.spago.base.ResponseContainer responseContainer, java.lang.String moduleName)
          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.
 void getModuleResponses(it.eng.spago.base.ResponseContainer responseContainer)
          Gets the module responses.
 java.lang.String getPublisherName(it.eng.spago.base.RequestContainer requestContainer, it.eng.spago.base.ResponseContainer responseContainer)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DETAIL_DATA_SET_MODULE

public static final java.lang.String DETAIL_DATA_SET_MODULE
See Also:
Constant Field Values

LIST_TEST_DATA_SET_MODULE

public static final java.lang.String LIST_TEST_DATA_SET_MODULE
See Also:
Constant Field Values
Constructor Detail

DetailDataSetPublisher

public DetailDataSetPublisher()
Method Detail

getModuleResponse

public it.eng.spago.base.SourceBean getModuleResponse(it.eng.spago.base.ResponseContainer responseContainer,
                                                      java.lang.String moduleName)
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.

Parameters:
responseContainer - The object containing all response information
moduleName - the module name
Returns:
A string representing the name of the correct publisher, which will call the correct jsp reference.

getModuleResponses

public void getModuleResponses(it.eng.spago.base.ResponseContainer responseContainer)
Gets the module responses.

Parameters:
responseContainer - the response container

getPublisherName

public java.lang.String getPublisherName(it.eng.spago.base.RequestContainer requestContainer,
                                         it.eng.spago.base.ResponseContainer responseContainer)
Specified by:
getPublisherName in interface it.eng.spago.presentation.PublisherDispatcherIFace