com.siebel.rf.offline.data.transactionfee
Class TransactionFeeFactory

java.lang.Object
  |
  +--com.siebel.rf.offline.branch.datastore.PersistedFactory
        |
        +--com.siebel.rf.offline.data.transactionfee.TransactionFeeFactory

public class TransactionFeeFactory
extends PersistedFactory

The TransactionFeeFactory class


Constructor Summary
TransactionFeeFactory()
           
 
Method Summary
static java.util.Collection findByCompanyCodeAndTransactionType(java.lang.String companyCode, java.lang.String transactionType)
          Returns collection of TransactionFees
static TransactionFee findByPrimaryKey(java.lang.String companyCode, java.lang.String transactionCode, java.lang.String accountType, java.lang.String customerType)
          Returns TransactionFee
static TransactionFee getTransactionFee(java.lang.String companyCode, java.lang.String transactionCode, java.lang.String accountType, java.lang.String customerType)
          Returns TransactionFee
static Persisted store(Persisted persisted)
          Updates the TransactionFee
 
Methods inherited from class com.siebel.rf.offline.branch.datastore.PersistedFactory
remove
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TransactionFeeFactory

public TransactionFeeFactory()
Method Detail

findByPrimaryKey

public static TransactionFee findByPrimaryKey(java.lang.String companyCode,
                                              java.lang.String transactionCode,
                                              java.lang.String accountType,
                                              java.lang.String customerType)
                                       throws FinderException
Returns TransactionFee
Parameters:
companyCode - String
transactionCode - String
accountType - String
customerType - String
Returns:
TransactionFee based on primary key attributes
Throws:
FinderException - This exception is thrown if batch not found

getTransactionFee

public static TransactionFee getTransactionFee(java.lang.String companyCode,
                                               java.lang.String transactionCode,
                                               java.lang.String accountType,
                                               java.lang.String customerType)
                                        throws com.bankframe.ejb.ProcessingErrorException
Returns TransactionFee
Parameters:
companyCode - String
transactionCode - String
accountType - String
customerType - String
Returns:
TransactionFee based on companyCode, transactionCode, accountType and customerType
Throws:
com.bankframe.ejb.ProcessingErrorException - This exception is thrown if processing fails

findByCompanyCodeAndTransactionType

public static java.util.Collection findByCompanyCodeAndTransactionType(java.lang.String companyCode,
                                                                       java.lang.String transactionType)
Returns collection of TransactionFees
Parameters:
companyCode - String
transactionType - String
Returns:
the collection of TransactionFees based on companyCode and transactionType

store

public static Persisted store(Persisted persisted)
                       throws com.bankframe.validation.ValidationException
Updates the TransactionFee
Parameters:
persisted - Persisted
Returns:
TransactionFee after updating the TransactionFee details
Throws:
com.bankframe.ejb.ProcessingErrorException - This exception is thrown if processing fails