Package org.cyclos.services.system
Interface LocalizationService
-
- All Superinterfaces:
Service
- All Known Subinterfaces:
LocalizationServiceLocal
public interface LocalizationService extends Service
Service used to retrieve general localization elements, like time zones
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description List<CountryVO>listCountries()Returns a list of country codes with their respective namesList<TimeZoneVO>listTimeZones()Returns a list with all time zonesList<TimeZoneVO>listTimeZonesByCountry(@NotNull String countryCode)Returns a list of which time zones are available for a given country
-
-
-
Method Detail
-
listCountries
List<CountryVO> listCountries() throws FrameworkException
Returns a list of country codes with their respective names- Throws:
FrameworkException
-
listTimeZones
List<TimeZoneVO> listTimeZones() throws FrameworkException
Returns a list with all time zones- Throws:
FrameworkException
-
listTimeZonesByCountry
List<TimeZoneVO> listTimeZonesByCountry(@NotNull @NotNull String countryCode) throws FrameworkException
Returns a list of which time zones are available for a given country- Throws:
FrameworkException
-
-