it.eng.spagobi.tools.dataset.service
Class ListTestDataSetModule

java.lang.Object
  extended by it.eng.spago.dispatching.service.DefaultRequestContext
      extended by it.eng.spago.dispatching.module.AbstractModule
          extended by it.eng.spago.dispatching.module.list.basic.AbstractBasicListModule
              extended by it.eng.spagobi.tools.dataset.service.ListTestDataSetModule
All Implemented Interfaces:
it.eng.spago.dispatching.module.ModuleIFace, it.eng.spago.dispatching.service.list.basic.IFaceBasicListService, it.eng.spago.dispatching.service.RequestContextIFace, it.eng.spago.dispatching.service.ServiceIFace, it.eng.spago.init.InitializerIFace, java.io.Serializable

public class ListTestDataSetModule
extends it.eng.spago.dispatching.module.list.basic.AbstractBasicListModule

Author:
Giulio Gavardi giulio.gavardi@eng.it
See Also:
Serialized Form

Field Summary
static java.lang.String messageBundle
           
 
Constructor Summary
ListTestDataSetModule()
          Instantiates a new list test data set module.
 
Method Summary
static java.lang.Object executeSelect(it.eng.spago.base.RequestContainer requestContainer, it.eng.spago.base.ResponseContainer responseContainer, java.lang.String datasource, java.lang.String statement, java.util.List columnsNames)
          Executes a select statement.
 it.eng.spago.paginator.basic.ListIFace getList(it.eng.spago.base.SourceBean request, it.eng.spago.base.SourceBean response)
           
 it.eng.spago.paginator.basic.ListIFace getTestResultList(it.eng.spago.base.SourceBean request, it.eng.spago.base.SourceBean response)
          Gets the test result list.
 
Methods inherited from class it.eng.spago.dispatching.module.list.basic.AbstractBasicListModule
callback, delete, getList, service, setList
 
Methods inherited from class it.eng.spago.dispatching.module.AbstractModule
getConfig, getModule, getModuleMethod, getPage, getSharedData, init, 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
 

Field Detail

messageBundle

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

ListTestDataSetModule

public ListTestDataSetModule()
Instantiates a new list test data set module.

Method Detail

getList

public it.eng.spago.paginator.basic.ListIFace getList(it.eng.spago.base.SourceBean request,
                                                      it.eng.spago.base.SourceBean response)
                                               throws java.lang.Exception
Throws:
java.lang.Exception

getTestResultList

public it.eng.spago.paginator.basic.ListIFace getTestResultList(it.eng.spago.base.SourceBean request,
                                                                it.eng.spago.base.SourceBean response)
                                                         throws java.lang.Exception
Gets the test result list.

Parameters:
request - the request
response - the response
Returns:
the test result list
Throws:
java.lang.Exception - the exception

executeSelect

public static java.lang.Object executeSelect(it.eng.spago.base.RequestContainer requestContainer,
                                             it.eng.spago.base.ResponseContainer responseContainer,
                                             java.lang.String datasource,
                                             java.lang.String statement,
                                             java.util.List columnsNames)
                                      throws it.eng.spago.error.EMFInternalError
Executes a select statement.

Parameters:
requestContainer - The request container object
responseContainer - The response container object
statement - The statement definition string
datasource - the datasource
columnsNames - the columns names
Returns:
A generic object containing the Execution results
Throws:
it.eng.spago.error.EMFInternalError - the EMF internal error