it.eng.spagobi.services.commons
Class LookupQueryDelegatedBasicListService

java.lang.Object
  extended byit.eng.spagobi.services.commons.LookupQueryDelegatedBasicListService

public class LookupQueryDelegatedBasicListService
extends java.lang.Object

Provides all methods to handle a lookup list of objects. Its methods are called from a list module class to get the objects list.


Field Summary
static java.lang.String LIST_CURRENT
           
static java.lang.String LIST_DELETE
           
static java.lang.String LIST_FIRST
           
static java.lang.String LIST_LAST
           
static java.lang.String LIST_NEXT
           
static java.lang.String LIST_NOCACHE
           
static java.lang.String LIST_PAGE
           
static java.lang.String LIST_PREV
           
 
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, java.lang.String type)
          Executes a select statement.
static it.eng.spago.paginator.basic.ListIFace getList(it.eng.spago.dispatching.service.ServiceIFace service, it.eng.spago.base.SourceBean request, it.eng.spago.base.SourceBean response, it.eng.spago.base.SourceBean moduleConfig)
          Gets the list for a particular SpagoBI object.
static java.lang.String getMessage(it.eng.spago.base.SourceBean request)
          Gets the information contained in a Source Bean attribute identified by the key "MESSAGE".
static void service(it.eng.spago.dispatching.service.ServiceIFace service, it.eng.spago.base.SourceBean request, it.eng.spago.base.SourceBean response)
          The service method for this class.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LIST_PAGE

public static final java.lang.String LIST_PAGE
See Also:
Constant Field Values

LIST_FIRST

public static final java.lang.String LIST_FIRST
See Also:
Constant Field Values

LIST_PREV

public static final java.lang.String LIST_PREV
See Also:
Constant Field Values

LIST_NEXT

public static final java.lang.String LIST_NEXT
See Also:
Constant Field Values

LIST_LAST

public static final java.lang.String LIST_LAST
See Also:
Constant Field Values

LIST_CURRENT

public static final java.lang.String LIST_CURRENT
See Also:
Constant Field Values

LIST_NOCACHE

public static final java.lang.String LIST_NOCACHE
See Also:
Constant Field Values

LIST_DELETE

public static final java.lang.String LIST_DELETE
See Also:
Constant Field Values
Method Detail

service

public static void service(it.eng.spago.dispatching.service.ServiceIFace service,
                           it.eng.spago.base.SourceBean request,
                           it.eng.spago.base.SourceBean response)
                    throws java.lang.Exception
The service method for this class.

Parameters:
service - The service interface object
request - The request Source Bean
response - The response Source Bean
Throws:
java.lang.Exception - If any Exception occurred

getList

public static it.eng.spago.paginator.basic.ListIFace getList(it.eng.spago.dispatching.service.ServiceIFace service,
                                                             it.eng.spago.base.SourceBean request,
                                                             it.eng.spago.base.SourceBean response,
                                                             it.eng.spago.base.SourceBean moduleConfig)
                                                      throws java.lang.Exception
Gets the list for a particular SpagoBI object.

Parameters:
service - The service interface object
request - The request Source Bean
response - The response Source Bean
Throws:
java.lang.Exception - If any exception occurred

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,
                                             java.lang.String type)
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
type -
Returns:
A generic object containing the Execution results

getMessage

public static java.lang.String getMessage(it.eng.spago.base.SourceBean request)
Gets the information contained in a Source Bean attribute identified by the key "MESSAGE".

Parameters:
request - The input Source Bean