com.siebel.rf.offline.request.handler.ismaintainteller
Class IsMaintainTellerHandler

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

public class IsMaintainTellerHandler
extends Handler

The handler class for IsMaintainTeller


Constructor Summary
IsMaintainTellerHandler()
           
 
Method Summary
 java.util.Vector handleRequest()
          Handles the Request in Online/Offline mode for the Branch
 void imCloseTeller(Teller teller)
          Closes a teller who is not undertaking any teller operations but needs to undertake branch operations
 void imCloseTellerForEndOfBusinessDay(Teller teller, java.lang.String tellerEndOfBusinessDayRequired, java.lang.String tellerEndOfDayRequired)
          Closes the Teller at the End of the Business Day
 void imCloseTellerForEndOfDay(Teller teller)
          Sets the teller end of day flag
 java.lang.String imGetCurrentProcessingDateForUser(java.lang.String companyCode, java.lang.String userId)
          Returns current processing date for the user
 Teller imGetCurrentTellerObject(java.lang.String companyCode, java.lang.String branchCode, java.lang.String userId)
          Returns current Teller based on companyCode, branchcode and userId
 Teller imGetMostRecentTellerObject(java.lang.String companyCode, java.lang.String branchCode, java.lang.String userId)
          Gets the most recent Teller for the user for the current processing date and for the logged on branch and company code
 void imOpenTeller(Teller teller)
          Sets the TellerOpen Flag
 Teller imSetUpTellerForCurrentProcessingDate(java.lang.String companyCode, java.lang.String branchCode, java.lang.String userId, java.lang.String processingDate, java.lang.String workStationNo, java.lang.String cashboxId, java.lang.String holderPosition)
          Returns Teller for the current processing date if it exists or creates if it does not
 void imUpdateTellerHolderPosition(Teller teller, java.lang.String holderPosition)
          Updates the Teller Holder Position of the Teller to the Holder Position passed in
 void imUpdateUserProcessingDate(java.lang.String companyCode, java.lang.String branchCode, java.lang.String userId)
          Sets user's processing date with the current processing date
 void imUpdateUserProcessingDateForGoToNextDay(java.lang.String companyCode, java.lang.String userId)
          Updates the user's processing date to go to next day operation
 
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

IsMaintainTellerHandler

public IsMaintainTellerHandler()
Method Detail

handleRequest

public java.util.Vector handleRequest()
                               throws com.bankframe.ejb.ProcessingErrorException
Handles the Request in Online/Offline mode for the Branch
Overrides:
handleRequest in class Handler
Returns:
response
Throws:
com.bankframe.ejb.ProcessingErrorException - This exception is thrown if processing fails

imGetCurrentTellerObject

public Teller imGetCurrentTellerObject(java.lang.String companyCode,
                                       java.lang.String branchCode,
                                       java.lang.String userId)
                                throws com.bankframe.ejb.ProcessingErrorException,
                                       com.bankframe.validation.ValidationException
Returns current Teller based on companyCode, branchcode and userId
Parameters:
companyCode - String
branchCode - String
userId - String
Returns:
current Teller
Throws:
com.bankframe.ejb.ProcessingErrorException - This exception is thrown if processing fails
com.bankframe.validation.ValidationException - This exception is thrown if validation fails

imGetCurrentProcessingDateForUser

public java.lang.String imGetCurrentProcessingDateForUser(java.lang.String companyCode,
                                                          java.lang.String userId)
                                                   throws com.bankframe.ejb.ProcessingErrorException
Returns current processing date for the user
Parameters:
companyCode - String
userId - String
Returns:
processingDate for the user
Throws:
com.bankframe.ejb.ProcessingErrorException - This exception is thrown if processing fails

imUpdateUserProcessingDate

public void imUpdateUserProcessingDate(java.lang.String companyCode,
                                       java.lang.String branchCode,
                                       java.lang.String userId)
                                throws com.bankframe.ejb.ProcessingErrorException,
                                       com.bankframe.validation.ValidationException
Sets user's processing date with the current processing date
Parameters:
companyCode - String
branchCode - String
userId - String
Throws:
com.bankframe.ejb.ProcessingErrorException - This exception is thrown if processing fails
com.bankframe.validation.ValidationException - This exception is thrown if validation fails

