Liferay 7.0-ce-b4

com.liferay.portal.service
Class RegionServiceWrapper

java.lang.Object
  extended by com.liferay.portal.service.RegionServiceWrapper
All Implemented Interfaces:
BaseService, RegionService, ServiceWrapper<RegionService>

@ProviderType
public class RegionServiceWrapper
extends Object
implements RegionService, ServiceWrapper<RegionService>

Provides a wrapper for RegionService.

See Also:
RegionService

Constructor Summary
RegionServiceWrapper(RegionService regionService)
           
 
Method Summary
 Region addRegion(long countryId, String regionCode, String name, boolean active)
           
 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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RegionServiceWrapper

public RegionServiceWrapper(RegionService regionService)
Method Detail

addRegion

public Region addRegion(long countryId,
                        String regionCode,
                        String name,
                        boolean active)
                 throws PortalException
Specified by:
addRegion in interface RegionService
Throws:
PortalException

fetchRegion

public Region fetchRegion(long countryId,
                          String regionCode)
Specified by:
fetchRegion in interface RegionService

fetchRegion

public Region fetchRegion(long regionId)
Specified by:
fetchRegion in interface RegionService

getOSGiServiceIdentifier

public String getOSGiServiceIdentifier()
Returns the OSGi service identifier.

Specified by:
getOSGiServiceIdentifier in interface RegionService
Returns:
the OSGi service identifier

getRegion

public Region getRegion(long countryId,
                        String regionCode)
                 throws PortalException
Specified by:
getRegion in interface RegionService
Throws:
PortalException

getRegion

public Region getRegion(long regionId)
                 throws PortalException
Specified by:
getRegion in interface RegionService
Throws:
PortalException

getRegions

public List<Region> getRegions()
Specified by:
getRegions in interface RegionService

getRegions

public List<Region> getRegions(boolean active)
Specified by:
getRegions in interface RegionService

getRegions

public List<Region> getRegions(long countryId)
Specified by:
getRegions in interface RegionService

getRegions

public List<Region> getRegions(long countryId,
                               boolean active)
Specified by:
getRegions in interface RegionService

getWrappedService

public RegionService getWrappedService()
Specified by:
getWrappedService in interface ServiceWrapper<RegionService>

setWrappedService

public void setWrappedService(RegionService regionService)
Specified by:
setWrappedService in interface ServiceWrapper<RegionService>

Liferay 7.0-ce-b4