1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 package org.kuali.ole.gl.batch.dataaccess;
17
18 import java.sql.Timestamp;
19
20 import org.kuali.ole.gl.businessobject.AccountBalance;
21 import org.kuali.ole.gl.businessobject.Balance;
22 import org.kuali.ole.gl.businessobject.Encumbrance;
23 import org.kuali.ole.gl.businessobject.Entry;
24 import org.kuali.ole.gl.businessobject.ExpenditureTransaction;
25 import org.kuali.ole.gl.businessobject.Reversal;
26 import org.kuali.ole.gl.businessobject.SufficientFundBalances;
27 import org.kuali.ole.gl.businessobject.Transaction;
28 import org.kuali.ole.sys.batch.dataaccess.PreparedStatementCachingDao;
29
30 public interface LedgerPreparedStatementCachingDao extends PreparedStatementCachingDao {
31 public int getMaxSequenceNumber(Transaction t);
32
33
34 public Balance getBalance(Transaction t);
35
36 public void insertBalance(Balance balance, Timestamp currentTimestamp);
37
38 public void updateBalance(Balance balance, Timestamp currentTimestamp);
39
40 public Encumbrance getEncumbrance(Entry entry);
41
42 public void insertEncumbrance(Encumbrance encumbrance, Timestamp currentTimestamp);
43
44 public void updateEncumbrance(Encumbrance encumbrance, Timestamp currentTimestamp);
45
46 public ExpenditureTransaction getExpenditureTransaction(Transaction t);
47
48 public void insertExpenditureTransaction(ExpenditureTransaction expenditureTransaction);
49
50 public void updateExpenditureTransaction(ExpenditureTransaction expenditureTransaction);
51
52 public SufficientFundBalances getSufficientFundBalances(Integer universityFiscalYear, String chartOfAccountsCode, String accountNumber, String financialObjectCode);
53
54 public void insertSufficientFundBalances(SufficientFundBalances sufficientFundBalances, Timestamp currentTimestamp);
55
56 public void updateSufficientFundBalances(SufficientFundBalances sufficientFundBalances, Timestamp currentTimestamp);
57
58 public AccountBalance getAccountBalance(Transaction t);
59
60 public void insertAccountBalance(AccountBalance accountBalance, Timestamp currentTimestamp);
61
62 public void updateAccountBalance(AccountBalance accountBalance, Timestamp currentTimestamp);
63
64
65 public void insertReversal(Reversal reversal);
66
67 public void insertEntry(Entry entry, Timestamp currentTimestamp);
68 }