Liferay 7.0-ce-b4

com.liferay.portal.service.impl
Class RegionServiceImpl

java.lang.Object
  extended by com.liferay.portal.service.BaseServiceImpl
      extended by com.liferay.portal.service.base.RegionServiceBaseImpl
          extended by com.liferay.portal.service.impl.RegionServiceImpl
All Implemented Interfaces:
IdentifiableOSGiService, BaseService, RegionService

public class RegionServiceImpl
extends RegionServiceBaseImpl


Field Summary
 
Fields inherited from class com.liferay.portal.service.base.RegionServiceBaseImpl
counterLocalService, countryPersistence, countryService, regionPersistence, regionService
 
Fields inherited from class com.liferay.portal.service.BaseServiceImpl
ANONYMOUS_NAMES, JRUN_ANONYMOUS, ORACLE_ANONYMOUS, SUN_ANONYMOUS, WEBLOGIC_ANONYMOUS
 
Constructor Summary
RegionServiceImpl()
           
 
Method Summary
 Region addRegion(long countryId, String regionCode, String name, boolean active)
           
 Region fetchRegion(long regionId)
           
 Region fetchRegion(long countryId, String regionCode)
           
 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)
           
 
Methods inherited from class com.liferay.portal.service.base.RegionServiceBaseImpl
afterPropertiesSet, destroy, getCounterLocalService, getCountryPersistence, getCountryService, getModelClass, getModelClassName, getOSGiServiceIdentifier, getRegionPersistence, getRegionService, runSQL, setCounterLocalService, setCountryPersistence, setCountryService, setRegionPersistence, setRegionService
 
Methods inherited from class com.liferay.portal.service.BaseServiceImpl
getClassLoader, getGuestOrUser, getGuestOrUserId, getPermissionChecker, getUser, getUserId
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RegionServiceImpl

public RegionServiceImpl()
Method Detail

addRegion

public Region addRegion(long countryId,
                        String regionCode,
                        String name,
                        boolean active)
                 throws PortalException
Throws:
PortalException

fetchRegion

public Region fetchRegion(long regionId)

fetchRegion

public Region fetchRegion(long countryId,
                          String regionCode)

getRegion

public Region getRegion(long regionId)
                 throws PortalException
Throws:
PortalException

getRegion

public Region getRegion(long countryId,
                        String regionCode)
                 throws PortalException
Throws:
PortalException

getRegions

public List<Region> getRegions()

getRegions

public List<Region> getRegions(boolean active)

getRegions

public List<Region> getRegions(long countryId)

getRegions

public List<Region> getRegions(long countryId,
                               boolean active)

Liferay 7.0-ce-b4