com.siebel.rf.offline.data.company
Class CompanyFactory

java.lang.Object
  |
  +--com.siebel.rf.offline.branch.datastore.PersistedFactory
        |
        +--com.siebel.rf.offline.data.company.CompanyFactory

public class CompanyFactory
extends PersistedFactory

The CompanyFactory class


Constructor Summary
CompanyFactory()
           
 
Method Summary
static Company findByPrimaryKey(java.lang.String companyCode)
          Returns Company
static Company getCompany(java.lang.String companyCode)
          Returns Company
static Persisted store(Persisted persisted)
          Updates Company
 
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

CompanyFactory

public CompanyFactory()
Method Detail

findByPrimaryKey

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

getCompany

public static Company getCompany(java.lang.String companyCode)
                          throws com.bankframe.ejb.ProcessingErrorException
Returns Company
Parameters:
companyCode -  
Returns:
an instance of Company based on companyCode
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 Company
Parameters:
persisted - Persisted
Returns:
Company
Throws:
com.bankframe.validation.ValidationException - This exception is thrown if validation fails