/** * Deletes the email address from the database. Also notifies the appropriate model listeners. * * @param emailAddress the email address * @return the email address that was removed */ @Override public com.liferay.portal.kernel.model.EmailAddress deleteEmailAddress( com.liferay.portal.kernel.model.EmailAddress emailAddress) { return _emailAddressLocalService.deleteEmailAddress(emailAddress); }
/** * Deletes the email address with the primary key from the database. Also notifies the appropriate model listeners. * * @param emailAddressId the primary key of the email address * @return the email address that was removed * @throws PortalException if a email address with the primary key could not be found */ @Override public com.liferay.portal.kernel.model.EmailAddress deleteEmailAddress( long emailAddressId) throws com.liferay.portal.kernel.exception.PortalException { return _emailAddressLocalService.deleteEmailAddress(emailAddressId); }
/** * Deletes the email address from the database. Also notifies the appropriate model listeners. * * @param emailAddress the email address * @return the email address that was removed */ public static com.liferay.portal.kernel.model.EmailAddress deleteEmailAddress( com.liferay.portal.kernel.model.EmailAddress emailAddress) { return getService().deleteEmailAddress(emailAddress); }
/** * Deletes the email address with the primary key from the database. Also notifies the appropriate model listeners. * * @param emailAddressId the primary key of the email address * @return the email address that was removed * @throws PortalException if a email address with the primary key could not be found */ public static com.liferay.portal.kernel.model.EmailAddress deleteEmailAddress( long emailAddressId) throws com.liferay.portal.kernel.exception.PortalException { return getService().deleteEmailAddress(emailAddressId); }