it.eng.spagobi.presentation.publishers
Class DetailModalitiesValuePublisher

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

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

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

Field Summary
static java.lang.String DETAIL_MODALITIES_VALUE_MODULE
           
static java.lang.String LIST_TEST_FIXEDLIST_MODULE
           
static java.lang.String LIST_TEST_JAVACLASS_MODULE
           
static java.lang.String LIST_TEST_QUERY_MODULE
           
static java.lang.String LIST_TEST_SCRIPT_MODULE
           
 
Constructor Summary
DetailModalitiesValuePublisher()
           
 
Method Summary
 it.eng.spago.base.SourceBean getModuleResponse(it.eng.spago.base.ResponseContainer responseContainer, java.lang.String moduleName)
           
 void getModuleResponses(it.eng.spago.base.ResponseContainer responseContainer)
           
 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.
 boolean isTestExecutedSuccesfully(it.eng.spago.base.SourceBean testModuleResponse)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DETAIL_MODALITIES_VALUE_MODULE

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

LIST_TEST_FIXEDLIST_MODULE

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

LIST_TEST_QUERY_MODULE

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

LIST_TEST_SCRIPT_MODULE

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

LIST_TEST_JAVACLASS_MODULE

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

DetailModalitiesValuePublisher

public DetailModalitiesValuePublisher()
Method Detail

getModuleResponse

public it.eng.spago.base.SourceBean getModuleResponse(it.eng.spago.base.ResponseContainer responseContainer,
                                                      java.lang.String moduleName)

getModuleResponses

public void getModuleResponses(it.eng.spago.base.ResponseContainer responseContainer)

isTestExecutedSuccesfully

public boolean isTestExecutedSuccesfully(it.eng.spago.base.SourceBean testModuleResponse)

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.