Class PortletServiceBaseImpl

Object
com.liferay.portal.kernel.service.BaseServiceImpl
com.liferay.portal.service.base.PortletServiceBaseImpl
All Implemented Interfaces:
com.liferay.portal.kernel.module.framework.service.IdentifiableOSGiService, com.liferay.portal.kernel.service.BaseService, com.liferay.portal.kernel.service.PortletService
Direct Known Subclasses:
PortletServiceImpl

public abstract class PortletServiceBaseImpl extends com.liferay.portal.kernel.service.BaseServiceImpl implements com.liferay.portal.kernel.module.framework.service.IdentifiableOSGiService, com.liferay.portal.kernel.service.PortletService
Provides the base implementation for the portlet 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 PortletServiceImpl.

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

    Fields
    Modifier and Type
    Field
    Description
    protected com.liferay.counter.kernel.service.CounterLocalService
     
    protected com.liferay.portal.kernel.service.PortletLocalService
     
    protected com.liferay.portal.kernel.service.persistence.PortletPersistence
     
    protected com.liferay.portal.kernel.service.PortletService
     

    Fields inherited from class com.liferay.portal.kernel.service.BaseServiceImpl

    ANONYMOUS_NAMES, JRUN_ANONYMOUS, ORACLE_ANONYMOUS, SUN_ANONYMOUS, WEBLOGIC_ANONYMOUS
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
    void
     
    com.liferay.counter.kernel.service.CounterLocalService
    Returns the counter local service.
    protected Class<?>
     
    protected String
     
    Returns the OSGi service identifier.
    com.liferay.portal.kernel.service.PortletLocalService
    Returns the portlet local service.
    com.liferay.portal.kernel.service.persistence.PortletPersistence
    Returns the portlet persistence.
    com.liferay.portal.kernel.service.PortletService
    Returns the portlet remote service.
    protected void
    Performs a SQL query.
    void
    setCounterLocalService(com.liferay.counter.kernel.service.CounterLocalService counterLocalService)
    Sets the counter local service.
    void
    setPortletLocalService(com.liferay.portal.kernel.service.PortletLocalService portletLocalService)
    Sets the portlet local service.
    void
    setPortletPersistence(com.liferay.portal.kernel.service.persistence.PortletPersistence portletPersistence)
    Sets the portlet persistence.
    void
    setPortletService(com.liferay.portal.kernel.service.PortletService portletService)
    Sets the portlet remote service.

    Methods inherited from class com.liferay.portal.kernel.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.kernel.service.PortletService

    getWARPortlets, hasPortlet, updatePortlet
  • Field Details

    • portletLocalService

      @BeanReference(type=com.liferay.portal.kernel.service.PortletLocalService.class) protected com.liferay.portal.kernel.service.PortletLocalService portletLocalService
    • portletService

      @BeanReference(type=com.liferay.portal.kernel.service.PortletService.class) protected com.liferay.portal.kernel.service.PortletService portletService
    • portletPersistence

      @BeanReference(type=com.liferay.portal.kernel.service.persistence.PortletPersistence.class) protected com.liferay.portal.kernel.service.persistence.PortletPersistence portletPersistence
    • counterLocalService

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

    • PortletServiceBaseImpl

      public PortletServiceBaseImpl()
  • Method Details

    • getPortletLocalService

      public com.liferay.portal.kernel.service.PortletLocalService getPortletLocalService()
      Returns the portlet local service.
      Returns:
      the portlet local service
    • setPortletLocalService

      public void setPortletLocalService(com.liferay.portal.kernel.service.PortletLocalService portletLocalService)
      Sets the portlet local service.
      Parameters:
      portletLocalService - the portlet local service
    • getPortletService

      public com.liferay.portal.kernel.service.PortletService getPortletService()
      Returns the portlet remote service.
      Returns:
      the portlet remote service
    • setPortletService

      public void setPortletService(com.liferay.portal.kernel.service.PortletService portletService)
      Sets the portlet remote service.
      Parameters:
      portletService - the portlet remote service
    • getPortletPersistence

      public com.liferay.portal.kernel.service.persistence.PortletPersistence getPortletPersistence()
      Returns the portlet persistence.
      Returns:
      the portlet persistence
    • setPortletPersistence

      public void setPortletPersistence(com.liferay.portal.kernel.service.persistence.PortletPersistence portletPersistence)
      Sets the portlet persistence.
      Parameters:
      portletPersistence - the portlet persistence
    • 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.PortletService
      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