it.eng.spagobi.services.modules
Class ExecuteBIObjectModule

java.lang.Object
  extended byit.eng.spago.dispatching.service.DefaultRequestContext
      extended byit.eng.spago.dispatching.module.AbstractModule
          extended byit.eng.spagobi.services.modules.ExecuteBIObjectModule
All Implemented Interfaces:
it.eng.spago.init.InitializerIFace, it.eng.spago.dispatching.module.ModuleIFace, it.eng.spago.dispatching.service.RequestContextIFace, java.io.Serializable, it.eng.spago.dispatching.service.ServiceIFace

public class ExecuteBIObjectModule
extends it.eng.spago.dispatching.module.AbstractModule

Executes a report, according to four phases; each phase is identified by a message string.

1) Creates the page

2) Selects the role

3) From the field input values loads the object and starts execution

4) See Report/Change the report state

Author:
sulis
See Also:
Serialized Form

Field Summary
static java.lang.String EXEC_CHANGE_STATE
           
static java.lang.String EXEC_PHASE_RETURN_FROM_LOOKUP
           
static java.lang.String EXEC_PHASE_SELECTED_ROLE
           
static java.lang.String MESSAGE_EXECUTION
           
static java.lang.String MODULE_PAGE
           
 
Constructor Summary
ExecuteBIObjectModule()
           
 
Method Summary
 void init(it.eng.spago.base.SourceBean config)
           
 void service(it.eng.spago.base.SourceBean request, it.eng.spago.base.SourceBean response)
          Implements the 4 cases by switching them
 
Methods inherited from class it.eng.spago.dispatching.module.AbstractModule
getConfig, getModule, getPage, getSharedData, 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
 

Field Detail

MODULE_PAGE

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

EXEC_PHASE_SELECTED_ROLE

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

EXEC_PHASE_RETURN_FROM_LOOKUP

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

EXEC_CHANGE_STATE

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

MESSAGE_EXECUTION

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

ExecuteBIObjectModule

public ExecuteBIObjectModule()
Method Detail

init

public void init(it.eng.spago.base.SourceBean config)

service

public void service(it.eng.spago.base.SourceBean request,
                    it.eng.spago.base.SourceBean response)
             throws java.lang.Exception
Implements the 4 cases by switching them

Parameters:
request - The request source bean
response - The response Source bean
Throws:
java.lang.Exception - If an Exception occurred