it.eng.spagobi.mapcatalogue.modules
Class DetailMapModule

java.lang.Object
  extended by it.eng.spago.dispatching.service.DefaultRequestContext
      extended by it.eng.spago.dispatching.service.DefaultHttpRequestContext
          extended by it.eng.spago.dispatching.module.AbstractHttpModule
              extended by it.eng.spagobi.mapcatalogue.modules.DetailMapModule
All Implemented Interfaces:
it.eng.spago.dispatching.module.ModuleIFace, it.eng.spago.dispatching.service.HttpRequestContextIFace, it.eng.spago.dispatching.service.RequestContextIFace, it.eng.spago.dispatching.service.ServiceIFace, it.eng.spago.init.InitializerIFace, java.io.Serializable

public class DetailMapModule
extends it.eng.spago.dispatching.module.AbstractHttpModule

Spago Module which executes the map producing request

See Also:
Serialized Form

Field Summary
static java.lang.String MOD_DEL_MAP_FEATURE
           
static java.lang.String MOD_DOWNLOAD_MAP
           
static java.lang.String MOD_GET_TAB_DETAIL
           
static java.lang.String MOD_NO_SAVE
           
static java.lang.String MOD_RETURN_FROM_LOOKUP
           
static java.lang.String MOD_SAVE
           
static java.lang.String MOD_SAVEBACK
           
static java.lang.String MODULE_PAGE
           
 
Constructor Summary
DetailMapModule()
           
 
Method Summary
 void fillRequestContainer(it.eng.spago.base.SourceBean request, it.eng.spago.error.EMFErrorHandler errorHandler)
          Fills the request container object with Map information contained into the request Source Bean (they are all attributes).
 void service(it.eng.spago.base.SourceBean serviceRequest, it.eng.spago.base.SourceBean serviceResponse)
          Method called automatically by Spago framework when the action is invoked.
 
Methods inherited from class it.eng.spago.dispatching.module.AbstractHttpModule
getConfig, getModule, getModuleMethod, getPage, getSharedData, init, setModule, setModuleMethod, setPage, setSharedData
 
Methods inherited from class it.eng.spago.dispatching.service.DefaultHttpRequestContext
freezeHttpResponse, getHttpRequest, getHttpResponse, getServletConfig, isHttpResponseFreezed, setRequestContext, unfreezeHttpResponse
 
Methods inherited from class it.eng.spago.dispatching.service.DefaultRequestContext
getErrorHandler, getRequestContainer, getResponseContainer, getServiceRequest, getServiceResponse
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface it.eng.spago.dispatching.service.RequestContextIFace
getErrorHandler, getRequestContainer, getResponseContainer, getServiceRequest, getServiceResponse
 

Field Detail

MODULE_PAGE

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

MOD_SAVE

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

MOD_SAVEBACK

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

MOD_NO_SAVE

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

MOD_GET_TAB_DETAIL

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

MOD_DEL_MAP_FEATURE

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

MOD_RETURN_FROM_LOOKUP

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

MOD_DOWNLOAD_MAP

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

DetailMapModule

public DetailMapModule()
Method Detail

service

public void service(it.eng.spago.base.SourceBean serviceRequest,
                    it.eng.spago.base.SourceBean serviceResponse)
             throws java.lang.Exception
Method called automatically by Spago framework when the action is invoked. The method search into the request two parameters

Parameters:
serviceRequest - the Spago request SourceBean
serviceResponse - the Spago response SourceBean
Throws:
java.lang.Exception

fillRequestContainer

public void fillRequestContainer(it.eng.spago.base.SourceBean request,
                                 it.eng.spago.error.EMFErrorHandler errorHandler)
                          throws java.lang.Exception
Fills the request container object with Map information contained into the request Source Bean (they are all attributes). It is useful for validation process.

Parameters:
request - The request Source Bean
Throws:
it.eng.spago.base.SourceBeanException - If any exception occurred
java.lang.Exception