Package com.liferay.portal.service.base
Class WebsiteServiceBaseImpl
Object
com.liferay.portal.kernel.service.BaseServiceImpl
com.liferay.portal.service.base.WebsiteServiceBaseImpl
- All Implemented Interfaces:
com.liferay.portal.kernel.module.framework.service.IdentifiableOSGiService,com.liferay.portal.kernel.service.BaseService,com.liferay.portal.kernel.service.WebsiteService
- Direct Known Subclasses:
WebsiteServiceImpl
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
Provides the base implementation for the website 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 WebsiteServiceImpl.
- 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.WebsiteLocalServiceprotected com.liferay.portal.kernel.service.persistence.WebsitePersistenceprotected com.liferay.portal.kernel.service.WebsiteServiceFields 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.protected Class<?>protected StringReturns the OSGi service identifier.com.liferay.portal.kernel.service.WebsiteLocalServiceReturns the website local service.com.liferay.portal.kernel.service.persistence.WebsitePersistenceReturns the website persistence.com.liferay.portal.kernel.service.WebsiteServiceReturns the website remote service.protected voidPerforms a SQL query.voidsetCounterLocalService(com.liferay.counter.kernel.service.CounterLocalService counterLocalService) Sets the counter local service.voidsetWebsiteLocalService(com.liferay.portal.kernel.service.WebsiteLocalService websiteLocalService) Sets the website local service.voidsetWebsitePersistence(com.liferay.portal.kernel.service.persistence.WebsitePersistence websitePersistence) Sets the website persistence.voidsetWebsiteService(com.liferay.portal.kernel.service.WebsiteService websiteService) Sets the website 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.WebsiteService
addWebsite, deleteWebsite, fetchWebsiteByExternalReferenceCode, getWebsite, getWebsites, updateWebsite
-
Field Details
-
websiteLocalService
@BeanReference(type=com.liferay.portal.kernel.service.WebsiteLocalService.class) protected com.liferay.portal.kernel.service.WebsiteLocalService websiteLocalService -
websiteService
@BeanReference(type=com.liferay.portal.kernel.service.WebsiteService.class) protected com.liferay.portal.kernel.service.WebsiteService websiteService -
websitePersistence
@BeanReference(type=com.liferay.portal.kernel.service.persistence.WebsitePersistence.class) protected com.liferay.portal.kernel.service.persistence.WebsitePersistence websitePersistence -
counterLocalService
@BeanReference(type=com.liferay.counter.kernel.service.CounterLocalService.class) protected com.liferay.counter.kernel.service.CounterLocalService counterLocalService
-
-
Constructor Details
-
WebsiteServiceBaseImpl
public WebsiteServiceBaseImpl()
-
-
Method Details
-
getWebsiteLocalService
public com.liferay.portal.kernel.service.WebsiteLocalService getWebsiteLocalService()Returns the website local service.- Returns:
- the website local service
-
setWebsiteLocalService
public void setWebsiteLocalService(com.liferay.portal.kernel.service.WebsiteLocalService websiteLocalService) Sets the website local service.- Parameters:
websiteLocalService- the website local service
-
getWebsiteService
public com.liferay.portal.kernel.service.WebsiteService getWebsiteService()Returns the website remote service.- Returns:
- the website remote service
-
setWebsiteService
public void setWebsiteService(com.liferay.portal.kernel.service.WebsiteService websiteService) Sets the website remote service.- Parameters:
websiteService- the website remote service
-
getWebsitePersistence
public com.liferay.portal.kernel.service.persistence.WebsitePersistence getWebsitePersistence()Returns the website persistence.- Returns:
- the website persistence
-
setWebsitePersistence
public void setWebsitePersistence(com.liferay.portal.kernel.service.persistence.WebsitePersistence websitePersistence) Sets the website persistence.- Parameters:
websitePersistence- the website persistence
-
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.WebsiteService- Returns:
- the OSGi service identifier
-
getModelClass
-
getModelClassName
-
runSQL
Performs a SQL query.- Parameters:
sql- the sql query
-