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.ContactLocalService
protected com.liferay.portal.kernel.service.persistence.ContactPersistence
protected com.liferay.portal.kernel.service.ContactService
protected com.liferay.counter.kernel.service.CounterLocalService
Fields 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 TypeMethodDescriptionvoid
void
destroy()
com.liferay.portal.kernel.service.ContactLocalService
Returns the contact local service.com.liferay.portal.kernel.service.persistence.ContactPersistence
Returns the contact persistence.com.liferay.portal.kernel.service.ContactService
Returns the contact remote service.com.liferay.counter.kernel.service.CounterLocalService
Returns the counter local service.protected Class<?>
protected String
Returns the OSGi service identifier.protected void
Performs a SQL query.void
setContactLocalService
(com.liferay.portal.kernel.service.ContactLocalService contactLocalService) Sets the contact local service.void
setContactPersistence
(com.liferay.portal.kernel.service.persistence.ContactPersistence contactPersistence) Sets the contact persistence.void
setContactService
(com.liferay.portal.kernel.service.ContactService contactService) Sets the contact remote service.void
setCounterLocalService
(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, getUserId
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods 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:
getOSGiServiceIdentifier
in interfacecom.liferay.portal.kernel.service.ContactService
- Specified by:
getOSGiServiceIdentifier
in 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
-