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
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CompanyCurrencyFactory
public CompanyCurrencyFactory()
findByPrimaryKey
public static CompanyCurrency findByPrimaryKey(java.lang.String companyCode,
java.lang.String currency)
throws FinderException
- Returns CompanyCurrency
- Parameters:
companyCode
- Stringcurrency
- 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
- Stringcurrency
- 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
- StringbaseCurrencyIndicator
- 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