org.kuali.kfs.gl.dataaccess
Interface EntryDao

All Known Implementing Classes:
EntryDaoOjb

public interface EntryDao

A surprisingly small DAO interface that declares methods to help Entries interact with the database


Method Summary
 void addEntry(Transaction t, Date postDate)
          Add a new transaction to the database
 int getMaxSequenceNumber(Transaction t)
          Get the max sequence number currently used for a transaction
 void purgeYearByChart(String chart, int year)
          Purge the entry table by chart/year
 

Method Detail

addEntry

void addEntry(Transaction t,
              Date postDate)
Add a new transaction to the database

Parameters:
t - the transaction to save
postDate - the officially reported posting date

getMaxSequenceNumber

int getMaxSequenceNumber(Transaction t)
Get the max sequence number currently used for a transaction

Parameters:
t - the transaction to check
Returns:
the max sequence number

purgeYearByChart

void purgeYearByChart(String chart,
                      int year)
Purge the entry table by chart/year

Parameters:
chart - the chart of accounts code of entries to purge
year - the university fiscal year of entries to purge


Copyright © 2005-2012 The Kuali Foundation. All Rights Reserved.