it.eng.spago.dispatching.module
Class AbstractHttpListModule

java.lang.Object
  extended byDefaultRequestContext
      extended byit.eng.spago.dispatching.service.DefaultHttpRequestContext
          extended byit.eng.spago.dispatching.module.AbstractHttpModule
              extended byit.eng.spago.dispatching.module.AbstractHttpListModule
All Implemented Interfaces:
HttpRequestContextIFace, HttpServiceIFace

public abstract class AbstractHttpListModule
extends AbstractHttpModule
implements HttpServiceIFace

See Also:
Serialized Form

Constructor Summary
AbstractHttpListModule()
           
 
Method Summary
 void callback(SourceBean request, ListIFace list, int page)
           
 void delete(SourceBean request)
           
 ListIFace getList()
           
abstract  ListIFace getList(SourceBean request)
           
 void init(SourceBean config)
           
 void service(SourceBean request, SourceBean response)
           
 void setList(ListIFace list)
           
 
Methods inherited from class it.eng.spago.dispatching.module.AbstractHttpModule
getConfig, getModule, getPage, getSharedData, setModule, setPage, setSharedData
 
Methods inherited from class it.eng.spago.dispatching.service.DefaultHttpRequestContext
freezeHttpResponse, getHttpRequest, getHttpResponse, getServletConfig, isHttpResponseFreezed, setRequestContext, unfreezeHttpResponse
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface it.eng.spago.dispatching.service.HttpServiceIFace
freezeHttpResponse, getHttpRequest, getHttpResponse, getServletConfig, isHttpResponseFreezed, unfreezeHttpResponse
 

Constructor Detail

AbstractHttpListModule

public AbstractHttpListModule()
Method Detail

init

public void init(SourceBean config)
Overrides:
init in class AbstractHttpModule

getList

public ListIFace getList()

setList

public void setList(ListIFace list)

service

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

getList

public abstract ListIFace getList(SourceBean request)

callback

public void callback(SourceBean request,
                     ListIFace list,
                     int page)

delete

public void delete(SourceBean request)