it.eng.spagobi.services.modules
Class ListLookupModalityValuesModule

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.services.modules.ListLookupModalityValuesModule
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 ListLookupModalityValuesModule
extends it.eng.spago.dispatching.module.list.basic.AbstractBasicListModule

Loads the predefined lookup list of values

Author:
sulis
See Also:
Serialized Form

Constructor Summary
ListLookupModalityValuesModule()
          Class Constructor
 
Method Summary
private  it.eng.spago.base.SourceBean createBackButton(java.util.HashMap backButtonParams)
          Creates a BACK_BUTTON SourceBean with the parameters passed at input
private  it.eng.spago.base.SourceBean createColumnsSB(java.util.Vector columns)
          Creates a COLUMNS SourceBean with all the columns in the Vector passed at input
private  it.eng.spago.base.SourceBean createSelectCaption(java.util.HashMap selectCaptionParams, java.lang.String valueColumn)
          Creates a SELECT_CAPTION SourceBean with the parameters passed at input
private  java.util.Vector findVisibleColumns(java.lang.String visibleColumns)
          Finds the names of the visible columns with the StringTokenizer from the String at input.
 it.eng.spago.paginator.basic.ListIFace getList(it.eng.spago.base.SourceBean request, it.eng.spago.base.SourceBean response)
          Gets the list
 
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, 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
 

Constructor Detail

ListLookupModalityValuesModule

public ListLookupModalityValuesModule()
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
Gets the list

Parameters:
request - The request SourceBean
response - The response SourceBean
Returns:
ListIFace
Throws:
java.lang.Exception

findVisibleColumns

private java.util.Vector findVisibleColumns(java.lang.String visibleColumns)
Finds the names of the visible columns with the StringTokenizer from the String at input.

Parameters:
visibleColumns - The String at input to be tokenized
Returns:
A Vector containing the names of the visible columns

createBackButton

private it.eng.spago.base.SourceBean createBackButton(java.util.HashMap backButtonParams)
                                               throws it.eng.spago.base.SourceBeanException
Creates a BACK_BUTTON SourceBean with the parameters passed at input

Parameters:
backButtonParams - The HashMap containing the parameters names and values
Returns:
The BACK_BUTTON SourceBean
Throws:
it.eng.spago.base.SourceBeanException

createSelectCaption

private it.eng.spago.base.SourceBean createSelectCaption(java.util.HashMap selectCaptionParams,
                                                         java.lang.String valueColumn)
                                                  throws it.eng.spago.base.SourceBeanException
Creates a SELECT_CAPTION SourceBean with the parameters passed at input

Parameters:
selectCaptionParams - The HashMap containing the parameters names and values
valueColumn - The relative variable to be set in the caption URL representing the lookup value
Returns:
The SELECT_CAPTION SourceBean
Throws:
it.eng.spago.base.SourceBeanException

createColumnsSB

private it.eng.spago.base.SourceBean createColumnsSB(java.util.Vector columns)
                                              throws it.eng.spago.base.SourceBeanException
Creates a COLUMNS SourceBean with all the columns in the Vector passed at input

Parameters:
columns - The Vector containing the columns to be visualized
Returns:
The COLUMNS SourceBean
Throws:
it.eng.spago.base.SourceBeanException