Liferay 7.0-ce-b4

com.liferay.portal.service.base
Class CountryServiceBaseImpl

java.lang.Object
  extended by com.liferay.portal.service.BaseServiceImpl
      extended by com.liferay.portal.service.base.CountryServiceBaseImpl
All Implemented Interfaces:
IdentifiableOSGiService, BaseService, CountryService
Direct Known Subclasses:
CountryServiceImpl

public abstract class CountryServiceBaseImpl
extends BaseServiceImpl
implements CountryService, IdentifiableOSGiService

Provides the base implementation for the country 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 CountryServiceImpl.

See Also:
CountryServiceImpl, CountryServiceUtil
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
           
 
Fields inherited from class com.liferay.portal.service.BaseServiceImpl
ANONYMOUS_NAMES, JRUN_ANONYMOUS, ORACLE_ANONYMOUS, SUN_ANONYMOUS, WEBLOGIC_ANONYMOUS
 
Constructor Summary
CountryServiceBaseImpl()
           
 
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.
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.
 
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.CountryService
addCountry, fetchCountry, fetchCountryByA2, fetchCountryByA3, getCountries, getCountries, getCountry, getCountryByA2, getCountryByA3, getCountryByName
 

Field Detail

countryService

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

countryPersistence

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

counterLocalService

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

CountryServiceBaseImpl

public CountryServiceBaseImpl()
Method Detail

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

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

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 CountryService
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