Class CompanyServiceBaseImpl

Object
com.liferay.portal.kernel.service.BaseServiceImpl
com.liferay.portal.service.base.CompanyServiceBaseImpl
All Implemented Interfaces:
com.liferay.portal.kernel.module.framework.service.IdentifiableOSGiService, com.liferay.portal.kernel.service.BaseService, com.liferay.portal.kernel.service.CompanyService
Direct Known Subclasses:
CompanyServiceImpl

public abstract class CompanyServiceBaseImpl extends com.liferay.portal.kernel.service.BaseServiceImpl implements com.liferay.portal.kernel.service.CompanyService, com.liferay.portal.kernel.module.framework.service.IdentifiableOSGiService
Provides the base implementation for the company 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 CompanyServiceImpl.

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

    Fields
    Modifier and Type
    Field
    Description
    protected com.liferay.portal.kernel.service.CompanyLocalService
     
    protected com.liferay.portal.kernel.service.persistence.CompanyPersistence
     
    protected com.liferay.portal.kernel.service.CompanyService
     
    protected com.liferay.counter.kernel.service.CounterLocalService
     

    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.portal.kernel.service.CompanyLocalService
    Returns the company local service.
    com.liferay.portal.kernel.service.persistence.CompanyPersistence
    Returns the company persistence.
    com.liferay.portal.kernel.service.CompanyService
    Returns the company remote service.
    com.liferay.counter.kernel.service.CounterLocalService
    Returns the counter local service.
    protected Class<?>
     
    protected String
     
    Returns the OSGi service identifier.
    protected void
    Performs a SQL query.
    void
    setCompanyLocalService(com.liferay.portal.kernel.service.CompanyLocalService companyLocalService)
    Sets the company local service.
    void
    setCompanyPersistence(com.liferay.portal.kernel.service.persistence.CompanyPersistence companyPersistence)
    Sets the company persistence.
    void
    setCompanyService(com.liferay.portal.kernel.service.CompanyService companyService)
    Sets the company remote service.
    void
    setCounterLocalService(com.liferay.counter.kernel.service.CounterLocalService counterLocalService)
    Sets the counter local 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.CompanyService

    addCompany, addCompany, deleteCompany, deleteLogo, forEachCompany, getCompanies, getCompanyById, getCompanyByLogoId, getCompanyByMx, getCompanyByVirtualHost, getCompanyByWebId, removePreferences, updateCompany, updateCompany, updateCompany, updateDisplay, updateLogo, updateLogo, updatePreferences, updateSecurity
  • Field Details

    • companyLocalService

      @BeanReference(type=com.liferay.portal.kernel.service.CompanyLocalService.class) protected com.liferay.portal.kernel.service.CompanyLocalService companyLocalService
    • companyService

      @BeanReference(type=com.liferay.portal.kernel.service.CompanyService.class) protected com.liferay.portal.kernel.service.CompanyService companyService
    • companyPersistence

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

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

    • CompanyServiceBaseImpl

      public CompanyServiceBaseImpl()
  • Method Details

    • getCompanyLocalService

      public com.liferay.portal.kernel.service.CompanyLocalService getCompanyLocalService()
      Returns the company local service.
      Returns:
      the company local service
    • setCompanyLocalService

      public void setCompanyLocalService(com.liferay.portal.kernel.service.CompanyLocalService companyLocalService)
      Sets the company local service.
      Parameters:
      companyLocalService - the company local service
    • getCompanyService

      public com.liferay.portal.kernel.service.CompanyService getCompanyService()
      Returns the company remote service.
      Returns:
      the company remote service
    • setCompanyService

      public void setCompanyService(com.liferay.portal.kernel.service.CompanyService companyService)
      Sets the company remote service.
      Parameters:
      companyService - the company remote service
    • getCompanyPersistence

      public com.liferay.portal.kernel.service.persistence.CompanyPersistence getCompanyPersistence()
      Returns the company persistence.
      Returns:
      the company persistence
    • setCompanyPersistence

      public void setCompanyPersistence(com.liferay.portal.kernel.service.persistence.CompanyPersistence companyPersistence)
      Sets the company persistence.
      Parameters:
      companyPersistence - the company 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.service.CompanyService
      Specified by:
      getOSGiServiceIdentifier in interface com.liferay.portal.kernel.module.framework.service.IdentifiableOSGiService
      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