com.siebel.rf.offline.data.branchcurrencytotalssnapshot
Class BranchCurrencyTotalsSnapshotFactory

java.lang.Object
  |
  +--com.siebel.rf.offline.branch.datastore.PersistedFactory
        |
        +--com.siebel.rf.offline.data.branchcurrencytotalssnapshot.BranchCurrencyTotalsSnapshotFactory

public class BranchCurrencyTotalsSnapshotFactory
extends PersistedFactory

The BranchCurrencyTotalsSnapshotFactory class


Constructor Summary
BranchCurrencyTotalsSnapshotFactory()
           
 
Method Summary
static BranchCurrencyTotalsSnapshot findByPrimaryKey(java.lang.String branchCode, java.lang.String companyCode, java.lang.String currency, java.lang.String snapshotType, java.lang.String date)
          Returns BranchCurrencyTotalsSnapshot
static BranchCurrencyTotalsSnapshot getBranchCurrencyTotalsSnapshot(java.lang.String branchCode, java.lang.String companyCode, java.lang.String currency, java.lang.String snapshotType, java.lang.String date)
          Returns BranchCurrencyTotalsSnapshot
static Persisted store(Persisted persisted)
          Updates BranchCurrencyTotalsSnapshot
 
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

BranchCurrencyTotalsSnapshotFactory

public BranchCurrencyTotalsSnapshotFactory()
Method Detail

findByPrimaryKey

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

getBranchCurrencyTotalsSnapshot

public static BranchCurrencyTotalsSnapshot getBranchCurrencyTotalsSnapshot(java.lang.String branchCode,
                                                                           java.lang.String companyCode,
                                                                           java.lang.String currency,
                                                                           java.lang.String snapshotType,
                                                                           java.lang.String date)
                                                                    throws com.bankframe.ejb.ProcessingErrorException
Returns BranchCurrencyTotalsSnapshot
Parameters:
branchCode - String
companyCode - String
currency - String
snapshotType - String
date - String
Returns:
the instance of BranchCurrencyTotalsSnapshot based on currency in a branch
Throws:
com.bankframe.ejb.ProcessingErrorException - This exception is thrown if processing fails

store

public static Persisted store(Persisted persisted)
                       throws com.bankframe.validation.ValidationException
Updates BranchCurrencyTotalsSnapshot
Parameters:
persisted - Persisted
Returns:
BranchCurrencyTotalsSnapshot
Throws:
com.bankframe.validation.ValidationException - This exception is thrown if validation fails