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
|
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 java.lang.Object |
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait |
debug
private Debug debug
context
javax.servlet.ServletContext context
ParmRestrictionsHandler
public ParmRestrictionsHandler()
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 MainServletcontext
- 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
-