com.siebel.rf.offline.request.handler.branchendofday
Class BranchEndOfDayHandler
java.lang.Object
|
+--com.siebel.rf.offline.branch.server.Handler
|
+--com.siebel.rf.offline.request.handler.branchendofday.BranchEndOfDayHandler
- All Implemented Interfaces:
- RequestHandler
- public class BranchEndOfDayHandler
- extends Handler
The handler class for BranchEndOfDay
Method Summary |
void |
completeBranchEndOfDay(java.lang.String companyCode,
java.lang.String branchCode,
java.lang.String userId)
Sets the Branch to closed at the end of day and create a record that this operation has been completed in the user's journal |
java.util.Vector |
handleRequest()
Handles the clients request in Online/Offline mode for the Branch |
void |
imCreateBranchCurrencyTotalsSnapshot(java.lang.String companyCode,
java.lang.String branchCode,
java.lang.String snapshotType)
Record the Branch Currency Totals at the end of day |
void |
imSetBranchClosed(java.lang.String companyCode,
java.lang.String branchCode)
Sets the BranchOpen to N and closes the Branch |
java.lang.Boolean |
imVerifyBranchEndOfDay(java.lang.String companyCode,
java.lang.String branchCode)
Verifies that the branch is in a position to run its end of day by checking that all tellers have completed their end of day |
java.util.Vector |
startBranchEndOfDay(java.lang.String companyCode,
java.lang.String branchCode,
java.lang.String userId)
Retrieve the cash position of the Branch at the end of the processing day |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BranchEndOfDayHandler
public BranchEndOfDayHandler()
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
startBranchEndOfDay
public java.util.Vector startBranchEndOfDay(java.lang.String companyCode,
java.lang.String branchCode,
java.lang.String userId)
throws com.bankframe.ejb.ProcessingErrorException,
com.bankframe.validation.ValidationException
- Retrieve the cash position of the Branch at the end of the processing day
- Parameters:
companyCode
- StringbranchCode
- StringuserId
- String- Returns:
- current processing date of branch and collection of BranchCurrencyTotals
- Throws:
com.bankframe.ejb.ProcessingErrorException
- This exception is thrown if processing failscom.bankframe.validation.ValidationException
- This exception is thrown if validation fails
completeBranchEndOfDay
public void completeBranchEndOfDay(java.lang.String companyCode,
java.lang.String branchCode,
java.lang.String userId)
throws com.bankframe.ejb.ProcessingErrorException,
com.bankframe.validation.ValidationException
- Sets the Branch to closed at the end of day and create a record that this operation has been completed in the user's journal
- Parameters:
companyCode
- StringbranchCode
- StringuserId
- StringtaskId
- String- Throws:
com.bankframe.ejb.ProcessingErrorException
- This exception is thrown if processing failscom.bankframe.validation.ValidationException
- This exception is thrown if validation fails
imVerifyBranchEndOfDay
public java.lang.Boolean imVerifyBranchEndOfDay(java.lang.String companyCode,
java.lang.String branchCode)
throws com.bankframe.ejb.ProcessingErrorException,
com.bankframe.validation.ValidationException
- Verifies that the branch is in a position to run its end of day by checking that all tellers have completed their end of day
- Parameters:
companyCode
- StringbranchCode
- String- Returns:
- Returns true if BranchEndOfDay can be done, else returns false
- Throws:
com.bankframe.ejb.ProcessingErrorException
- This exception is thrown if processing failscom.bankframe.validation.ValidationException
- This exception is thrown if validation fails
imCreateBranchCurrencyTotalsSnapshot
public void imCreateBranchCurrencyTotalsSnapshot(java.lang.String companyCode,
java.lang.String branchCode,
java.lang.String snapshotType)
throws com.bankframe.ejb.ProcessingErrorException,
com.bankframe.validation.ValidationException
- Record the Branch Currency Totals at the end of day
- Parameters:
companyCode
- StringbranchCode
- StringsnapshotType
- String- Throws:
com.bankframe.ejb.ProcessingErrorException
- This exception is thrown if processing failscom.bankframe.validation.ValidationException
- This exception is thrown if validation fails
imSetBranchClosed
public void imSetBranchClosed(java.lang.String companyCode,
java.lang.String branchCode)
throws com.bankframe.ejb.ProcessingErrorException,
com.bankframe.validation.ValidationException
- Sets the BranchOpen to N and closes the Branch
- Parameters:
companyCode
- StringbranchCode
- String- Throws:
com.bankframe.ejb.ProcessingErrorException
- This exception is thrown if processing failscom.bankframe.validation.ValidationException
- This exception is thrown if validation fails