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
This implementation exists only as a container for the default service methods generated by ServiceBuilder. All custom service methods should be put in CompanyServiceImpl
.
CompanyServiceImpl
Modifier and Type | Field and Description |
---|---|
protected com.liferay.portal.kernel.service.CompanyLocalService |
companyLocalService |
protected com.liferay.portal.kernel.service.persistence.CompanyPersistence |
companyPersistence |
protected com.liferay.portal.kernel.service.CompanyService |
companyService |
protected com.liferay.counter.kernel.service.CounterLocalService |
counterLocalService |
Constructor and Description |
---|
CompanyServiceBaseImpl() |
Modifier and Type | Method and Description |
---|---|
void |
afterPropertiesSet() |
void |
destroy() |
com.liferay.portal.kernel.service.CompanyLocalService |
getCompanyLocalService()
Returns the company local service.
|
com.liferay.portal.kernel.service.persistence.CompanyPersistence |
getCompanyPersistence()
Returns the company persistence.
|
com.liferay.portal.kernel.service.CompanyService |
getCompanyService()
Returns the company remote service.
|
com.liferay.counter.kernel.service.CounterLocalService |
getCounterLocalService()
Returns the counter local service.
|
protected Class<?> |
getModelClass() |
protected String |
getModelClassName() |
String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
protected void |
runSQL(String sql)
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.
|
getClassLoader, getGuestOrUser, getGuestOrUserId, getPermissionChecker, getUser, getUserId
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addCompany, addCompany, deleteCompany, deleteLogo, forEachCompany, getCompanies, getCompanyById, getCompanyByLogoId, getCompanyByMx, getCompanyByVirtualHost, getCompanyByWebId, removePreferences, updateCompany, updateCompany, updateCompany, updateDisplay, updateLogo, updateLogo, updatePreferences, updateSecurity
@BeanReference(type=com.liferay.portal.kernel.service.CompanyLocalService.class) protected com.liferay.portal.kernel.service.CompanyLocalService companyLocalService
@BeanReference(type=com.liferay.portal.kernel.service.CompanyService.class) protected com.liferay.portal.kernel.service.CompanyService companyService
@BeanReference(type=com.liferay.portal.kernel.service.persistence.CompanyPersistence.class) protected com.liferay.portal.kernel.service.persistence.CompanyPersistence companyPersistence
@BeanReference(type=com.liferay.counter.kernel.service.CounterLocalService.class) protected com.liferay.counter.kernel.service.CounterLocalService counterLocalService
public com.liferay.portal.kernel.service.CompanyLocalService getCompanyLocalService()
public void setCompanyLocalService(com.liferay.portal.kernel.service.CompanyLocalService companyLocalService)
companyLocalService
- the company local servicepublic com.liferay.portal.kernel.service.CompanyService getCompanyService()
public void setCompanyService(com.liferay.portal.kernel.service.CompanyService companyService)
companyService
- the company remote servicepublic com.liferay.portal.kernel.service.persistence.CompanyPersistence getCompanyPersistence()
public void setCompanyPersistence(com.liferay.portal.kernel.service.persistence.CompanyPersistence companyPersistence)
companyPersistence
- the company persistencepublic com.liferay.counter.kernel.service.CounterLocalService getCounterLocalService()
public void setCounterLocalService(com.liferay.counter.kernel.service.CounterLocalService counterLocalService)
counterLocalService
- the counter local servicepublic void afterPropertiesSet()
public void destroy()
public String getOSGiServiceIdentifier()
getOSGiServiceIdentifier
in interface com.liferay.portal.kernel.module.framework.service.IdentifiableOSGiService
getOSGiServiceIdentifier
in interface com.liferay.portal.kernel.service.CompanyService
protected Class<?> getModelClass()
protected String getModelClassName()
protected void runSQL(String sql)
sql
- the sql query