com.siebel.rf.offline.data.negotiableinstrumentbox
Class NegotiableInstrumentBoxFactory

java.lang.Object
  |
  +--com.siebel.rf.offline.branch.datastore.PersistedFactory
        |
        +--com.siebel.rf.offline.data.negotiableinstrumentbox.NegotiableInstrumentBoxFactory

public class NegotiableInstrumentBoxFactory
extends PersistedFactory

The NegotiableInstrumentBoxFactory class


Constructor Summary
NegotiableInstrumentBoxFactory()
           
 
Method Summary
static java.util.Collection findByCompanyCodeAndBranchCodeAndCashBoxId(java.lang.String companyCode, java.lang.String branchCode, java.lang.String cashBoxId)
          Returns collection of NegotiableInstrumentBox
static java.util.Collection findByCompanyCodeAndBranchCodeAndCashBoxIdAndNegotiableInstrumentTypeAndCurrency(java.lang.String companyCode, java.lang.String branchCode, java.lang.String cashBoxId, java.lang.String negotiableInstrumentType, java.lang.String currency)
          Returns collection of NegotiableInstrumentBox
static NegotiableInstrumentBox findByPrimaryKey(java.lang.String companyCode, java.lang.String branchCode, java.lang.String negotiableInstrumentBoxId, java.lang.String cashBoxId)
          Returns NegotiableInstrumentBox
static NegotiableInstrumentBox getNegotiableInstrumentBox(java.lang.String companyCode, java.lang.String branchCode, java.lang.String negotiableInstrumentBoxId, java.lang.String cashBoxId)
          Returns NegotiableInstrumentBox
static Persisted store(Persisted persisted)
          Updates NegotiableInstrumentBox
 
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

NegotiableInstrumentBoxFactory

public NegotiableInstrumentBoxFactory()
Method Detail

findByPrimaryKey

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

getNegotiableInstrumentBox

public static NegotiableInstrumentBox getNegotiableInstrumentBox(java.lang.String companyCode,
                                                                 java.lang.String branchCode,
                                                                 java.lang.String negotiableInstrumentBoxId,
                                                                 java.lang.String cashBoxId)
                                                          throws com.bankframe.ejb.ProcessingErrorException
Returns NegotiableInstrumentBox
Parameters:
companyCode -  
branchCode -  
negotiableInstrumentBoxId -  
cashBoxId -  
Returns:
NegotiableInstrumentBox based on companyCode, branchCode, negotiableInstrumentBoxId and cashBoxId
Throws:
com.bankframe.ejb.ProcessingErrorException - This exception is thrown if processing fails

findByCompanyCodeAndBranchCodeAndCashBoxIdAndNegotiableInstrumentTypeAndCurrency

public static java.util.Collection findByCompanyCodeAndBranchCodeAndCashBoxIdAndNegotiableInstrumentTypeAndCurrency(java.lang.String companyCode,
                                                                                                                    java.lang.String branchCode,
                                                                                                                    java.lang.String cashBoxId,
                                                                                                                    java.lang.String negotiableInstrumentType,
                                                                                                                    java.lang.String currency)
Returns collection of NegotiableInstrumentBox
Parameters:
companyCode - String
branchCode - String
cashBoxId - String
negotiableInstrumentType - String
currency - String
Returns:
collection of NegotiableInstrumentBox based on companyCode, branchCode, cashBoxId, negotiableInstrumentType and currency

findByCompanyCodeAndBranchCodeAndCashBoxId

public static java.util.Collection findByCompanyCodeAndBranchCodeAndCashBoxId(java.lang.String companyCode,
                                                                              java.lang.String branchCode,
                                                                              java.lang.String cashBoxId)
Returns collection of NegotiableInstrumentBox
Parameters:
companyCode - String
branchCode - String
cashBoxId - String
Returns:
collection of NegotiableInstrumentBox based on companyCode, branchCode and cashBoxId

store

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