public abstract class PortalServiceBaseImpl
extends com.liferay.portal.kernel.service.BaseServiceImpl
implements com.liferay.portal.kernel.module.framework.service.IdentifiableOSGiService, com.liferay.portal.kernel.service.PortalService
This implementation exists only as a container for the default service methods generated by ServiceBuilder. All custom service methods should be put in PortalServiceImpl
.
PortalServiceImpl
Modifier and Type | Field and Description |
---|---|
protected com.liferay.counter.kernel.service.CounterLocalService |
counterLocalService |
protected com.liferay.portal.kernel.service.PortalLocalService |
portalLocalService |
protected com.liferay.portal.kernel.service.PortalService |
portalService |
Constructor and Description |
---|
PortalServiceBaseImpl() |
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.
|
com.liferay.portal.kernel.service.PortalService |
getPortalService()
Returns the portal 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 |
setPortalLocalService(com.liferay.portal.kernel.service.PortalLocalService portalLocalService)
Sets the portal local service.
|
void |
setPortalService(com.liferay.portal.kernel.service.PortalService portalService)
Sets the portal remote service.
|
getClassLoader, getGuestOrUser, getGuestOrUserId, getPermissionChecker, getUser, getUserId
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getAutoDeployDirectory, getBuildNumber, getVersion, testAddClassName_Rollback, testAddClassName_Success, testAddClassNameAndTestTransactionPortletBar_PortalRollback, testAddClassNameAndTestTransactionPortletBar_PortletRollback, testAddClassNameAndTestTransactionPortletBar_Success, testAutoSyncHibernateSessionStateOnTxCreation, testDeleteClassName, testGetBuildNumber, testGetUserId, testHasClassName
@BeanReference(type=com.liferay.portal.kernel.service.PortalLocalService.class) protected com.liferay.portal.kernel.service.PortalLocalService portalLocalService
@BeanReference(type=com.liferay.portal.kernel.service.PortalService.class) protected com.liferay.portal.kernel.service.PortalService portalService
@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.portal.kernel.service.PortalService getPortalService()
public void setPortalService(com.liferay.portal.kernel.service.PortalService portalService)
portalService
- the portal remote 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.PortalService
protected void runSQL(String sql)
sql
- the sql query