public abstract class WebsiteServiceBaseImpl
extends com.liferay.portal.kernel.service.BaseServiceImpl
implements com.liferay.portal.kernel.module.framework.service.IdentifiableOSGiService, com.liferay.portal.kernel.service.WebsiteService
This implementation exists only as a container for the default service methods generated by ServiceBuilder. All custom service methods should be put in WebsiteServiceImpl
.
WebsiteServiceImpl
Modifier and Type | Field and Description |
---|---|
protected com.liferay.counter.kernel.service.CounterLocalService |
counterLocalService |
protected com.liferay.portal.kernel.service.WebsiteLocalService |
websiteLocalService |
protected com.liferay.portal.kernel.service.persistence.WebsitePersistence |
websitePersistence |
protected com.liferay.portal.kernel.service.WebsiteService |
websiteService |
Constructor and Description |
---|
WebsiteServiceBaseImpl() |
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.WebsiteLocalService |
getWebsiteLocalService()
Returns the website local service.
|
com.liferay.portal.kernel.service.persistence.WebsitePersistence |
getWebsitePersistence()
Returns the website persistence.
|
com.liferay.portal.kernel.service.WebsiteService |
getWebsiteService()
Returns the website 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 |
setWebsiteLocalService(com.liferay.portal.kernel.service.WebsiteLocalService websiteLocalService)
Sets the website local service.
|
void |
setWebsitePersistence(com.liferay.portal.kernel.service.persistence.WebsitePersistence websitePersistence)
Sets the website persistence.
|
void |
setWebsiteService(com.liferay.portal.kernel.service.WebsiteService websiteService)
Sets the website remote service.
|
getClassLoader, getGuestOrUser, getGuestOrUserId, getPermissionChecker, getUser, getUserId
@BeanReference(type=com.liferay.portal.kernel.service.WebsiteLocalService.class) protected com.liferay.portal.kernel.service.WebsiteLocalService websiteLocalService
@BeanReference(type=com.liferay.portal.kernel.service.WebsiteService.class) protected com.liferay.portal.kernel.service.WebsiteService websiteService
@BeanReference(type=com.liferay.portal.kernel.service.persistence.WebsitePersistence.class) protected com.liferay.portal.kernel.service.persistence.WebsitePersistence websitePersistence
@BeanReference(type=com.liferay.counter.kernel.service.CounterLocalService.class) protected com.liferay.counter.kernel.service.CounterLocalService counterLocalService
public com.liferay.portal.kernel.service.WebsiteLocalService getWebsiteLocalService()
public void setWebsiteLocalService(com.liferay.portal.kernel.service.WebsiteLocalService websiteLocalService)
websiteLocalService
- the website local servicepublic com.liferay.portal.kernel.service.WebsiteService getWebsiteService()
public void setWebsiteService(com.liferay.portal.kernel.service.WebsiteService websiteService)
websiteService
- the website remote servicepublic com.liferay.portal.kernel.service.persistence.WebsitePersistence getWebsitePersistence()
public void setWebsitePersistence(com.liferay.portal.kernel.service.persistence.WebsitePersistence websitePersistence)
websitePersistence
- the website 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.WebsiteService
protected Class<?> getModelClass()
protected String getModelClassName()
protected void runSQL(String sql)
sql
- the sql query