/** * Creates a new email address with the primary key. Does not add the email address to the database. * * @param emailAddressId the primary key for the new email address * @return the new email address */ @Override public com.liferay.portal.kernel.model.EmailAddress createEmailAddress( long emailAddressId) { return _emailAddressLocalService.createEmailAddress(emailAddressId); }
/** * Creates a new email address with the primary key. Does not add the email address to the database. * * @param emailAddressId the primary key for the new email address * @return the new email address */ public static com.liferay.portal.kernel.model.EmailAddress createEmailAddress( long emailAddressId) { return getService().createEmailAddress(emailAddressId); }