it.eng.spagobi.services.modules
Class BIObjectsModule

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

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

Presentation page for the BIObjects.

Author:
zerbetto
See Also:
Serialized Form

Field Summary
(package private)  it.eng.spago.error.EMFErrorHandler errorHandler
           
private static java.lang.String FILTER_TREE
           
private static java.lang.String HEIGHT_AREA
           
private static java.lang.String LABEL_SINGLE_OBJECT
           
private static java.lang.String MODALITY
           
static java.lang.String MODULE_PAGE
           
private static java.lang.String PARAMETERS_SINGLE_OBJECT
           
static java.lang.String PATH_SUBTREE
           
(package private)  it.eng.spago.base.SessionContainer sessionContainer
           
private static java.lang.String SINGLE_OBJECT
           
 
Constructor Summary
BIObjectsModule()
           
 
Method Summary
private  void debug(java.lang.String method, java.lang.String message)
          Trace a debug message into the log
 void service(it.eng.spago.base.SourceBean request, it.eng.spago.base.SourceBean response)
           
private  void singleObjectModalityHandler(it.eng.spago.base.SourceBean request, it.eng.spago.base.SourceBean response, javax.portlet.PortletPreferences prefs, java.lang.String actor)
          Set information into response for the execution of a single object
private  void treeModalityHandler(it.eng.spago.base.SourceBean request, it.eng.spago.base.SourceBean response, javax.portlet.PortletPreferences prefs, java.lang.String actor, java.lang.String initialPath)
          Set information into response for entering a
 
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
clone, equals, finalize, 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

MODALITY

private static final java.lang.String MODALITY
See Also:
Constant Field Values

SINGLE_OBJECT

private static final java.lang.String SINGLE_OBJECT
See Also:
Constant Field Values

FILTER_TREE

private static final java.lang.String FILTER_TREE
See Also:
Constant Field Values

LABEL_SINGLE_OBJECT

private static final java.lang.String LABEL_SINGLE_OBJECT
See Also:
Constant Field Values

PARAMETERS_SINGLE_OBJECT

private static final java.lang.String PARAMETERS_SINGLE_OBJECT
See Also:
Constant Field Values

PATH_SUBTREE

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

HEIGHT_AREA

private static final java.lang.String HEIGHT_AREA
See Also:
Constant Field Values

sessionContainer

it.eng.spago.base.SessionContainer sessionContainer

errorHandler

it.eng.spago.error.EMFErrorHandler errorHandler
Constructor Detail

BIObjectsModule

public BIObjectsModule()
Method Detail

service

public void service(it.eng.spago.base.SourceBean request,
                    it.eng.spago.base.SourceBean response)
             throws java.lang.Exception
Throws:
java.lang.Exception

treeModalityHandler

private void treeModalityHandler(it.eng.spago.base.SourceBean request,
                                 it.eng.spago.base.SourceBean response,
                                 javax.portlet.PortletPreferences prefs,
                                 java.lang.String actor,
                                 java.lang.String initialPath)
                          throws it.eng.spago.base.SourceBeanException
Set information into response for entering a

Parameters:
request - The Spago Request SourceBean
response - The Spago Response SourceBean
actor - Actor type
Throws:
it.eng.spago.base.SourceBeanException

singleObjectModalityHandler

private void singleObjectModalityHandler(it.eng.spago.base.SourceBean request,
                                         it.eng.spago.base.SourceBean response,
                                         javax.portlet.PortletPreferences prefs,
                                         java.lang.String actor)
                                  throws java.lang.Exception
Set information into response for the execution of a single object

Parameters:
request - The request SourceBean
response - The response SourceBean
prefs - Portlet Preferences
actor - Actor's type
Throws:
java.lang.Exception

debug

private void debug(java.lang.String method,
                   java.lang.String message)
Trace a debug message into the log

Parameters:
method - Name of the method to store into the log
message - Message to store into the log