com.siebel.rf.offline.request.handler.supervisorreferral
Class SupervisorReferralHandler

java.lang.Object
  |
  +--com.siebel.rf.offline.branch.server.Handler
        |
        +--com.siebel.rf.offline.request.handler.supervisorreferral.SupervisorReferralHandler
All Implemented Interfaces:
RequestHandler

public class SupervisorReferralHandler
extends Handler

The Handler class for Supervisor Referral


Constructor Summary
SupervisorReferralHandler()
           
 
Method Summary
 java.util.Vector handleRequest()
          Handles client requests in online/offline mode for the branch
 com.bankframe.bo.retail.solutionset.impl.supervisoroverridereferral.SupervisorOverrideReferralParameterObjectImpl processLocalSupervisorOverride(com.bankframe.po.shared.solutionset.impl.parameterobjects.UserCredentialsPO supervisorCredentialsPO, com.bankframe.vo.retail.solutionset.impl.financialtransactions.FinancialTransactionCommonAttributesVO financialTransactionCommonAttributesVO, com.bankframe.vo.retail.solutionset.impl.financialtransactions.FinancialTransactionSourceAccountVO financialTransactionSourceAccountVO, com.bankframe.vo.retail.solutionset.impl.financialtransactions.FinancialTransactionDestinationAccountVO financialTransactionDestinationAccountVO, com.bankframe.bo.retail.solutionset.impl.supervisoroverridereferral.SupervisorOverrideReferralParameterObjectImpl supervisorOverrideReferralParameterObjectImpl)
          Sends notification to remote supervisors that a teller requires a remote override.
 void verifyLocalSupervisor(com.bankframe.po.shared.solutionset.impl.parameterobjects.UserCredentialsPO supervisorCredentialsPO, com.bankframe.vo.retail.solutionset.impl.financialtransactions.FinancialTransactionDestinationAccountVO financialTransactionDestinationAccountVO, com.bankframe.vo.retail.solutionset.impl.financialtransactions.FinancialTransactionSourceAccountVO financialTransactionSourceAccountVO, com.bankframe.vo.retail.solutionset.impl.financialtransactions.FinancialTransactionCommonAttributesVO financialTransactionCommonAttributesVO)
          Checks if the user is a supervisor and validates there password.
 
Methods inherited from class com.siebel.rf.offline.branch.server.Handler
fireOfflineEvent, getOriginalRequest, getRequest, getResponse, handleRequest, isAValidResponse, isBranchOnline
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SupervisorReferralHandler

public SupervisorReferralHandler()
Method Detail

handleRequest

public java.util.Vector handleRequest()
                               throws com.bankframe.ejb.ProcessingErrorException,
                                      com.bankframe.validation.ValidationException
Handles client requests in online/offline mode for the branch
Overrides:
handleRequest in class Handler
Returns:
response message
Throws:
com.bankframe.ejb.ProcessingErrorException - This exception is thrown if processing fails
com.bankframe.validation.ValidationException - This exception is thrown if validation fails

processLocalSupervisorOverride

public com.bankframe.bo.retail.solutionset.impl.supervisoroverridereferral.SupervisorOverrideReferralParameterObjectImpl processLocalSupervisorOverride(com.bankframe.po.shared.solutionset.impl.parameterobjects.UserCredentialsPO supervisorCredentialsPO,
                                                                                                                                                        com.bankframe.vo.retail.solutionset.impl.financialtransactions.FinancialTransactionCommonAttributesVO financialTransactionCommonAttributesVO,
                                                                                                                                                        com.bankframe.vo.retail.solutionset.impl.financialtransactions.FinancialTransactionSourceAccountVO financialTransactionSourceAccountVO,
                                                                                                                                                        com.bankframe.vo.retail.solutionset.impl.financialtransactions.FinancialTransactionDestinationAccountVO financialTransactionDestinationAccountVO,
                                                                                                                                                        com.bankframe.bo.retail.solutionset.impl.supervisoroverridereferral.SupervisorOverrideReferralParameterObjectImpl supervisorOverrideReferralParameterObjectImpl)
                                                                                                                                                 throws com.bankframe.ejb.ProcessingErrorException
Sends notification to remote supervisors that a teller requires a remote override. The supervisors are determined by a tier 2 method. It sends the same message to all the supervisors using the MCA notification service. An entity instance is created for the referral. One of financialTransactionSourceAccountVO or financialTransactionDestinationAccountVO parmeters must be populated.
Parameters:
supervisorCredentialsPO - UserCredentialsPO
financialTransactionCommonAttributesVO - FinancialTransactionCommonAttributesVO
financialTransactionSourceAccountVO - FinancialTransactionSourceAccountVO
financialTransactionDestinationAccountVO - FinancialTransactionDestinationAccountVO
supervisorOverrideReferralParameterObjectImpl - SupervisorOverrideReferralParameterObjectImpl
Returns:
SupervisorOverrideReferralParameterObjectImpl on success
Throws:
com.bankframe.ejb.ProcessingErrorException - This exception is thrown if processing fails

verifyLocalSupervisor

public void verifyLocalSupervisor(com.bankframe.po.shared.solutionset.impl.parameterobjects.UserCredentialsPO supervisorCredentialsPO,
                                  com.bankframe.vo.retail.solutionset.impl.financialtransactions.FinancialTransactionDestinationAccountVO financialTransactionDestinationAccountVO,
                                  com.bankframe.vo.retail.solutionset.impl.financialtransactions.FinancialTransactionSourceAccountVO financialTransactionSourceAccountVO,
                                  com.bankframe.vo.retail.solutionset.impl.financialtransactions.FinancialTransactionCommonAttributesVO financialTransactionCommonAttributesVO)
                           throws com.bankframe.ejb.ProcessingErrorException
Checks if the user is a supervisor and validates there password. It assumes that the supervisor limit will be checked when trying to submit the transaction, so does not check the entitlements
Parameters:
supervisorCredentialsPO - UserCredentialsPO
Throws:
com.bankframe.ejb.ProcessingErrorException - This exception is thrown if processing fails