Liferay 7.0-ce-a2

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:
IdentifiableBean, BaseService, CountryService
Direct Known Subclasses:
CountryServiceImpl

public abstract class CountryServiceBaseImpl
extends BaseServiceImpl
implements CountryService, IdentifiableBean

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()
           
 String getBeanIdentifier()
          Returns the Spring bean ID for this bean.
 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()
           
protected  void runSQL(String sql)
          Performs a SQL query.
 void setBeanIdentifier(String beanIdentifier)
          Sets the Spring bean ID for this bean.
 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()

getBeanIdentifier

public String getBeanIdentifier()
Returns the Spring bean ID for this bean.

Specified by:
getBeanIdentifier in interface IdentifiableBean
Specified by:
getBeanIdentifier in interface CountryService
Returns:
the Spring bean ID for this bean

setBeanIdentifier

public void setBeanIdentifier(String beanIdentifier)
Sets the Spring bean ID for this bean.

Specified by:
setBeanIdentifier in interface IdentifiableBean
Specified by:
setBeanIdentifier in interface CountryService
Parameters:
beanIdentifier - the Spring bean ID for this bean

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