it.eng.spagobi.tools.dataset.service
Class DetailDataSetModule
java.lang.Object
it.eng.spago.dispatching.service.DefaultRequestContext
it.eng.spago.dispatching.module.AbstractModule
it.eng.spagobi.tools.dataset.service.DetailDataSetModule
- All Implemented Interfaces:
- it.eng.spago.dispatching.module.ModuleIFace, it.eng.spago.dispatching.service.RequestContextIFace, it.eng.spago.dispatching.service.ServiceIFace, it.eng.spago.init.InitializerIFace, java.io.Serializable
public class DetailDataSetModule
- extends it.eng.spago.dispatching.module.AbstractModule
This class implements a module which handles data Set management.
- See Also:
- Serialized Form
Method Summary |
java.util.List |
getParametersToFill(it.eng.spagobi.services.dataset.bo.SpagoBiDataSet ds)
Before going into test mode checks if there are parameters to fill and in case puts them in List. |
void |
init(it.eng.spago.base.SourceBean config)
|
void |
service(it.eng.spago.base.SourceBean request,
it.eng.spago.base.SourceBean response)
Reads the operation asked by the user and calls the insertion, updation or deletion methods. |
Methods inherited from class it.eng.spago.dispatching.module.AbstractModule |
getConfig, getModule, getModuleMethod, getPage, getSharedData, setModule, setModuleMethod, setPage, setSharedData |
Methods inherited from class it.eng.spago.dispatching.service.DefaultRequestContext |
getErrorHandler, getRequestContainer, getResponseContainer, getServiceRequest, getServiceResponse, setRequestContext |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MOD_SAVE
public static final java.lang.String MOD_SAVE
- See Also:
- Constant Field Values
MOD_SAVEBACK
public static final java.lang.String MOD_SAVEBACK
- See Also:
- Constant Field Values
DATASET_MODIFIED
public static final java.lang.String DATASET_MODIFIED
- See Also:
- Constant Field Values
DATASET
public static final java.lang.String DATASET
- See Also:
- Constant Field Values
messageBundle
public static final java.lang.String messageBundle
- See Also:
- Constant Field Values
PARAMETERS_XML_MODIFIED
public static final java.lang.String PARAMETERS_XML_MODIFIED
- See Also:
- Constant Field Values
RETURN_FROM_TEST_MSG
public static final java.lang.String RETURN_FROM_TEST_MSG
- See Also:
- Constant Field Values
TEST_BEFORE_SAVE
public static final java.lang.String TEST_BEFORE_SAVE
- See Also:
- Constant Field Values
TEST
public static final java.lang.String TEST
- See Also:
- Constant Field Values
TEST_AFTER_PARAMETERS_FILLED
public static final java.lang.String TEST_AFTER_PARAMETERS_FILLED
- See Also:
- Constant Field Values
PARAMETERS_FILLED
public static final java.lang.String PARAMETERS_FILLED
- See Also:
- Constant Field Values
TEST_EXECUTED
public static final java.lang.String TEST_EXECUTED
- See Also:
- Constant Field Values
LIST_TRANSFORMER
public static final java.lang.String LIST_TRANSFORMER
- See Also:
- Constant Field Values
DetailDataSetModule
public DetailDataSetModule()
init
public void init(it.eng.spago.base.SourceBean config)
- Specified by:
init
in interface it.eng.spago.init.InitializerIFace
- Overrides:
init
in class it.eng.spago.dispatching.module.AbstractModule
service
public void service(it.eng.spago.base.SourceBean request,
it.eng.spago.base.SourceBean response)
throws java.lang.Exception
- Reads the operation asked by the user and calls the insertion, updation or deletion methods.
- Parameters:
request
- The Source Bean containing all request parametersresponse
- The Source Bean containing all response parameters
- Throws:
exception
- If an exception occurs
java.lang.Exception
- the exception
getParametersToFill
public java.util.List getParametersToFill(it.eng.spagobi.services.dataset.bo.SpagoBiDataSet ds)
throws it.eng.spago.base.SourceBeanException
- Before going into test mode checks if there are parameters to fill and in case puts them in List.
- Parameters:
ds
- the ds
- Returns:
- the parameters to fill
- Throws:
it.eng.spago.base.SourceBeanException
- the source bean exception