it.eng.spagobi.tools.dataset.presentation
Class DetailDataSetPublisher
java.lang.Object
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.
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 |
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
DetailDataSetPublisher
public DetailDataSetPublisher()
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 informationmoduleName
- 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