Package org.fenixedu.academic.domain.contacts

Examples of org.fenixedu.academic.domain.contacts.EmailAddress.edit()


    public void setDefaultEmailAddressValue(final String email, final boolean valid, final boolean visibleToPublic) {
        if (!StringUtils.isEmpty(email)) {
            final EmailAddress emailAddress;
            if (hasDefaultEmailAddress()) {
                emailAddress = getDefaultEmailAddress();
                emailAddress.edit(email);
            } else {
                emailAddress = EmailAddress.createEmailAddress(this, email, PartyContactType.PERSONAL, true);
            }
            emailAddress.setVisibleToPublic(visibleToPublic);
            if (valid) {
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.