Interface BusinessCalendarRepository
- All Known Implementing Classes:
BusinessCalendarRepositoryImpl
public interface BusinessCalendarRepository
Defines convenient methods to fetch configured in the system business calendars.
-
Method Summary
Modifier and TypeMethodDescriptionFinds business calendar by it code.Fetches all business calendars.Finds business calendar by it code.
-
Method Details
-
getBusinessCalendarByCode
Finds business calendar by it code.- Parameters:
code- of business calendar.- Returns:
- business calendar with provided
code - Throws:
NullPointerException- if there is no calendar with suchcode.
-
findBusinessCalendarByCode
Finds business calendar by it code.- Parameters:
code- of business calendar.- Returns:
- business calendar with provided
codeornullif there is no calendar with such code.
-
getAllBusinessCalendars
Collection<BusinessCalendar> getAllBusinessCalendars()Fetches all business calendars.- Returns:
- all configured in the system business calendars.
-