public class EmailAddressServiceImpl extends EmailAddressServiceBaseImpl
counterLocalService, emailAddressLocalService, emailAddressPersistence, emailAddressService
Constructor and Description |
---|
EmailAddressServiceImpl() |
Modifier and Type | Method and Description |
---|---|
com.liferay.portal.kernel.model.EmailAddress |
addEmailAddress(String className,
long classPK,
String address,
long typeId,
boolean primary,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
void |
deleteEmailAddress(long emailAddressId) |
com.liferay.portal.kernel.model.EmailAddress |
fetchEmailAddress(long emailAddressId)
Returns the email address with the primary key.
|
com.liferay.portal.kernel.model.EmailAddress |
getEmailAddress(long emailAddressId) |
List<com.liferay.portal.kernel.model.EmailAddress> |
getEmailAddresses(String className,
long classPK) |
com.liferay.portal.kernel.model.EmailAddress |
updateEmailAddress(long emailAddressId,
String address,
long typeId,
boolean primary) |
afterPropertiesSet, destroy, getCounterLocalService, getEmailAddressLocalService, getEmailAddressPersistence, getEmailAddressService, getModelClass, getModelClassName, getOSGiServiceIdentifier, runSQL, setCounterLocalService, setEmailAddressLocalService, setEmailAddressPersistence, setEmailAddressService
public com.liferay.portal.kernel.model.EmailAddress addEmailAddress(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
public void deleteEmailAddress(long emailAddressId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public com.liferay.portal.kernel.model.EmailAddress fetchEmailAddress(long emailAddressId) throws com.liferay.portal.kernel.exception.PortalException
emailAddressId
- the primary key of the email addressnull
if
an email address with the primary key could not be found or if
the user did not have permission to view the email addresscom.liferay.portal.kernel.exception.PortalException
public com.liferay.portal.kernel.model.EmailAddress getEmailAddress(long emailAddressId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public List<com.liferay.portal.kernel.model.EmailAddress> getEmailAddresses(String className, long classPK) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
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