com.siebel.rf.offline.request.handler.logon
Class LogonHandler

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

public class LogonHandler
extends Handler

The handler class for LogonHandler


Constructor Summary
LogonHandler()
           
 
Method Summary
 com.bankframe.po.retail.solutionset.actoruser.ActorUserPO createActorUserPO(User user)
          Creates and return an object of ActorUserPO from the dataPacket passed in
 java.util.Vector handleRequest()
          Handles the Request in Online/Offline mode for the Branch
 void logoffTellerUser(com.bankframe.po.shared.solutionset.impl.parameterobjects.UserCredentialsPO userCredentialsPO, java.lang.String branchCode)
          Attempts to logoff a TellerUser to a particular branch.
 void logoffTellerUserTemporarily(User user, java.lang.String branchCode)
          Logs a TellerUser off temporarily.
 com.bankframe.po.retail.solutionset.impl.actoruser.ActorUserPOImpl logonTellerUser(com.bankframe.po.shared.solutionset.impl.parameterobjects.UserCredentialsPO userCredentialsPO, java.lang.String branchCode)
          Attempts to logon a TellerUser to a particular branch.
 
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

LogonHandler

public LogonHandler()
Method Detail

handleRequest

public java.util.Vector handleRequest()
                               throws com.bankframe.ejb.ProcessingErrorException,
                                      com.bankframe.validation.ValidationException
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
com.bankframe.validation.ValidationException - This exception is thrown if validation fails

logonTellerUser

public com.bankframe.po.retail.solutionset.impl.actoruser.ActorUserPOImpl logonTellerUser(com.bankframe.po.shared.solutionset.impl.parameterobjects.UserCredentialsPO userCredentialsPO,
                                                                                          java.lang.String branchCode)
                                                                                   throws com.bankframe.ejb.ProcessingErrorException,
                                                                                          com.bankframe.validation.ValidationException
Attempts to logon a TellerUser to a particular branch. The method validate the TellerUser's logon credential. It also ensures the branch the TellerUser is trying to logon to is the branch associated with this TellerUser.
Parameters:
userCredentialsPO - UserCredentialsPO
branchCode - String
Returns:
ActorUserPOImpl
Throws:
com.bankframe.ejb.ProcessingErrorException - This exception is thrown if processing fails
com.bankframe.validation.ValidationException - This exception is thrown if validation fails

createActorUserPO

public com.bankframe.po.retail.solutionset.actoruser.ActorUserPO createActorUserPO(User user)
                                                                            throws com.bankframe.ejb.ProcessingErrorException
Creates and return an object of ActorUserPO from the dataPacket passed in
Parameters:
user - User
Returns:
ActorUserPOImpl
Throws:
com.bankframe.ejb.ProcessingErrorException - This exception is thrown if processing fails

logoffTellerUser

public void logoffTellerUser(com.bankframe.po.shared.solutionset.impl.parameterobjects.UserCredentialsPO userCredentialsPO,
                             java.lang.String branchCode)
                      throws com.bankframe.ejb.ProcessingErrorException,
                             com.bankframe.validation.ValidationException
Attempts to logoff a TellerUser to a particular branch. This method ensures that a TellerEndOfDay is not required. If the user is a supervisor they will be unregistered from the notification server
Parameters:
userCredentialsPO - UserCredentialsPO
taskId - String
branchCode - String
Throws:
com.bankframe.ejb.ProcessingErrorException - This exception is thrown if processing fails

logoffTellerUserTemporarily

public void logoffTellerUserTemporarily(User user,
                                        java.lang.String branchCode)
                                 throws com.bankframe.ejb.ProcessingErrorException,
                                        com.bankframe.validation.ValidationException
Logs a TellerUser off temporarily. It also unregisters the user from the Notification server if the Teller is a supervisor
Parameters:
user - User
branchCode - String
taskId - String
Throws:
com.bankframe.ejb.ProcessingErrorException - This exception is thrown if processing fails
com.bankframe.validation.ValidationException - This exception is thrown if validation fails