public interface AccountingPeriodService
Modifier and Type | Method and Description |
---|---|
void |
clearCache() |
int |
compareAccountingPeriodsByDate(AccountingPeriod a,
AccountingPeriod b)
This method compares two accounting periods, hopefully by comparing their closing dates.
|
Collection<AccountingPeriod> |
getAllAccountingPeriods()
This method retrieves all valid accounting periods in the system.
|
AccountingPeriod |
getByDate(Date date)
This method takes a date and returns the corresponding period
|
AccountingPeriod |
getByPeriod(String periodCode,
Integer fiscalYear)
This method retrieves an individual AccountingPeriod based on the period and fiscal year
|
AccountingPeriod |
getByStringDate(String dateString)
This method allows for AccountingPeriod retrieval via String date.
|
Collection<AccountingPeriod> |
getOpenAccountingPeriods()
This method retrieves a list of all open accounting periods in the system.
|
Collection<AccountingPeriod> getAllAccountingPeriods()
Collection<AccountingPeriod> getOpenAccountingPeriods()
AccountingPeriod getByPeriod(String periodCode, Integer fiscalYear)
periodCode
- fiscalYear
- AccountingPeriod getByStringDate(String dateString)
String
- AccountingPeriod getByDate(Date date)
date
- int compareAccountingPeriodsByDate(AccountingPeriod a, AccountingPeriod b)
a
- the first accounting period to compareb
- the second accounting period to comparevoid clearCache()
Copyright © 2004–2015 The Kuali Foundation. All rights reserved.