Package net.java.sip.communicator.service.protocol.ServerStoredDetails

Examples of net.java.sip.communicator.service.protocol.ServerStoredDetails.GenericDetail


    {
        List<GenericDetail> details = getContactDetails(uin);
        Iterator<GenericDetail> iter = details.iterator();
        while (iter.hasNext())
        {
            GenericDetail obj = iter.next();
            if (detailClass.isAssignableFrom(obj.getClass()))
            {
                return true;
            }
        }
        return false;
View Full Code Here


        List<GenericDetail> result = new LinkedList<GenericDetail>();

        Iterator<GenericDetail> iter = details.iterator();
        while (iter.hasNext())
        {
            GenericDetail item = iter.next();
            if (detailClass.equals(item.getClass()))
            {
                result.add(item);
            }
        }
View Full Code Here

        boolean isFound = false;
        Iterator<GenericDetail> iter = getDetails(uin, currentDetailValue.getClass());
        while (iter.hasNext())
        {
            GenericDetail item = iter.next();
            if (item.equals(currentDetailValue))
            {
                isFound = true;
                break;

            }
View Full Code Here

                        if(details != null)
                        {
                            while(details.hasNext())
                            {
                                GenericDetail d = details.next();
                                if(d instanceof PhoneNumberDetail &&
                                    !(d instanceof PagerDetail) &&
                                    !(d instanceof FaxDetail))
                                {
                                    PhoneNumberDetail pnd = (PhoneNumberDetail)d;
View Full Code Here

            if(callButton.isEnabled())
                return;

            while(details.hasNext())
            {
                GenericDetail d = details.next();
                if(d instanceof PhoneNumberDetail &&
                    !(d instanceof PagerDetail) &&
                    !(d instanceof FaxDetail))
                {
                    PhoneNumberDetail pnd = (PhoneNumberDetail)d;
View Full Code Here

    public Iterator<GenericDetail> getAllAvailableDetails()
    {
        assertConnected();

        List<GenericDetail> ds = infoRetreiver.getContactDetails(uin);
        GenericDetail img = getImage();
        if(img != null)
            ds.add(img);
       
        return ds.iterator();
    }
View Full Code Here

                    int count = 0;
                    Iterator<GenericDetail> i
                        = getDetails(SpokenLanguageDetail.class);
                    while (i.hasNext())
                    {
                        GenericDetail item = i.next();
                        langs[count++]
                            = getLanguageCode(
                                ((SpokenLanguageDetail)item).getLocale());
                    }
                    langs[count] = getLanguageCode(((SpokenLanguageDetail)detail).getLocale());
View Full Code Here

    {
        boolean isFound = false;
        Iterator<?> iter = getAllAvailableDetails();
        while (iter.hasNext())
        {
            GenericDetail item = (GenericDetail) iter.next();
            if (item.equals(detail))
            {
                isFound = true;
            }
        }
        // Current detail value does not exist
View Full Code Here

            {
                details = infoOpSet.getAllDetailsForContact(contact);

                while(details.hasNext())
                {
                    GenericDetail d = details.next();
                    if(d instanceof PhoneNumberDetail &&
                        !(d instanceof PagerDetail) &&
                        !(d instanceof FaxDetail))
                    {
                        PhoneNumberDetail pnd = (PhoneNumberDetail)d;
View Full Code Here

        // we write not only the changed one but and the other found
        List<GenericDetail> foundValues = new ArrayList<GenericDetail>();
        Iterator<?> iter = infoRetreiver.getDetails(uin, detail.getClass());
        while (iter.hasNext())
        {
            GenericDetail item = (GenericDetail) iter.next();
            if(item.equals(detail))
            {
                isFound = true;
                foundValues.add(detail);
            }
            else
View Full Code Here

TOP

Related Classes of net.java.sip.communicator.service.protocol.ServerStoredDetails.GenericDetail

Copyright © 2018 www.massapicom. 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.