public class RegionServiceImpl extends RegionServiceBaseImpl
counterLocalService, countryPersistence, countryService, regionPersistence, regionService
Constructor and Description |
---|
RegionServiceImpl() |
Modifier and Type | Method and Description |
---|---|
com.liferay.portal.kernel.model.Region |
addRegion(long countryId,
String regionCode,
String name,
boolean active) |
com.liferay.portal.kernel.model.Region |
fetchRegion(long regionId) |
com.liferay.portal.kernel.model.Region |
fetchRegion(long countryId,
String regionCode) |
com.liferay.portal.kernel.model.Region |
getRegion(long regionId) |
com.liferay.portal.kernel.model.Region |
getRegion(long countryId,
String regionCode) |
List<com.liferay.portal.kernel.model.Region> |
getRegions() |
List<com.liferay.portal.kernel.model.Region> |
getRegions(boolean active) |
List<com.liferay.portal.kernel.model.Region> |
getRegions(long countryId) |
List<com.liferay.portal.kernel.model.Region> |
getRegions(long countryId,
boolean active) |
afterPropertiesSet, destroy, getCounterLocalService, getCountryPersistence, getCountryService, getModelClass, getModelClassName, getOSGiServiceIdentifier, getRegionPersistence, getRegionService, runSQL, setCounterLocalService, setCountryPersistence, setCountryService, setRegionPersistence, setRegionService
public com.liferay.portal.kernel.model.Region addRegion(long countryId, String regionCode, String name, boolean active) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public com.liferay.portal.kernel.model.Region fetchRegion(long regionId)
public com.liferay.portal.kernel.model.Region fetchRegion(long countryId, String regionCode)
public com.liferay.portal.kernel.model.Region getRegion(long regionId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public com.liferay.portal.kernel.model.Region getRegion(long countryId, String regionCode) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public List<com.liferay.portal.kernel.model.Region> getRegions()
public List<com.liferay.portal.kernel.model.Region> getRegions(boolean active)
public List<com.liferay.portal.kernel.model.Region> getRegions(long countryId)
@AccessControlled(guestAccessEnabled=true) public List<com.liferay.portal.kernel.model.Region> getRegions(long countryId, boolean active)