it.eng.spagobi.kpi.utils
Class AbstractConfigurableListModule

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.kpi.utils.AbstractConfigurableListModule
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
Direct Known Subclasses:
ListKpiModule, ListModelInstanceModule, ListModelModule, ListModelResourcesModule, ListResourcesModule, ListThresholdsModule, ListThresholdValuesModule

public abstract class AbstractConfigurableListModule
extends it.eng.spago.dispatching.module.list.basic.AbstractBasicListModule

See Also:
Serialized Form

Constructor Summary
AbstractConfigurableListModule()
           
 
Method Summary
 it.eng.spago.paginator.basic.ListIFace getList(it.eng.spago.base.SourceBean request, it.eng.spago.base.SourceBean response)
          Gets the list.
protected abstract  java.util.List getObjectList(it.eng.spago.base.SourceBean request)
          Get the list of business objects.
protected abstract  void setRowAttribute(it.eng.spago.base.SourceBean rowSB, java.lang.Object obj)
          Set the attribute of the ROW of the paginator.
 
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, getModuleMethod, getPage, getSharedData, init, setModule, setModuleMethod, 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

AbstractConfigurableListModule

public AbstractConfigurableListModule()
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 - the exception

getObjectList

protected abstract java.util.List getObjectList(it.eng.spago.base.SourceBean request)
Get the list of business objects.

Returns:
The list of business objects.

setRowAttribute

protected abstract void setRowAttribute(it.eng.spago.base.SourceBean rowSB,
                                        java.lang.Object obj)
                                 throws it.eng.spago.base.SourceBeanException
Set the attribute of the ROW of the paginator.

Parameters:
rowSB - SourceBean ROW where to add the attribute.
obj - Business object where to get the attribute to set in the SourceBean
Throws:
it.eng.spago.base.SourceBeanException