com.siebel.rf.offline.request.handler.entitlementsadapter
Class EntitlementsAdapterHandler

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

public class EntitlementsAdapterHandler
extends Handler

The handler class for EntitlementsAdapter


Constructor Summary
EntitlementsAdapterHandler()
           
 
Method Summary
 java.lang.Boolean canActorPerformTaskOnChannel(java.lang.String companyCode, java.lang.String userId, java.lang.String taskId, java.lang.String channelId)
          Returns a boolean value after checking whether user can perform the task or not in canActorPerformTaskOnChannel
 java.lang.Boolean canActorPerformTaskOnChannelKrishan(java.lang.String companyCode, java.lang.String userId, java.lang.String taskId, java.lang.String channelId)
          Returns a boolean value after checking whether user can perform the task or not in canActorPerformTaskOnChannel
 java.util.Vector handleIsActorOrAuthorisorLimitExceeded(com.bankframe.bo.DataPacket dataPacket)
          Extracts data from client request and calls the isActorOrAuthorisorLimitExceeded process
 java.util.Vector handleRequest()
          Handles the clients request in Online/Offline mode for the Branch
 java.util.Vector imGetAllRolesForActors(java.lang.String actorId, java.lang.String accessProviderId)
          Returns the allRolesForActors returned by imGetAllRolesForActors
 java.util.Vector imGetLimitPrivilegeRulesByTaskIdAndChannelId(java.lang.String accessProviderId, java.lang.String taskId, java.lang.String channelId)
          Returns the limitPrivilegeRules returned by imGetLimitPrivilegeRulesByTaskIdAndChannelId
 java.util.Vector imGetPrivilegeStructureRulesByTaskIdAndChannelId(java.lang.String accessProviderId, java.lang.String taskId, java.lang.String channelId)
          Returns the privilegeStructureRules returned by imGetPrivilegeStructureRulesByTaskIdAndChannelId
 boolean imIsActorOrAuthorisorLimitExceeded(com.bankframe.vo.retail.solutionset.impl.limitcheck.LimitCheckVO limitCheckVO)
          Returns a boolean values after checking if a user has privilege to perform the task
 java.lang.Boolean isActorOrAuthorisorLimitExceeded(java.lang.String companyCode, java.lang.String userId, java.lang.String taskId, java.lang.String channelId, java.lang.String transactionCurrency, java.lang.Double transactionAmount)
          Returns a boolean value after checking the transactionLimit for the user in isActorOrAuthorisorLimitExceeded
 java.util.Vector retrievePrivilegesForActorForTaskAndChannelAndLimitType(java.lang.String accessProviderId, java.lang.String taskId, java.lang.String channelId, java.lang.String limitType)
          Returns the privilegesForActorForTaskAndChannelAndLimitType returned by retrievePrivilegesForActorForTaskAndChannelAndLimitType
 
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

EntitlementsAdapterHandler

public EntitlementsAdapterHandler()
Method Detail

handleRequest

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

canActorPerformTaskOnChannelKrishan

public java.lang.Boolean canActorPerformTaskOnChannelKrishan(java.lang.String companyCode,
                                                             java.lang.String userId,
                                                             java.lang.String taskId,
                                                             java.lang.String channelId)
                                                      throws com.bankframe.ejb.ProcessingErrorException
Returns a boolean value after checking whether user can perform the task or not in canActorPerformTaskOnChannel
Parameters:
companyCode - String
userId - String
taskId - String
channelId - String
Returns:
boolean value indicating whether user can perform task
Throws:
com.bankframe.ejb.ProcessingErrorException - is thrown when processing fails

canActorPerformTaskOnChannel

public java.lang.Boolean canActorPerformTaskOnChannel(java.lang.String companyCode,
                                                      java.lang.String userId,
                                                      java.lang.String taskId,
                                                      java.lang.String channelId)
                                               throws com.bankframe.ejb.ProcessingErrorException
Returns a boolean value after checking whether user can perform the task or not in canActorPerformTaskOnChannel
Parameters:
companyCode - String
userId - String
taskId - String
channelId - String
Returns:
boolean value indicating whether user can perform task
Throws:
com.bankframe.ejb.ProcessingErrorException - is thrown when processing fails

imGetPrivilegeStructureRulesByTaskIdAndChannelId

public java.util.Vector imGetPrivilegeStructureRulesByTaskIdAndChannelId(java.lang.String accessProviderId,
                                                                         java.lang.String taskId,
                                                                         java.lang.String channelId)
                                                                  throws com.bankframe.ejb.ProcessingErrorException
Returns the privilegeStructureRules returned by imGetPrivilegeStructureRulesByTaskIdAndChannelId
Parameters:
accessProviderId - String
taskId - String
channelId - String
Returns:
Vector of consolidatedPrivsForRoles
Throws:
com.bankframe.ejb.ProcessingErrorException - is thrown when processing fails

imGetLimitPrivilegeRulesByTaskIdAndChannelId

public java.util.Vector imGetLimitPrivilegeRulesByTaskIdAndChannelId(java.lang.String accessProviderId,
                                                                     java.lang.String taskId,
                                                                     java.lang.String channelId)
                                                              throws com.bankframe.ejb.ProcessingErrorException
Returns the limitPrivilegeRules returned by imGetLimitPrivilegeRulesByTaskIdAndChannelId
Parameters:
accessProviderId - String
taskId - String
channelId - String
Returns:
Vector of consolidatedPrivsForRoles
Throws:
com.bankframe.ejb.ProcessingErrorException - is thrown when processing fails

handleIsActorOrAuthorisorLimitExceeded

public java.util.Vector handleIsActorOrAuthorisorLimitExceeded(com.bankframe.bo.DataPacket dataPacket)
                                                        throws com.bankframe.ejb.ProcessingErrorException
Extracts data from client request and calls the isActorOrAuthorisorLimitExceeded process
Parameters:
dataPacket - DataPacket
Returns:
the Message whether Actor or Authorisor Limit Exceeds or not
Throws:
com.bankframe.ejb.ProcessingErrorException - is thrown when processing fails

isActorOrAuthorisorLimitExceeded

public java.lang.Boolean isActorOrAuthorisorLimitExceeded(java.lang.String companyCode,
                                                          java.lang.String userId,
                                                          java.lang.String taskId,
                                                          java.lang.String channelId,
                                                          java.lang.String transactionCurrency,
                                                          java.lang.Double transactionAmount)
                                                   throws com.bankframe.ejb.ProcessingErrorException
Returns a boolean value after checking the transactionLimit for the user in isActorOrAuthorisorLimitExceeded
Parameters:
companyCode - String
userId - String
taskId - String
channelId - String
transactionCurrency - String
transactionAmount - Double
Returns:
true if Actor or Authorisor Limit Exceeds, false otherwise
Throws:
com.bankframe.ejb.ProcessingErrorException - is thrown when processing fails

imIsActorOrAuthorisorLimitExceeded

public boolean imIsActorOrAuthorisorLimitExceeded(com.bankframe.vo.retail.solutionset.impl.limitcheck.LimitCheckVO limitCheckVO)
                                           throws com.bankframe.ejb.ProcessingErrorException
Returns a boolean values after checking if a user has privilege to perform the task
Parameters:
limitCheckVO - LimitcheckVO
Returns:
true if Actor or Authorisor Limit Exceeds, false otherwise
Throws:
com.bankframe.ejb.ProcessingErrorException - is thrown when processing fails

retrievePrivilegesForActorForTaskAndChannelAndLimitType

public java.util.Vector retrievePrivilegesForActorForTaskAndChannelAndLimitType(java.lang.String accessProviderId,
                                                                                java.lang.String taskId,
                                                                                java.lang.String channelId,
                                                                                java.lang.String limitType)
                                                                         throws com.bankframe.ejb.ProcessingErrorException
Returns the privilegesForActorForTaskAndChannelAndLimitType returned by retrievePrivilegesForActorForTaskAndChannelAndLimitType
Parameters:
accessProviderId - String
taskId - String
channelId - String
limitType - String
Returns:
Vector of consolidatedPrivsForRoles
Throws:
com.bankframe.ejb.ProcessingErrorException - is thrown when processing fails

imGetAllRolesForActors

public java.util.Vector imGetAllRolesForActors(java.lang.String actorId,
                                               java.lang.String accessProviderId)
                                        throws com.bankframe.ejb.ProcessingErrorException
Returns the allRolesForActors returned by imGetAllRolesForActors
Parameters:
actorId - String
accessProviderId - String
Returns:
Vector of allRolesForActors
Throws:
com.bankframe.ejb.ProcessingErrorException - is thrown when processing fails