|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface AccountingPeriodService
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.
Method Summary | |
---|---|
int |
compareAccountingPeriodsByDate(AccountingPeriod a,
AccountingPeriod b)
This method compares two accounting periods, hopefully by comparing their closing dates. |
Collection |
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 |
getOpenAccountingPeriods()
This method retrieves a list of all open accounting periods in the system. |
Method Detail |
---|
Collection getAllAccountingPeriods()
Collection 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 compare
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |