com.instantbank.servicing.control.web.handlers
Class ParmRestrictionsHandler

java.lang.Object
  |
  +--com.instantbank.servicing.control.web.handlers.RequestHandlerSupport
        |
        +--com.instantbank.servicing.control.web.handlers.ParmRestrictionsHandler
All Implemented Interfaces:
RequestHandler

public class ParmRestrictionsHandler
extends RequestHandlerSupport

Set Parameter Restrictions usecase: handler of user requests in the Application layer

Author:
Instant-bank (Jorge Cardenas)

Field Summary
(package private)  javax.servlet.ServletContext context
           
private  Debug debug
           
 
Constructor Summary
ParmRestrictionsHandler()
           
 
Method Summary
private  ServicingEvent createListParmRestrictionsEvent(javax.servlet.http.HttpServletRequest request)
          method for instantiating a ParmRestrictionsEvent demanding a service of getting the parameter restrictions
private  ServicingEvent createUpdateParmRestrictionsEvent(javax.servlet.http.HttpServletRequest request)
          method for instantiating a ParmRestrictionsEvent demanding a service of updating parameter restrictions
 ServicingEvent processRequest(javax.servlet.http.HttpServletRequest request, javax.servlet.ServletContext context)
          principal method that process a user request instantiating a ParmRestrictionsEvent with the user request data
 
Methods inherited from class com.instantbank.servicing.control.web.handlers.RequestHandlerSupport
doEnd, doStart
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

debug

private Debug debug

context

javax.servlet.ServletContext context
Constructor Detail

ParmRestrictionsHandler

public ParmRestrictionsHandler()
Method Detail

processRequest

public ServicingEvent processRequest(javax.servlet.http.HttpServletRequest request,
                                     javax.servlet.ServletContext context)
                              throws ServicingEventException
principal method that process a user request instantiating a ParmRestrictionsEvent with the user request data
Parameters:
request - of MainServlet
context - of MainServlet
Returns:
ParmRestrictionsEvent with the user request data
Throws:
ServicingEventException -  

createListParmRestrictionsEvent

private ServicingEvent createListParmRestrictionsEvent(javax.servlet.http.HttpServletRequest request)
                                                throws ServicingEventException
method for instantiating a ParmRestrictionsEvent demanding a service of getting the parameter restrictions
Parameters:
request - of MainServlet
Returns:
ParmRestrictionsEvent with the user request data
Throws:
ServicingEventException -  

createUpdateParmRestrictionsEvent

private ServicingEvent createUpdateParmRestrictionsEvent(javax.servlet.http.HttpServletRequest request)
                                                  throws ServicingEventException
method for instantiating a ParmRestrictionsEvent demanding a service of updating parameter restrictions
Parameters:
request - of MainServlet
Returns:
ParmRestrictionsEvent with the user request data
Throws:
ServicingEventException -