Class PortalLocalServiceBaseImpl

Object
com.liferay.portal.kernel.service.BaseLocalServiceImpl
com.liferay.portal.service.base.PortalLocalServiceBaseImpl
All Implemented Interfaces:
com.liferay.portal.kernel.module.framework.service.IdentifiableOSGiService, com.liferay.portal.kernel.service.BaseLocalService, com.liferay.portal.kernel.service.PortalLocalService
Direct Known Subclasses:
PortalLocalServiceImpl

public abstract class PortalLocalServiceBaseImpl extends com.liferay.portal.kernel.service.BaseLocalServiceImpl implements com.liferay.portal.kernel.module.framework.service.IdentifiableOSGiService, com.liferay.portal.kernel.service.PortalLocalService
Provides the base implementation for the portal local service.

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

Author:
Brian Wing Shun Chan
See Also:
{$generated.description}
  • Field Details

    • portalLocalService

      @BeanReference(type=com.liferay.portal.kernel.service.PortalLocalService.class) protected com.liferay.portal.kernel.service.PortalLocalService portalLocalService
    • counterLocalService

      @BeanReference(type=com.liferay.counter.kernel.service.CounterLocalService.class) protected com.liferay.counter.kernel.service.CounterLocalService counterLocalService
  • Constructor Details

    • PortalLocalServiceBaseImpl

      public PortalLocalServiceBaseImpl()
  • Method Details

    • getPortalLocalService

      public com.liferay.portal.kernel.service.PortalLocalService getPortalLocalService()
      Returns the portal local service.
      Returns:
      the portal local service
    • setPortalLocalService

      public void setPortalLocalService(com.liferay.portal.kernel.service.PortalLocalService portalLocalService)
      Sets the portal local service.
      Parameters:
      portalLocalService - the portal local service
    • getCounterLocalService

      public com.liferay.counter.kernel.service.CounterLocalService getCounterLocalService()
      Returns the counter local service.
      Returns:
      the counter local service
    • setCounterLocalService

      public void setCounterLocalService(com.liferay.counter.kernel.service.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 com.liferay.portal.kernel.module.framework.service.IdentifiableOSGiService
      Specified by:
      getOSGiServiceIdentifier in interface com.liferay.portal.kernel.service.PortalLocalService
      Returns:
      the OSGi service identifier
    • runSQL

      protected void runSQL(String sql)
      Performs a SQL query.
      Parameters:
      sql - the sql query