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
This implementation exists only as a container for the default service methods generated by ServiceBuilder. All custom service methods should be put in PortletServiceImpl
.
PortletServiceImpl
Modifier and Type | Field and Description |
---|---|
protected com.liferay.counter.kernel.service.CounterLocalService |
counterLocalService |
protected com.liferay.portal.kernel.service.PortletLocalService |
portletLocalService |
protected com.liferay.portal.kernel.service.persistence.PortletPersistence |
portletPersistence |
protected com.liferay.portal.kernel.service.PortletService |
portletService |
Constructor and Description |
---|
PortletServiceBaseImpl() |
Modifier and Type | Method and Description |
---|---|
void |
afterPropertiesSet() |
void |
destroy() |
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.
|
com.liferay.portal.kernel.service.PortletLocalService |
getPortletLocalService()
Returns the portlet local service.
|
com.liferay.portal.kernel.service.persistence.PortletPersistence |
getPortletPersistence()
Returns the portlet persistence.
|
com.liferay.portal.kernel.service.PortletService |
getPortletService()
Returns the portlet remote 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 |
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.
|
getClassLoader, getGuestOrUser, getGuestOrUserId, getPermissionChecker, getUser, getUserId
@BeanReference(type=com.liferay.portal.kernel.service.PortletLocalService.class) protected com.liferay.portal.kernel.service.PortletLocalService portletLocalService
@BeanReference(type=com.liferay.portal.kernel.service.PortletService.class) protected com.liferay.portal.kernel.service.PortletService portletService
@BeanReference(type=com.liferay.portal.kernel.service.persistence.PortletPersistence.class) protected com.liferay.portal.kernel.service.persistence.PortletPersistence portletPersistence
@BeanReference(type=com.liferay.counter.kernel.service.CounterLocalService.class) protected com.liferay.counter.kernel.service.CounterLocalService counterLocalService
public com.liferay.portal.kernel.service.PortletLocalService getPortletLocalService()
public void setPortletLocalService(com.liferay.portal.kernel.service.PortletLocalService portletLocalService)
portletLocalService
- the portlet local servicepublic com.liferay.portal.kernel.service.PortletService getPortletService()
public void setPortletService(com.liferay.portal.kernel.service.PortletService portletService)
portletService
- the portlet remote servicepublic com.liferay.portal.kernel.service.persistence.PortletPersistence getPortletPersistence()
public void setPortletPersistence(com.liferay.portal.kernel.service.persistence.PortletPersistence portletPersistence)
portletPersistence
- the portlet 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.PortletService
protected Class<?> getModelClass()
protected String getModelClassName()
protected void runSQL(String sql)
sql
- the sql query