/** * Returns the email address with the primary key. * * @param emailAddressId the primary key of the email address * @return the email address * @throws PortalException if a email address with the primary key could not be found */ @Override public com.liferay.portal.kernel.model.EmailAddress getEmailAddress( long emailAddressId) throws com.liferay.portal.kernel.exception.PortalException { return _emailAddressLocalService.getEmailAddress(emailAddressId); }
/** * Returns the email address with the primary key. * * @param emailAddressId the primary key of the email address * @return the email address * @throws PortalException if a email address with the primary key could not be found */ public static com.liferay.portal.kernel.model.EmailAddress getEmailAddress( long emailAddressId) throws com.liferay.portal.kernel.exception.PortalException { return getService().getEmailAddress(emailAddressId); }