com.siebel.rf.offline.data.currency
Class CurrencyFactory

java.lang.Object
  |
  +--com.siebel.rf.offline.branch.datastore.PersistedFactory
        |
        +--com.siebel.rf.offline.data.currency.CurrencyFactory

public class CurrencyFactory
extends PersistedFactory

The CurrencyFactory class


Constructor Summary
CurrencyFactory()
           
 
Method Summary
static Currency findByPrimaryKey(java.lang.String currency)
          Returns the Currency
static Currency getCurrency(java.lang.String currency)
          Returns Currency
static Persisted store(Persisted persisted)
          Updates Currency
 
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

CurrencyFactory

public CurrencyFactory()
Method Detail

findByPrimaryKey

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

getCurrency

public static Currency getCurrency(java.lang.String currency)
                            throws com.bankframe.ejb.ProcessingErrorException
Returns Currency
Parameters:
currency - String
Returns:
an instance of the Currency
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 Currency
Parameters:
persisted - Persisted
Returns:
Currency