com.siebel.rf.offline.data.companycurrency
Class CompanyCurrencyFactory

java.lang.Object
  |
  +--com.siebel.rf.offline.branch.datastore.PersistedFactory
        |
        +--com.siebel.rf.offline.data.companycurrency.CompanyCurrencyFactory

public class CompanyCurrencyFactory
extends PersistedFactory

The CompanyCurrencyFactory class


Constructor Summary
CompanyCurrencyFactory()
           
 
Method Summary
static java.util.Collection findByCompanyCodeAndBaseCurrencyIndicator(java.lang.String companyCode, java.lang.String baseCurrencyIndicator)
          Returns CompanyCurrency
static CompanyCurrency findByPrimaryKey(java.lang.String companyCode, java.lang.String currency)
          Returns CompanyCurrency
static CompanyCurrency getCompanyCurrency(java.lang.String companyCode, java.lang.String currency)
          Returns CompanyCurrency
static Persisted store(Persisted persisted)
          Updates CompanyCurrency
 
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

CompanyCurrencyFactory

public CompanyCurrencyFactory()
Method Detail

findByPrimaryKey

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

getCompanyCurrency

public static CompanyCurrency getCompanyCurrency(java.lang.String companyCode,
                                                 java.lang.String currency)
                                          throws com.bankframe.ejb.ProcessingErrorException
Returns CompanyCurrency
Parameters:
companyCode - String
currency - String
Returns:
an instance of CompanyCurrency
Throws:
com.bankframe.ejb.ProcessingErrorException - This exception is thrown if processing fails

findByCompanyCodeAndBaseCurrencyIndicator

public static java.util.Collection findByCompanyCodeAndBaseCurrencyIndicator(java.lang.String companyCode,
                                                                             java.lang.String baseCurrencyIndicator)
Returns CompanyCurrency
Parameters:
companyCode - String
baseCurrencyIndicator - String
Returns:
the CompanyCurrency based on companyCode and baseCurrencyIndicator

store

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