com.liferay.portal.service.impl
Class RegionServiceImpl

java.lang.Object
  extended bycom.liferay.portal.service.impl.PrincipalBean
      extended bycom.liferay.portal.service.impl.RegionServiceImpl
All Implemented Interfaces:
com.liferay.portal.service.RegionService

public class RegionServiceImpl
extends PrincipalBean
implements com.liferay.portal.service.RegionService

View Source

Author:
Brian Wing Shun Chan

Field Summary
 
Fields inherited from class com.liferay.portal.service.impl.PrincipalBean
ANONYMOUS_NAMES, JRUN_ANONYMOUS, ORACLE_ANONYMOUS, SUN_ANONYMOUS, WEBLOGIC_ANONYMOUS
 
Constructor Summary
RegionServiceImpl()
           
 
Method Summary
 com.liferay.portal.model.Region getRegion(long regionId)
           
 java.util.List getRegions()
           
 java.util.List getRegions(boolean active)
           
 java.util.List getRegions(long countryId)
           
 java.util.List getRegions(long countryId, boolean active)
           
 
Methods inherited from class com.liferay.portal.service.impl.PrincipalBean
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

getRegions

public java.util.List getRegions()
                          throws com.liferay.portal.SystemException
Specified by:
getRegions in interface com.liferay.portal.service.RegionService
Throws:
com.liferay.portal.SystemException

getRegions

public java.util.List getRegions(long countryId)
                          throws com.liferay.portal.SystemException
Specified by:
getRegions in interface com.liferay.portal.service.RegionService
Throws:
com.liferay.portal.SystemException

getRegions

public java.util.List getRegions(boolean active)
                          throws com.liferay.portal.SystemException
Specified by:
getRegions in interface com.liferay.portal.service.RegionService
Throws:
com.liferay.portal.SystemException

getRegions

public java.util.List getRegions(long countryId,
                                 boolean active)
                          throws com.liferay.portal.SystemException
Specified by:
getRegions in interface com.liferay.portal.service.RegionService
Throws:
com.liferay.portal.SystemException

getRegion

public com.liferay.portal.model.Region getRegion(long regionId)
                                          throws com.liferay.portal.PortalException,
                                                 com.liferay.portal.SystemException
Specified by:
getRegion in interface com.liferay.portal.service.RegionService
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException