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
This implementation exists only as a container for the default service methods generated by ServiceBuilder. All custom service methods should be put in PortalLocalServiceImpl
.
PortalLocalServiceImpl
Modifier and Type | Field and Description |
---|---|
protected com.liferay.counter.kernel.service.CounterLocalService |
counterLocalService |
protected com.liferay.portal.kernel.service.PortalLocalService |
portalLocalService |
Constructor and Description |
---|
PortalLocalServiceBaseImpl() |
Modifier and Type | Method and Description |
---|---|
void |
afterPropertiesSet() |
void |
destroy() |
com.liferay.counter.kernel.service.CounterLocalService |
getCounterLocalService()
Returns the counter local service.
|
String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
com.liferay.portal.kernel.service.PortalLocalService |
getPortalLocalService()
Returns the portal local service.
|
protected void |
runSQL(String sql)
Performs a SQL query.
|
void |
setCounterLocalService(com.liferay.counter.kernel.service.CounterLocalService counterLocalService)
Sets the counter local service.
|
void |
setPortalLocalService(com.liferay.portal.kernel.service.PortalLocalService portalLocalService)
Sets the portal local service.
|
@BeanReference(type=com.liferay.portal.kernel.service.PortalLocalService.class) protected com.liferay.portal.kernel.service.PortalLocalService portalLocalService
@BeanReference(type=com.liferay.counter.kernel.service.CounterLocalService.class) protected com.liferay.counter.kernel.service.CounterLocalService counterLocalService
public com.liferay.portal.kernel.service.PortalLocalService getPortalLocalService()
public void setPortalLocalService(com.liferay.portal.kernel.service.PortalLocalService portalLocalService)
portalLocalService
- the portal local servicepublic 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.PortalLocalService
protected void runSQL(String sql)
sql
- the sql query