Liferay 7.0-ce-b4

com.liferay.portal.service.base
Class RegionServiceBaseImpl

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

public abstract class RegionServiceBaseImpl
extends BaseServiceImpl
implements RegionService, IdentifiableOSGiService

Provides the base implementation for the region remote service.

This implementation exists only as a container for the default service methods generated by ServiceBuilder. All custom service methods should be put in RegionServiceImpl.

See Also:
RegionServiceImpl, RegionServiceUtil
ServiceBuilder generated this class. Modifications in this class will be overwritten the next time it is generated.

Field Summary
protected  CounterLocalService counterLocalService
           
protected  CountryPersistence countryPersistence
           
protected  CountryService countryService
           
protected  RegionPersistence regionPersistence
           
protected  RegionService regionService
           
 
Fields inherited from class com.liferay.portal.service.BaseServiceImpl
ANONYMOUS_NAMES, JRUN_ANONYMOUS, ORACLE_ANONYMOUS, SUN_ANONYMOUS, WEBLOGIC_ANONYMOUS
 
Constructor Summary
RegionServiceBaseImpl()
           
 
Method Summary
 void afterPropertiesSet()
           
 void destroy()
           
 CounterLocalService getCounterLocalService()
          Returns the counter local service.
 CountryPersistence getCountryPersistence()
          Returns the country persistence.
 CountryService getCountryService()
          Returns the country remote service.
protected  Class<?> getModelClass()
           
protected  String getModelClassName()
           
 String getOSGiServiceIdentifier()
          Returns the OSGi service identifier.
 RegionPersistence getRegionPersistence()
          Returns the region persistence.
 RegionService getRegionService()
          Returns the region remote service.
protected  void runSQL(String sql)
          Performs a SQL query.
 void setCounterLocalService(CounterLocalService counterLocalService)
          Sets the counter local service.
 void setCountryPersistence(CountryPersistence countryPersistence)
          Sets the country persistence.
 void setCountryService(CountryService countryService)
          Sets the country remote service.
 void setRegionPersistence(RegionPersistence regionPersistence)
          Sets the region persistence.
 void setRegionService(RegionService regionService)
          Sets the region remote service.
 
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
 
Methods inherited from interface com.liferay.portal.service.RegionService
addRegion, fetchRegion, fetchRegion, getRegion, getRegion, getRegions, getRegions, getRegions, getRegions
 

Field Detail

regionService

@BeanReference(type=RegionService.class)
protected RegionService regionService

regionPersistence

@BeanReference(type=RegionPersistence.class)
protected RegionPersistence regionPersistence

counterLocalService

@BeanReference(type=CounterLocalService.class)
protected CounterLocalService counterLocalService

countryService

@BeanReference(type=CountryService.class)
protected CountryService countryService

countryPersistence

@BeanReference(type=CountryPersistence.class)
protected CountryPersistence countryPersistence
Constructor Detail

RegionServiceBaseImpl

public RegionServiceBaseImpl()
Method Detail

getRegionService

public RegionService getRegionService()
Returns the region remote service.

Returns:
the region remote service

setRegionService

public void setRegionService(RegionService regionService)
Sets the region remote service.

Parameters:
regionService - the region remote service

getRegionPersistence

public RegionPersistence getRegionPersistence()
Returns the region persistence.

Returns:
the region persistence

setRegionPersistence

public void setRegionPersistence(RegionPersistence regionPersistence)
Sets the region persistence.

Parameters:
regionPersistence - the region persistence

getCounterLocalService

public CounterLocalService getCounterLocalService()
Returns the counter local service.

Returns:
the counter local service

setCounterLocalService

public void setCounterLocalService(CounterLocalService counterLocalService)
Sets the counter local service.

Parameters:
counterLocalService - the counter local service

getCountryService

public CountryService getCountryService()
Returns the country remote service.

Returns:
the country remote service

setCountryService

public void setCountryService(CountryService countryService)
Sets the country remote service.

Parameters:
countryService - the country remote service

getCountryPersistence

public CountryPersistence getCountryPersistence()
Returns the country persistence.

Returns:
the country persistence

setCountryPersistence

public void setCountryPersistence(CountryPersistence countryPersistence)
Sets the country persistence.

Parameters:
countryPersistence - the country persistence

afterPropertiesSet

public void afterPropertiesSet()

destroy

public void destroy()

getOSGiServiceIdentifier

public String getOSGiServiceIdentifier()
Returns the OSGi service identifier.

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

getModelClass

protected Class<?> getModelClass()

getModelClassName

protected String getModelClassName()

runSQL

protected void runSQL(String sql)
Performs a SQL query.

Parameters:
sql - the sql query

Liferay 7.0-ce-b4