com.siebel.rf.offline.utilities
Class Utilities

java.lang.Object
  |
  +--com.bankframe.util.retail.solutionset.utilities.Utilities
        |
        +--com.bankframe.util.retail.solutionset.impl.utilities.Utilities
              |
              +--com.siebel.rf.offline.utilities.Utilities

public class Utilities
extends com.bankframe.util.retail.solutionset.impl.utilities.Utilities

The Utilities class


Field Summary
static java.util.Vector PING_REQUEST_VECTOR
           
 
Fields inherited from class com.bankframe.util.retail.solutionset.utilities.Utilities
DECIMAL_PLACES
 
Constructor Summary
Utilities()
           
 
Method Summary
static int checkResponse(java.util.Vector result)
          Checks the response to determine if the server is up or not.
static java.lang.String getAdjusteddate(java.lang.String dateToAdjust, int numberOfDaysToAdjust)
           
static java.lang.String getDateDifference()
          Returns the date after deducting number of days from the current date
static boolean isAValidResponse(java.util.Vector response)
          This method checks whetther the response is valid or not
 
Methods inherited from class com.bankframe.util.retail.solutionset.utilities.Utilities
addDoublesUsingBigDecimal, adjustTimeForTimeDifference, calculateFinalPaymentDate, compareDates, compareTime, convertBankFrameMessageValidationExceptionToProcessingErrorException, convertDoubleToString, convertDoubleToString, convertLongToString, convertValidationExceptionToProcessingErrorException, getAccountTypeForAccountNumber, getCurrentDate, getCurrentTime, getDiffernceBetweenTwoDates, getErrorNumberFromException, getFormattedDoubleValue, getInputtedDateString, getLastDateOfMonth, getLastDayOfMonth, getNumberOfDaysBetweenTwoDays, getOutputtedDateString, getRecentTime, getSystemDate, getSystemTime, isDateAfter, isDateOnlyAfterOrEqual, isSuperVisorOverrideRequired, isTimeOnlyAfterOrEqual, multiplyDoublesUsingBigDecimal, printTransactionDetails, subtractDoublesUsingBigDecimal, sumUpCurrencyAmount, verifyDataPacketkey
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PING_REQUEST_VECTOR

public static java.util.Vector PING_REQUEST_VECTOR
Constructor Detail

Utilities

public Utilities()
Method Detail

checkResponse

public static int checkResponse(java.util.Vector result)
Checks the response to determine if the server is up or not.
Parameters:
result - Vector
Returns:
int indicating whether the logon was successful, failed or no server responsed.

isAValidResponse

public static boolean isAValidResponse(java.util.Vector response)
This method checks whetther the response is valid or not
Parameters:
response - Vector
Returns:
Boolean indicating whether the response is Valid or Not

getDateDifference

public static java.lang.String getDateDifference()
Returns the date after deducting number of days from the current date
Returns:
date after deducting number of days

getAdjusteddate

public static java.lang.String getAdjusteddate(java.lang.String dateToAdjust,
                                               int numberOfDaysToAdjust)
                                        throws com.bankframe.ejb.ProcessingErrorException