com.siebel.rf.offline.data.branchcurrencytotals
Class BranchCurrencyTotalsFactory

java.lang.Object
  |
  +--com.siebel.rf.offline.branch.datastore.PersistedFactory
        |
        +--com.siebel.rf.offline.data.branchcurrencytotals.BranchCurrencyTotalsFactory

public class BranchCurrencyTotalsFactory
extends PersistedFactory

The BranchCurrencyTotalsFactory class


Constructor Summary
BranchCurrencyTotalsFactory()
           
 
Method Summary
static java.util.Collection findByCompanyCodeAndBranchCode(java.lang.String companyCode, java.lang.String branchCode)
          Returns collection of BranchCurrencyTotals
static BranchCurrencyTotals findByPrimaryKey(java.lang.String companyCode, java.lang.String currency, java.lang.String branchCode)
          Returns BranchCurrencyTotals
static BranchCurrencyTotals getBranchCurrencyTotals(java.lang.String companyCode, java.lang.String currency, java.lang.String branchCode)
          Returns BranchCurrencyTotals
static Persisted store(Persisted persisted)
          Updates BranchCurrencyTotals
 
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

BranchCurrencyTotalsFactory

public BranchCurrencyTotalsFactory()
Method Detail

findByPrimaryKey

public static BranchCurrencyTotals findByPrimaryKey(java.lang.String companyCode,
                                                    java.lang.String currency,
                                                    java.lang.String branchCode)
                                             throws FinderException
Returns BranchCurrencyTotals
Parameters:
companyCode - String
currency - String
branchCode - String
Returns:
the BranchCurrencyTotals based on primary key attributes
Throws:
FinderException - This exception is thrown if BranchCurrencyTotals not found

getBranchCurrencyTotals

public static BranchCurrencyTotals getBranchCurrencyTotals(java.lang.String companyCode,
                                                           java.lang.String currency,
                                                           java.lang.String branchCode)
                                                    throws com.bankframe.ejb.ProcessingErrorException
Returns BranchCurrencyTotals
Parameters:
companyCode - String
currency - String
branchCode - String
Returns:
the instance of BranchCurrencyTotals w.r.t currency in a branch

findByCompanyCodeAndBranchCode

public static java.util.Collection findByCompanyCodeAndBranchCode(java.lang.String companyCode,
                                                                  java.lang.String branchCode)
Returns collection of BranchCurrencyTotals
Parameters:
companyCode - String
branchCode - String
Returns:
the collection of BranchCurrencyTotals based on companyCode & branchCode

store

public static Persisted store(Persisted persisted)
                       throws com.bankframe.validation.ValidationException
Updates BranchCurrencyTotals
Parameters:
persisted - Persisted
Returns:
BranchCurrencyTotals