/** * Returns the email address with the primary key. * * @param emailAddressId the primary key of the email address * @return the email address with the primary key, or <code>null</code> if an email address with the primary key could not be found or if the user did not have permission to view the email address */ @Override public com.liferay.portal.kernel.model.EmailAddress fetchEmailAddress( long emailAddressId) throws com.liferay.portal.kernel.exception.PortalException { return _emailAddressService.fetchEmailAddress(emailAddressId); }
/** * Returns the email address with the primary key. * * @param emailAddressId the primary key of the email address * @return the email address with the primary key, or <code>null</code> if an email address with the primary key could not be found or if the user did not have permission to view the email address */ public static com.liferay.portal.kernel.model.EmailAddress fetchEmailAddress( long emailAddressId) throws com.liferay.portal.kernel.exception.PortalException { return getService().fetchEmailAddress(emailAddressId); }