Examples of MsnUserPropertiesImpl


Examples of net.sf.jml.impl.MsnUserPropertiesImpl

        MsnContactList contactList = session.getMessenger().getContactList();
        MsnContact contact = contactList.getContactById(getId());
        if (contact != null) {
            String prop = getProperty();
            MsnUserPropertyType propType = getPropertyType();
            MsnUserPropertiesImpl properties = (MsnUserPropertiesImpl) contact.getProperties();
            properties.setProperty(propType, prop);

            if (propType.equals(MsnUserPropertyType.MFN)) {
                ((MsnContactImpl) contact).setFriendlyName(prop);
            }
        }
View Full Code Here

Examples of net.sf.jml.impl.MsnUserPropertiesImpl

        super.messageReceived(session);

        String prop = getProperty();
        MsnUserPropertyType propType = getPropertyType();
        if (propType != null && prop != null) {
            MsnUserPropertiesImpl properties = (MsnUserPropertiesImpl) session
                    .getMessenger().getOwner().getProperties();
            properties.setProperty(propType, prop);

            if (propType.equals(MsnUserPropertyType.MFN)) {
                MsnOwnerImpl owner = (MsnOwnerImpl) session.getMessenger().getOwner();
                owner.fSetDisplayName(prop);
            }
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.