imSetUpTellerForCurrentProcessingDate

public Teller imSetUpTellerForCurrentProcessingDate(java.lang.String companyCode,
                                                    java.lang.String branchCode,
                                                    java.lang.String userId,
                                                    java.lang.String processingDate,
                                                    java.lang.String workStationNo,
                                                    java.lang.String cashboxId,
                                                    java.lang.String holderPosition)
                                             throws com.bankframe.ejb.ProcessingErrorException,
                                                    com.bankframe.validation.ValidationException
Returns Teller for the current processing date if it exists or creates if it does not
Parameters:
companyCode - String
branchCode - String
userId - String
processingDate - String
workStationNo - String
cashboxId - String
holderPosition - String
Returns:
Teller for the current processing date if it exists or creates if it does not
Throws:
com.bankframe.ejb.ProcessingErrorException - This exception is thrown if processing fails
com.bankframe.validation.ValidationException - This exception is thrown if validation fails

imUpdateTellerHolderPosition

public void imUpdateTellerHolderPosition(Teller teller,
                                         java.lang.String holderPosition)
                                  throws com.bankframe.validation.ValidationException
Updates the Teller Holder Position of the Teller to the Holder Position passed in
Parameters:
teller - Teller
holderPosition - String
Throws:
com.bankframe.validation.ValidationException - This exception is thrown if validation fails

imOpenTeller

public void imOpenTeller(Teller teller)
                  throws com.bankframe.validation.ValidationException
Sets the TellerOpen Flag
Parameters:
teller - Teller
Throws:
com.bankframe.validation.ValidationException - This exception is thrown if validation fails

imUpdateUserProcessingDateForGoToNextDay

public void imUpdateUserProcessingDateForGoToNextDay(java.lang.String companyCode,
                                                     java.lang.String userId)
                                              throws com.bankframe.ejb.ProcessingErrorException,
                                                     com.bankframe.validation.ValidationException
Updates the user's processing date to go to next day operation
Parameters:
companyCode - String
userId - String
Throws:
com.bankframe.ejb.ProcessingErrorException - This exception is thrown if processing fails
com.bankframe.validation.ValidationException - This exception is thrown if validation fails

imGetMostRecentTellerObject

public Teller imGetMostRecentTellerObject(java.lang.String companyCode,
                                          java.lang.String branchCode,
                                          java.lang.String userId)
                                   throws com.bankframe.ejb.ProcessingErrorException
Gets the most recent Teller for the user for the current processing date and for the logged on branch and company code
Parameters:
companyCode - String
branchCode - String
userId - String
Returns:
the most recent Teller
Throws:
com.bankframe.ejb.ProcessingErrorException - This exception is thrown if processing fails

imCloseTellerForEndOfBusinessDay

public void imCloseTellerForEndOfBusinessDay(Teller teller,
                                             java.lang.String tellerEndOfBusinessDayRequired,
                                             java.lang.String tellerEndOfDayRequired)
                                      throws com.bankframe.ejb.ProcessingErrorException,
                                             com.bankframe.validation.ValidationException
Closes the Teller at the End of the Business Day
Parameters:
teller - Teller
tellerEndOfBusinessDayRequired - String
tellerEndOfDayRequired - String
Throws:
com.bankframe.ejb.ProcessingErrorException - This exception is thrown if processing fails
com.bankframe.validation.ValidationException - This exception is thrown if validation fails

imCloseTeller

public void imCloseTeller(Teller teller)
                   throws com.bankframe.ejb.ProcessingErrorException,
                          com.bankframe.validation.ValidationException
Closes a teller who is not undertaking any teller operations but needs to undertake branch operations
Parameters:
teller - Teller
Throws:
com.bankframe.ejb.ProcessingErrorException - This exception is thrown if processing fails
com.bankframe.validation.ValidationException - This exception is thrown if validation fails

imCloseTellerForEndOfDay

public void imCloseTellerForEndOfDay(Teller teller)
                              throws com.bankframe.ejb.ProcessingErrorException,
                                     com.bankframe.validation.ValidationException
Sets the teller end of day flag
Parameters:
teller - Teller
Throws:
com.bankframe.ejb.ProcessingErrorException - This exception is thrown if processing fails
com.bankframe.validation.ValidationException - This exception is thrown if validation fails