Foren
Where is CountryLocalService ?
petar banicevic, geändert vor 15 Jahren.
Where is CountryLocalService ?
Junior Member Beiträge: 73 Beitrittsdatum: 27.05.08 Neueste Beiträge
Dears,
I can only find CountryService. Why there is no LocalService, is there some other way to get List of countries from Liferay Database ?
Thanks
I can only find CountryService. Why there is no LocalService, is there some other way to get List of countries from Liferay Database ?
Thanks
Wilson Man, geändert vor 15 Jahren.
RE: Where is CountryLocalService ?
Liferay Master Beiträge: 581 Beitrittsdatum: 21.06.06 Neueste Beiträge<entity name="Country" local-service="false" remote-service="true">...</entity>
local-service is not enabled in portal's service.xml. to get the list of countries just call ...
CountryServiceUtil.getCountries()
or
CountryServiceUtil.getCountries(true)
if you just want the active countries.