Package com.liferay.portal.service.base
Class PortalServiceBaseImpl
Object
com.liferay.portal.kernel.service.BaseServiceImpl
com.liferay.portal.service.base.PortalServiceBaseImpl
- All Implemented Interfaces:
com.liferay.portal.kernel.module.framework.service.IdentifiableOSGiService,com.liferay.portal.kernel.service.BaseService,com.liferay.portal.kernel.service.PortalService
- Direct Known Subclasses:
PortalServiceImpl
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
Provides the base implementation for the portal remote service.
This implementation exists only as a container for the default service methods generated by ServiceBuilder. All custom service methods should be put in PortalServiceImpl.
- Author:
- Brian Wing Shun Chan
- See Also:
- {$generated.description}
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected com.liferay.counter.kernel.service.CounterLocalServiceprotected com.liferay.portal.kernel.service.PortalLocalServiceprotected com.liferay.portal.kernel.service.PortalServiceFields inherited from class com.liferay.portal.kernel.service.BaseServiceImpl
ANONYMOUS_NAMES, JRUN_ANONYMOUS, ORACLE_ANONYMOUS, SUN_ANONYMOUS, WEBLOGIC_ANONYMOUS -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoiddestroy()com.liferay.counter.kernel.service.CounterLocalServiceReturns the counter local service.Returns the OSGi service identifier.com.liferay.portal.kernel.service.PortalLocalServiceReturns the portal local service.com.liferay.portal.kernel.service.PortalServiceReturns the portal remote service.protected voidPerforms a SQL query.voidsetCounterLocalService(com.liferay.counter.kernel.service.CounterLocalService counterLocalService) Sets the counter local service.voidsetPortalLocalService(com.liferay.portal.kernel.service.PortalLocalService portalLocalService) Sets the portal local service.voidsetPortalService(com.liferay.portal.kernel.service.PortalService portalService) Sets the portal remote service.Methods inherited from class com.liferay.portal.kernel.service.BaseServiceImpl
getClassLoader, getGuestOrUser, getGuestOrUserId, getPermissionChecker, getUser, getUserIdMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.liferay.portal.kernel.service.PortalService
getAutoDeployDirectory, getBuildNumber, getVersion, testAddClassName_Rollback, testAddClassName_Success, testAutoSyncHibernateSessionStateOnTxCreation, testDeleteClassName, testGetBuildNumber, testGetUserId, testHasClassName
-
Field Details
-
portalLocalService
@BeanReference(type=com.liferay.portal.kernel.service.PortalLocalService.class) protected com.liferay.portal.kernel.service.PortalLocalService portalLocalService -
portalService
@BeanReference(type=com.liferay.portal.kernel.service.PortalService.class) protected com.liferay.portal.kernel.service.PortalService portalService -
counterLocalService
@BeanReference(type=com.liferay.counter.kernel.service.CounterLocalService.class) protected com.liferay.counter.kernel.service.CounterLocalService counterLocalService
-
-
Constructor Details
-
PortalServiceBaseImpl
public PortalServiceBaseImpl()
-
-
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
-
getPortalService
public com.liferay.portal.kernel.service.PortalService getPortalService()Returns the portal remote service.- Returns:
- the portal remote service
-
setPortalService
public void setPortalService(com.liferay.portal.kernel.service.PortalService portalService) Sets the portal remote service.- Parameters:
portalService- the portal remote 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:
getOSGiServiceIdentifierin interfacecom.liferay.portal.kernel.module.framework.service.IdentifiableOSGiService- Specified by:
getOSGiServiceIdentifierin interfacecom.liferay.portal.kernel.service.PortalService- Returns:
- the OSGi service identifier
-
runSQL
Performs a SQL query.- Parameters:
sql- the sql query
-