com.siebel.rf.offline.data.journal
Class JournalFactory
java.lang.Object
|
+--com.siebel.rf.offline.branch.datastore.PersistedFactory
|
+--com.siebel.rf.offline.data.journal.JournalFactory
- public class JournalFactory
- extends PersistedFactory
The JournalFactory class
Method Summary |
static java.util.Collection |
findByCompanyCodeAndBranchCodeAndUserIdAndJournalDate(java.lang.String companyCode,
java.lang.String branchCode,
java.lang.String userId,
java.lang.String journalDate)
Returns the collection of Journal |
static Journal |
findByPrimaryKey(java.lang.String journalDate,
java.lang.String companyCode,
java.lang.String journalStartTime,
java.lang.String userId)
Returns Journal |
static Journal |
getJournal(java.lang.String journalDate,
java.lang.String companyCode,
java.lang.String journalStartTime,
java.lang.String userId)
Returns Journal |
static void |
purgeProcessedData()
Deletes processed data |
static Persisted |
store(Persisted persisted)
Updates Journal |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JournalFactory
public JournalFactory()
findByPrimaryKey
public static Journal findByPrimaryKey(java.lang.String journalDate,
java.lang.String companyCode,
java.lang.String journalStartTime,
java.lang.String userId)
throws FinderException
- Returns Journal
- Parameters:
journalDate
- StringcompanyCode
- StringjournalStartTime
- StringuserId
- String- Returns:
- the Journal based on primary key attributes
- Throws:
FinderException
- This exception is thrown if Journal not found
getJournal
public static Journal getJournal(java.lang.String journalDate,
java.lang.String companyCode,
java.lang.String journalStartTime,
java.lang.String userId)
throws com.bankframe.ejb.ProcessingErrorException
- Returns Journal
- Parameters:
journalDate
- StringcompanyCode
- StringjournalStartTime
- StringuserId
- String- Returns:
- Journal object based on primary key attributes
- Throws:
com.bankframe.ejb.ProcessingErrorException
- This exception is thrown if processing fails
findByCompanyCodeAndBranchCodeAndUserIdAndJournalDate
public static java.util.Collection findByCompanyCodeAndBranchCodeAndUserIdAndJournalDate(java.lang.String companyCode,
java.lang.String branchCode,
java.lang.String userId,
java.lang.String journalDate)
- Returns the collection of Journal
- Parameters:
companyCode
- StringbranchCode
- StringuserId
- StringjournalDate
- String- Returns:
- the collection of Journal based on companyCode, branchCode, userId and journalDate
store
public static Persisted store(Persisted persisted)
throws com.bankframe.validation.ValidationException
- Updates Journal
- Parameters:
persisted
- Persisted- Returns:
- Journal
purgeProcessedData
public static void purgeProcessedData()
- Deletes processed data