com.siebel.rf.offline.request.handler.customersession
Class CustomerSessionHandler
java.lang.Object
|
+--com.siebel.rf.offline.branch.server.Handler
|
+--com.siebel.rf.offline.request.handler.customersession.CustomerSessionHandler
- All Implemented Interfaces:
- RequestHandler
- public class CustomerSessionHandler
- extends Handler
The handler class for CustomerSession
Method Summary |
java.util.Vector |
calculateGetCashAmounts(com.bankframe.vo.retail.solutionset.impl.financialtransactions.FinancialTransactionCommonAttributesVO financialTransactionCommonAttributesVO)
Calculates the amount to be paid to/received from the customer at the end of the Customer Session |
void |
completeCustomerSession(com.bankframe.vo.retail.solutionset.impl.financialtransactions.FinancialTransactionCommonAttributesVO financialTransactionCommonAttributesVO,
java.util.Vector financialTransactionCashInVOs,
java.util.Vector financialTransactionCashOutVOs,
com.bankframe.vo.retail.solutionset.impl.financialtransactions.FinancialTransactionForeignExchangeVO financialTransactionForeignExchangeVO)
Completes the CustomerSession, credits or debits a tellers cashbox and creates a journalentry for the pay/get
amount at the end of a customer session |
java.util.Vector |
handleRequest()
Handles the clients request in Online/Offline mode for the Branch |
java.lang.Double |
imCalculateCashAmount(com.bankframe.vo.retail.solutionset.impl.financialtransactions.FinancialTransactionCommonAttributesVO financialTransactionCommonAttributesVO)
Calculates the transaction amount |
java.util.Vector |
imGetCustomerSessionDetails(java.lang.String companyCode,
java.lang.String branchCode,
java.lang.String userId,
java.lang.String customerSessionId)
Retrieves the Customer Session details |
java.util.Vector |
retrieveCustomerSessionDetails(java.lang.String companyCode,
java.lang.String branchCode,
java.lang.String userId,
java.lang.String customerSessionId)
Retrieves the customer session details |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CustomerSessionHandler
public CustomerSessionHandler()
handleRequest
public java.util.Vector handleRequest()
throws com.bankframe.ejb.ProcessingErrorException,
com.bankframe.validation.ValidationException
- Handles the clients request in Online/Offline mode for the Branch
- Overrides:
handleRequest
in class Handler
- Returns:
- response Vector
- Throws:
com.bankframe.ejb.ProcessingErrorException
- This exception is thrown when processing failscom.bankframe.validation.ValidationException
- This exception is thrown if validation fails
retrieveCustomerSessionDetails
public java.util.Vector retrieveCustomerSessionDetails(java.lang.String companyCode,
java.lang.String branchCode,
java.lang.String userId,
java.lang.String customerSessionId)
throws com.bankframe.ejb.ProcessingErrorException,
com.bankframe.validation.ValidationException
- Retrieves the customer session details
- Parameters:
companyCode
- StringbranchCode
- StringuserId
- StringcustomerSessionId
- String- Returns:
- Vector containing customer session details
- Throws:
com.bankframe.ejb.ProcessingErrorException
- thrown on failure to do the taskcom.bankframe.validation.ValidationException
- is thrown when validation fails
imGetCustomerSessionDetails
public java.util.Vector imGetCustomerSessionDetails(java.lang.String companyCode,
java.lang.String branchCode,
java.lang.String userId,
java.lang.String customerSessionId)
throws com.bankframe.ejb.ProcessingErrorException,
com.bankframe.validation.ValidationException
- Retrieves the Customer Session details
- Parameters:
companyCode
- StringbranchCode
- StringuserId
- StringcustomerSessionId
- String- Returns:
- Vector containing customer session details
- Throws:
com.bankframe.ejb.ProcessingErrorException
- is thrown when processing failscom.bankframe.validation.ValidationException
- is thrown when validation fails
completeCustomerSession
public void completeCustomerSession(com.bankframe.vo.retail.solutionset.impl.financialtransactions.FinancialTransactionCommonAttributesVO financialTransactionCommonAttributesVO,
java.util.Vector financialTransactionCashInVOs,
java.util.Vector financialTransactionCashOutVOs,
com.bankframe.vo.retail.solutionset.impl.financialtransactions.FinancialTransactionForeignExchangeVO financialTransactionForeignExchangeVO)
throws com.bankframe.ejb.ProcessingErrorException,
com.bankframe.validation.ValidationException
- Completes the CustomerSession, credits or debits a tellers cashbox and creates a journalentry for the pay/get
amount at the end of a customer session
- Parameters:
financialTransactionCommonAttributesVO
- FinancialTransactionCommonAttributesVOfinancialTransactionCashInVOs
- VectorfinancialTransactionCashOutVOs
- Vector- Throws:
com.bankframe.ejb.ProcessingErrorException
- is thrown when processing failscom.bankframe.validation.ValidationException
- is thrown when validation fails
imCalculateCashAmount
public java.lang.Double imCalculateCashAmount(com.bankframe.vo.retail.solutionset.impl.financialtransactions.FinancialTransactionCommonAttributesVO financialTransactionCommonAttributesVO)
- Calculates the transaction amount
- Parameters:
financialTransactionCommonAttributesVO
- FinancialTransactionCommonAttributesVO- Returns:
- the transaction amount after calculation
calculateGetCashAmounts
public java.util.Vector calculateGetCashAmounts(com.bankframe.vo.retail.solutionset.impl.financialtransactions.FinancialTransactionCommonAttributesVO financialTransactionCommonAttributesVO)
throws com.bankframe.ejb.ProcessingErrorException,
com.bankframe.validation.ValidationException
- Calculates the amount to be paid to/received from the customer at the end of the Customer Session
- Parameters:
financialTransactionCommonAttributesVO
- FinancialTransactionCommonAttributesVO- Throws:
com.bankframe.ejb.ProcessingErrorException
- is thrown when processing failscom.bankframe.validation.ValidationException
- is thrown when validation fails