Package com.liferay.portal.service.base
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 Summary
FieldsModifier and TypeFieldDescriptionprotected com.liferay.counter.kernel.service.CounterLocalService
protected com.liferay.portal.kernel.service.PortalLocalService
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
void
destroy()
com.liferay.counter.kernel.service.CounterLocalService
Returns the counter local service.Returns the OSGi service identifier.com.liferay.portal.kernel.service.PortalLocalService
Returns the portal local service.protected void
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.Methods inherited from class com.liferay.portal.kernel.service.BaseLocalServiceImpl
getClassLoader, getLocalizationMap
-
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
Returns the OSGi service identifier.- Specified by:
getOSGiServiceIdentifier
in interfacecom.liferay.portal.kernel.module.framework.service.IdentifiableOSGiService
- Specified by:
getOSGiServiceIdentifier
in interfacecom.liferay.portal.kernel.service.PortalLocalService
- Returns:
- the OSGi service identifier
-
runSQL
Performs a SQL query.- Parameters:
sql
- the sql query
-