public class RegionServiceWrapper extends Object implements RegionService, ServiceWrapper<RegionService>
RegionService.RegionService| Constructor and Description |
|---|
RegionServiceWrapper(RegionService regionService) |
| Modifier and Type | Method and Description |
|---|---|
Region |
addRegion(long countryId,
String regionCode,
String name,
boolean active)
NOTE FOR DEVELOPERS:
Never modify or reference this interface directly.
|
Region |
fetchRegion(long regionId) |
Region |
fetchRegion(long countryId,
String regionCode) |
String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
Region |
getRegion(long regionId) |
Region |
getRegion(long countryId,
String regionCode) |
List<Region> |
getRegions() |
List<Region> |
getRegions(boolean active) |
List<Region> |
getRegions(long countryId) |
List<Region> |
getRegions(long countryId,
boolean active) |
RegionService |
getWrappedService() |
void |
setWrappedService(RegionService regionService) |
public RegionServiceWrapper(RegionService regionService)
public Region addRegion(long countryId, String regionCode, String name, boolean active) throws PortalException
RegionServiceUtil to access the region remote service. Add custom service methods to com.liferay.portal.service.impl.RegionServiceImpl and rerun ServiceBuilder to automatically copy the method declarations to this interface.addRegion in interface RegionServicePortalExceptionpublic Region fetchRegion(long regionId)
fetchRegion in interface RegionServicepublic Region fetchRegion(long countryId, String regionCode)
fetchRegion in interface RegionServicepublic String getOSGiServiceIdentifier()
getOSGiServiceIdentifier in interface RegionServicepublic Region getRegion(long regionId) throws PortalException
getRegion in interface RegionServicePortalExceptionpublic Region getRegion(long countryId, String regionCode) throws PortalException
getRegion in interface RegionServicePortalExceptionpublic List<Region> getRegions()
getRegions in interface RegionServicepublic List<Region> getRegions(boolean active)
getRegions in interface RegionServicepublic List<Region> getRegions(long countryId)
getRegions in interface RegionServicepublic List<Region> getRegions(long countryId, boolean active)
getRegions in interface RegionServicepublic RegionService getWrappedService()
getWrappedService in interface ServiceWrapper<RegionService>public void setWrappedService(RegionService regionService)
setWrappedService in interface ServiceWrapper<RegionService>