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
This implementation exists only as a container for the default service methods generated by ServiceBuilder. All custom service methods should be put in ContactServiceImpl
.
ContactServiceImpl
Modifier and Type | Field and Description |
---|---|
protected com.liferay.portal.kernel.service.ContactLocalService |
contactLocalService |
protected com.liferay.portal.kernel.service.persistence.ContactPersistence |
contactPersistence |
protected com.liferay.portal.kernel.service.ContactService |
contactService |
protected com.liferay.counter.kernel.service.CounterLocalService |
counterLocalService |
Constructor and Description |
---|
ContactServiceBaseImpl() |
Modifier and Type | Method and Description |
---|---|
void |
afterPropertiesSet() |
void |
destroy() |
com.liferay.portal.kernel.service.ContactLocalService |
getContactLocalService()
Returns the contact local service.
|
com.liferay.portal.kernel.service.persistence.ContactPersistence |
getContactPersistence()
Returns the contact persistence.
|
com.liferay.portal.kernel.service.ContactService |
getContactService()
Returns the contact remote service.
|
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.
|
protected void |
runSQL(String sql)
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.
|
getClassLoader, getGuestOrUser, getGuestOrUserId, getPermissionChecker, getUser, getUserId
@BeanReference(type=com.liferay.portal.kernel.service.ContactLocalService.class) protected com.liferay.portal.kernel.service.ContactLocalService contactLocalService
@BeanReference(type=com.liferay.portal.kernel.service.ContactService.class) protected com.liferay.portal.kernel.service.ContactService contactService
@BeanReference(type=com.liferay.portal.kernel.service.persistence.ContactPersistence.class) protected com.liferay.portal.kernel.service.persistence.ContactPersistence contactPersistence
@BeanReference(type=com.liferay.counter.kernel.service.CounterLocalService.class) protected com.liferay.counter.kernel.service.CounterLocalService counterLocalService
public com.liferay.portal.kernel.service.ContactLocalService getContactLocalService()
public void setContactLocalService(com.liferay.portal.kernel.service.ContactLocalService contactLocalService)
contactLocalService
- the contact local servicepublic com.liferay.portal.kernel.service.ContactService getContactService()
public void setContactService(com.liferay.portal.kernel.service.ContactService contactService)
contactService
- the contact remote servicepublic com.liferay.portal.kernel.service.persistence.ContactPersistence getContactPersistence()
public void setContactPersistence(com.liferay.portal.kernel.service.persistence.ContactPersistence contactPersistence)
contactPersistence
- the contact 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.ContactService
protected Class<?> getModelClass()
protected String getModelClassName()
protected void runSQL(String sql)
sql
- the sql query