it.eng.spagobi.analiticalmodel.execution.service
Class SelectParametersLookupModule

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.analiticalmodel.execution.service.SelectParametersLookupModule
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 SelectParametersLookupModule
extends it.eng.spago.dispatching.module.list.basic.AbstractBasicListModule

Author:
Angelo Bernabei - angelo.bernabei@eng.it This module read the parameters values. It is invoked by a lookup window from execution parameters form; the result is published into the same window.
See Also:
Serialized Form

Constructor Summary
SelectParametersLookupModule()
          Class Constructor.
 
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)
          Executes a select statement.
 it.eng.spago.paginator.basic.ListIFace getList(it.eng.spago.base.SourceBean request, it.eng.spago.base.SourceBean response)
           
protected  it.eng.spago.paginator.basic.ListIFace intersectLists(it.eng.spago.paginator.basic.ListIFace list1, it.eng.spago.paginator.basic.ListIFace list2)
           
protected  it.eng.spago.paginator.basic.ListIFace mergeLists(it.eng.spago.paginator.basic.ListIFace list1, it.eng.spago.paginator.basic.ListIFace list2)
           
 
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
 

Constructor Detail

SelectParametersLookupModule

public SelectParametersLookupModule()
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

mergeLists

protected it.eng.spago.paginator.basic.ListIFace mergeLists(it.eng.spago.paginator.basic.ListIFace list1,
                                                            it.eng.spago.paginator.basic.ListIFace list2)

intersectLists

protected it.eng.spago.paginator.basic.ListIFace intersectLists(it.eng.spago.paginator.basic.ListIFace list1,
                                                                it.eng.spago.paginator.basic.ListIFace list2)

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)
                                      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
Returns:
A generic object containing the Execution results
Throws:
it.eng.spago.error.EMFInternalError - the EMF internal error