it.eng.spagobi.services.modules
Class ListTestQueryModule

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.services.modules.ListTestQueryModule
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 ListTestQueryModule
extends it.eng.spago.dispatching.module.list.basic.AbstractBasicListModule

Tests the query and produces the list as output.

Author:
Zerbetto
See Also:
Serialized Form

Constructor Summary
ListTestQueryModule()
          Class Constructor
 
Method Summary
static java.lang.Object executeSelect(it.eng.spago.base.RequestContainer requestContainer, it.eng.spago.base.ResponseContainer responseContainer, java.lang.String pool, java.lang.String statement)
          Executes a select statement.
 it.eng.spago.paginator.basic.ListIFace getList(it.eng.spago.base.SourceBean request, it.eng.spago.base.SourceBean response)
           
 
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, getPage, getSharedData, init, setModule, 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
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ListTestQueryModule

public ListTestQueryModule()
Class Constructor

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

executeSelect

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

Parameters:
requestContainer - The request container object
responseContainer - The response container object
pool - The pool definition string
statement - The statement definition string
Returns:
A generic object containing the Execution results
Throws:
it.eng.spago.error.EMFInternalError