Examples of MobilePhone


Examples of org.fenixedu.academic.domain.contacts.MobilePhone

        }
        return null;
    }

    public MobilePhone getDefaultMobilePhone() {
        MobilePhone defaultPhone = getPerson().getDefaultMobilePhone();
        if (defaultPhone != null) {
            return defaultPhone;
        }
        final List<MobilePhone> pendingPhones = getPerson().getPendingMobilePhones();
        for (MobilePhone phone : pendingPhones) {
View Full Code Here

Examples of org.fenixedu.academic.domain.contacts.MobilePhone

    public void setDefaultMobilePhoneNumber(final String number) {
        setDefaultMobilePhoneNumber(number, false);
    }

    public void setDefaultMobilePhoneNumber(final String number, final boolean valid) {
        MobilePhone mobilePhone;
        if (hasDefaultMobilePhone()) {
            mobilePhone = getDefaultMobilePhone();
            mobilePhone.edit(number);
        } else {
            mobilePhone = MobilePhone.createMobilePhone(this, number, PartyContactType.PERSONAL, true);
        }

        if (valid) {
            mobilePhone.setValid();
        }
    }
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.