public class EmailAddressLocalServiceImpl extends EmailAddressLocalServiceBaseImpl
classNameLocalService, classNamePersistence, counterLocalService, emailAddressLocalService, emailAddressPersistence, listTypeLocalService, listTypePersistence, persistedModelLocalServiceRegistry, userFinder, userLocalService, userPersistence
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, deletePersistedModel, destroy, dynamicQuery, dynamicQuery, dynamicQuery, dynamicQuery, dynamicQueryCount, dynamicQueryCount, fetchEmailAddress, fetchEmailAddressByUuidAndCompanyId, getActionableDynamicQuery, getClassNameLocalService, getClassNamePersistence, getCounterLocalService, getEmailAddress, getEmailAddressByUuidAndCompanyId, getEmailAddresses, getEmailAddressesCount, getEmailAddressLocalService, getEmailAddressPersistence, getExportActionableDynamicQuery, getIndexableActionableDynamicQuery, getListTypeLocalService, getListTypePersistence, getModelClass, getModelClassName, getOSGiServiceIdentifier, getPersistedModel, getUserFinder, getUserLocalService, getUserPersistence, initActionableDynamicQuery, runSQL, setClassNameLocalService, setClassNamePersistence, setCounterLocalService, setEmailAddressLocalService, setEmailAddressPersistence, setListTypeLocalService, setListTypePersistence, setUserFinder, setUserLocalService, setUserPersistence, 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
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
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