Package com.liferay.portal.service.base
Class ContactServiceBaseImpl
Object
com.liferay.portal.kernel.service.BaseServiceImpl
com.liferay.portal.service.base.ContactServiceBaseImpl
- All Implemented Interfaces:
com.liferay.portal.kernel.module.framework.service.IdentifiableOSGiService,com.liferay.portal.kernel.service.BaseService,com.liferay.portal.kernel.service.ContactService
- Direct Known Subclasses:
ContactServiceImpl
public abstract class ContactServiceBaseImpl
extends com.liferay.portal.kernel.service.BaseServiceImpl
implements com.liferay.portal.kernel.service.ContactService, com.liferay.portal.kernel.module.framework.service.IdentifiableOSGiService
Provides the base implementation for the contact 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 ContactServiceImpl.
- Author:
- Brian Wing Shun Chan
- See Also:
- {$generated.description}
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected com.liferay.portal.kernel.service.ContactLocalServiceprotected com.liferay.portal.kernel.service.persistence.ContactPersistenceprotected com.liferay.portal.kernel.service.ContactServiceprotected com.liferay.counter.kernel.service.CounterLocalServiceFields 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.portal.kernel.service.ContactLocalServiceReturns the contact local service.com.liferay.portal.kernel.service.persistence.ContactPersistenceReturns the contact persistence.com.liferay.portal.kernel.service.ContactServiceReturns the contact remote service.com.liferay.counter.kernel.service.CounterLocalServiceReturns the counter local service.protected Class<?>protected StringReturns the OSGi service identifier.protected voidPerforms a SQL query.voidsetContactLocalService(com.liferay.portal.kernel.service.ContactLocalService contactLocalService) Sets the contact local service.voidsetContactPersistence(com.liferay.portal.kernel.service.persistence.ContactPersistence contactPersistence) Sets the contact persistence.voidsetContactService(com.liferay.portal.kernel.service.ContactService contactService) Sets the contact remote service.voidsetCounterLocalService(com.liferay.counter.kernel.service.CounterLocalService counterLocalService) Sets the counter local 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.ContactService
addContact, getCompanyContacts, getCompanyContactsCount, getContact, getContacts, getContactsCount, updateContact
-
Field Details
-
contactLocalService
@BeanReference(type=com.liferay.portal.kernel.service.ContactLocalService.class) protected com.liferay.portal.kernel.service.ContactLocalService contactLocalService -
contactService
@BeanReference(type=com.liferay.portal.kernel.service.ContactService.class) protected com.liferay.portal.kernel.service.ContactService contactService -
contactPersistence
@BeanReference(type=com.liferay.portal.kernel.service.persistence.ContactPersistence.class) protected com.liferay.portal.kernel.service.persistence.ContactPersistence contactPersistence -
counterLocalService
@BeanReference(type=com.liferay.counter.kernel.service.CounterLocalService.class) protected com.liferay.counter.kernel.service.CounterLocalService counterLocalService
-
-
Constructor Details
-
ContactServiceBaseImpl
public ContactServiceBaseImpl()
-
-
Method Details
-
getContactLocalService
public com.liferay.portal.kernel.service.ContactLocalService getContactLocalService()Returns the contact local service.- Returns:
- the contact local service
-
setContactLocalService
public void setContactLocalService(com.liferay.portal.kernel.service.ContactLocalService contactLocalService) Sets the contact local service.- Parameters:
contactLocalService- the contact local service
-
getContactService
public com.liferay.portal.kernel.service.ContactService getContactService()Returns the contact remote service.- Returns:
- the contact remote service
-
setContactService
public void setContactService(com.liferay.portal.kernel.service.ContactService contactService) Sets the contact remote service.- Parameters:
contactService- the contact remote service
-
getContactPersistence
public com.liferay.portal.kernel.service.persistence.ContactPersistence getContactPersistence()Returns the contact persistence.- Returns:
- the contact persistence
-
setContactPersistence
public void setContactPersistence(com.liferay.portal.kernel.service.persistence.ContactPersistence contactPersistence) Sets the contact persistence.- Parameters:
contactPersistence- the contact 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.service.ContactService- Specified by:
getOSGiServiceIdentifierin interfacecom.liferay.portal.kernel.module.framework.service.IdentifiableOSGiService- Returns:
- the OSGi service identifier
-
getModelClass
-
getModelClassName
-
runSQL
Performs a SQL query.- Parameters:
sql- the sql query
-