| org.kuali.module.chart.service.AccountingPeriodService
All known Subclasses: org.kuali.module.chart.service.impl.AccountingPeriodServiceImpl,
AccountingPeriodService | public interface AccountingPeriodService (Code) | | This service interface defines methods necessary for retrieving fully populated AccountingPeriod business objects from the
database that are necessary for transaction processing in the application.
|
compareAccountingPeriodsByDate | public int compareAccountingPeriodsByDate(AccountingPeriod a, AccountingPeriod b)(Code) | | This method compares two accounting periods, hopefully by comparing their closing dates. If a is earlier than b, it should
return a negative number; if a is later, it should return a positive number; and if the closing dates are equal, it should
return a 0.
Parameters: a - the first accounting period to compare Parameters: b - the second accounting period to compare an integer representing which is earlier or later, or if they occur simultaneously |
getAllAccountingPeriods | public Collection getAllAccountingPeriods()(Code) | | This method retrieves all valid accounting periods in the system.
A list of accounting periods in Kuali. |
getByDate | public AccountingPeriod getByDate(Date date)(Code) | | This method takes a date and returns the corresponding period
Parameters: date - period that matches the date |
getByPeriod | public AccountingPeriod getByPeriod(String periodCode, Integer fiscalYear)(Code) | | This method retrieves an individual AccountingPeriod based on the period and fiscal year
Parameters: periodCode - Parameters: fiscalYear - an accounting period |
getOpenAccountingPeriods | public Collection getOpenAccountingPeriods()(Code) | | This method retrieves a list of all open accounting periods in the system.
|
|
|