org.kuali.kfs.sys.dataaccess
Interface UniversityDateDao

All Known Implementing Classes:
UniversityDateDaoOjb

public interface UniversityDateDao

An DAO interface declaring methods needed by UniversityDates to interact with the database


Method Summary
 Collection getAccountingPeriodCode()
          Returns all distinct accounting period codes from the table
 UniversityDate getByPrimaryKey(Date date)
          Returns a university date record based on a given java.sql.Date
 UniversityDate getByPrimaryKey(Date date)
          Returns a university date record based on java.util.Date
 UniversityDate getFirstFiscalYearDate(Integer fiscalYear)
          Returns the first university date for a given fiscal year
 UniversityDate getLastFiscalYearDate(Integer fiscalYear)
          Returns the last university date for a given fiscal year
 

Method Detail

getByPrimaryKey

UniversityDate getByPrimaryKey(Date date)
Returns a university date record based on a given java.sql.Date

Parameters:
date - a Date to find the corresponding University Date record
Returns:
a University Date record if found, null if not

getByPrimaryKey

UniversityDate getByPrimaryKey(Date date)
Returns a university date record based on java.util.Date

Parameters:
date - a java.util.Date to find the corresponding University Date record
Returns:
a University Date record if found, null if not

getLastFiscalYearDate

UniversityDate getLastFiscalYearDate(Integer fiscalYear)
Returns the last university date for a given fiscal year

Parameters:
fiscalYear - the fiscal year to find the last date for
Returns:
a UniversityDate record for the last day in the given fiscal year, or null if nothing can be found

getFirstFiscalYearDate

UniversityDate getFirstFiscalYearDate(Integer fiscalYear)
Returns the first university date for a given fiscal year

Parameters:
fiscalYear - the fiscal year to find the first date for
Returns:
a UniversityDate record for the first day of the given fiscal year, or null if nothing can be found

getAccountingPeriodCode

Collection getAccountingPeriodCode()
Returns all distinct accounting period codes from the table

Returns:
a Collection of all distinct accounting period codes represented by UniversityDate records in the database


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