public abstract class PortalServiceBaseImpl
extends com.liferay.portal.kernel.service.BaseServiceImpl
implements com.liferay.portal.kernel.service.PortalService, com.liferay.portal.kernel.module.framework.service.IdentifiableOSGiService
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
,
PortalServiceUtil
Modifier and Type | Field and Description |
---|---|
protected com.liferay.portal.kernel.service.ClassNameLocalService |
classNameLocalService |
protected com.liferay.portal.kernel.service.persistence.ClassNamePersistence |
classNamePersistence |
protected com.liferay.portal.kernel.service.ClassNameService |
classNameService |
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.portal.kernel.service.ClassNameLocalService |
getClassNameLocalService()
Returns the class name local service.
|
com.liferay.portal.kernel.service.persistence.ClassNamePersistence |
getClassNamePersistence()
Returns the class name persistence.
|
com.liferay.portal.kernel.service.ClassNameService |
getClassNameService()
Returns the class name remote service.
|
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 |
setClassNameLocalService(com.liferay.portal.kernel.service.ClassNameLocalService classNameLocalService)
Sets the class name local service.
|
void |
setClassNamePersistence(com.liferay.portal.kernel.service.persistence.ClassNamePersistence classNamePersistence)
Sets the class name persistence.
|
void |
setClassNameService(com.liferay.portal.kernel.service.ClassNameService classNameService)
Sets the class name remote service.
|
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
@BeanReference(type=com.liferay.portal.kernel.service.ClassNameLocalService.class) protected com.liferay.portal.kernel.service.ClassNameLocalService classNameLocalService
@BeanReference(type=com.liferay.portal.kernel.service.ClassNameService.class) protected com.liferay.portal.kernel.service.ClassNameService classNameService
@BeanReference(type=com.liferay.portal.kernel.service.persistence.ClassNamePersistence.class) protected com.liferay.portal.kernel.service.persistence.ClassNamePersistence classNamePersistence
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 com.liferay.portal.kernel.service.ClassNameLocalService getClassNameLocalService()
public void setClassNameLocalService(com.liferay.portal.kernel.service.ClassNameLocalService classNameLocalService)
classNameLocalService
- the class name local servicepublic com.liferay.portal.kernel.service.ClassNameService getClassNameService()
public void setClassNameService(com.liferay.portal.kernel.service.ClassNameService classNameService)
classNameService
- the class name remote servicepublic com.liferay.portal.kernel.service.persistence.ClassNamePersistence getClassNamePersistence()
public void setClassNamePersistence(com.liferay.portal.kernel.service.persistence.ClassNamePersistence classNamePersistence)
classNamePersistence
- the class name persistencepublic 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