Liferay 7.0-ce-b8 portal-impl

com.liferay.portal.service.impl
Class RegionServiceImpl

java.lang.Object
  extended by com.liferay.portal.kernel.service.BaseServiceImpl
      extended by com.liferay.portal.service.base.RegionServiceBaseImpl
          extended by com.liferay.portal.service.impl.RegionServiceImpl
All Implemented Interfaces:
com.liferay.portal.kernel.module.framework.service.IdentifiableOSGiService, com.liferay.portal.kernel.service.BaseService, com.liferay.portal.kernel.service.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.kernel.service.BaseServiceImpl
ANONYMOUS_NAMES, JRUN_ANONYMOUS, ORACLE_ANONYMOUS, SUN_ANONYMOUS, WEBLOGIC_ANONYMOUS
 
Constructor Summary
RegionServiceImpl()
           
 
Method Summary
 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)
           
 
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.kernel.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 com.liferay.portal.kernel.model.Region addRegion(long countryId,
                                                        String regionCode,
                                                        String name,
                                                        boolean active)
                                                 throws com.liferay.portal.kernel.exception.PortalException
Throws:
com.liferay.portal.kernel.exception.PortalException

fetchRegion

public com.liferay.portal.kernel.model.Region fetchRegion(long regionId)

fetchRegion

public com.liferay.portal.kernel.model.Region fetchRegion(long countryId,
                                                          String regionCode)

getRegion

public com.liferay.portal.kernel.model.Region getRegion(long regionId)
                                                 throws com.liferay.portal.kernel.exception.PortalException
Throws:
com.liferay.portal.kernel.exception.PortalException

getRegion

public com.liferay.portal.kernel.model.Region getRegion(long countryId,
                                                        String regionCode)
                                                 throws com.liferay.portal.kernel.exception.PortalException
Throws:
com.liferay.portal.kernel.exception.PortalException

getRegions

public List<com.liferay.portal.kernel.model.Region> getRegions()

getRegions

public List<com.liferay.portal.kernel.model.Region> getRegions(boolean active)

getRegions

public List<com.liferay.portal.kernel.model.Region> getRegions(long countryId)

getRegions

public List<com.liferay.portal.kernel.model.Region> getRegions(long countryId,
                                                               boolean active)

Liferay 7.0-ce-b8 portal-impl