public class EmailAddressLocalServiceImpl extends EmailAddressLocalServiceBaseImpl
counterLocalService, emailAddressLocalService, emailAddressPersistence, persistedModelLocalServiceRegistry
Constructor and Description |
---|
EmailAddressLocalServiceImpl() |
Modifier and Type | Method and Description |
---|---|
com.liferay.portal.kernel.model.EmailAddress |
addEmailAddress(long userId,
String className,
long classPK,
String address,
long typeId,
boolean primary,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
com.liferay.portal.kernel.model.EmailAddress |
deleteEmailAddress(com.liferay.portal.kernel.model.EmailAddress emailAddress)
Deletes the email address from the database.
|
com.liferay.portal.kernel.model.EmailAddress |
deleteEmailAddress(long emailAddressId)
Deletes the email address with the primary key from the database.
|
void |
deleteEmailAddresses(long companyId,
String className,
long classPK) |
List<com.liferay.portal.kernel.model.EmailAddress> |
getEmailAddresses() |
List<com.liferay.portal.kernel.model.EmailAddress> |
getEmailAddresses(long companyId,
String className,
long classPK) |
com.liferay.portal.kernel.model.EmailAddress |
updateEmailAddress(long emailAddressId,
String address,
long typeId,
boolean primary) |
protected void |
validate(long emailAddressId,
long companyId,
long classNameId,
long classPK,
boolean primary) |
protected void |
validate(long emailAddressId,
long companyId,
long classNameId,
long classPK,
String address,
long typeId,
boolean primary) |
addEmailAddress, afterPropertiesSet, createEmailAddress, createPersistedModel, deletePersistedModel, destroy, dslQuery, dslQueryCount, dynamicQuery, dynamicQuery, dynamicQuery, dynamicQuery, dynamicQueryCount, dynamicQueryCount, fetchEmailAddress, fetchEmailAddressByUuidAndCompanyId, getActionableDynamicQuery, getBasePersistence, getCounterLocalService, getEmailAddress, getEmailAddressByUuidAndCompanyId, getEmailAddresses, getEmailAddressesCount, getEmailAddressLocalService, getEmailAddressPersistence, getExportActionableDynamicQuery, getIndexableActionableDynamicQuery, getModelClass, getModelClassName, getOSGiServiceIdentifier, getPersistedModel, initActionableDynamicQuery, runSQL, setCounterLocalService, setEmailAddressLocalService, setEmailAddressPersistence, updateEmailAddress
public com.liferay.portal.kernel.model.EmailAddress addEmailAddress(long userId, String className, long classPK, String address, long typeId, boolean primary, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
@SystemEvent(action=1, type=1) public com.liferay.portal.kernel.model.EmailAddress deleteEmailAddress(com.liferay.portal.kernel.model.EmailAddress emailAddress)
EmailAddressLocalServiceBaseImpl
Important: Inspect EmailAddressLocalServiceImpl for overloaded versions of the method. If provided, use these entry points to the API, as the implementation logic may require the additional parameters defined there.
deleteEmailAddress
in interface com.liferay.portal.kernel.service.EmailAddressLocalService
deleteEmailAddress
in class EmailAddressLocalServiceBaseImpl
emailAddress
- the email addresspublic com.liferay.portal.kernel.model.EmailAddress deleteEmailAddress(long emailAddressId) throws com.liferay.portal.kernel.exception.PortalException
EmailAddressLocalServiceBaseImpl
Important: Inspect EmailAddressLocalServiceImpl for overloaded versions of the method. If provided, use these entry points to the API, as the implementation logic may require the additional parameters defined there.
deleteEmailAddress
in interface com.liferay.portal.kernel.service.EmailAddressLocalService
deleteEmailAddress
in class EmailAddressLocalServiceBaseImpl
emailAddressId
- the primary key of the email addresscom.liferay.portal.kernel.exception.PortalException
- if a email address with the primary key could not be foundpublic void deleteEmailAddresses(long companyId, String className, long classPK)
public List<com.liferay.portal.kernel.model.EmailAddress> getEmailAddresses()
public List<com.liferay.portal.kernel.model.EmailAddress> getEmailAddresses(long companyId, String className, long classPK)
public com.liferay.portal.kernel.model.EmailAddress updateEmailAddress(long emailAddressId, String address, long typeId, boolean primary) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
protected void validate(long emailAddressId, long companyId, long classNameId, long classPK, boolean primary)
protected void validate(long emailAddressId, long companyId, long classNameId, long classPK, String address, long typeId, boolean primary) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException