Package net.rim.device.api.collection

Examples of net.rim.device.api.collection.CollectionListener


        PersistentObject.commit(_contacts);

        // Use the CollectionListeners to let the server know the add was
        // successful
        for (int i = 0; i < _listeners.size(); i++) {
            final CollectionListener cl =
                    (CollectionListener) _listeners.elementAt(i);
            cl.elementAdded(this, object);
        }

        return true;
    }
View Full Code Here


        PersistentObject.commit(_contacts);

        // Use the CollectionListeners to let the server know the add was
        // successful
        for (int i = 0; i < _listeners.size(); i++) {
            final CollectionListener cl =
                    (CollectionListener) _listeners.elementAt(i);
            cl.elementAdded(this, object);
        }

        return true;
    }
View Full Code Here

        }

        // Use the CollectionListeners to let the server know the update was
        // successful
        for (int i = 0; i < _listeners.size(); i++) {
            final CollectionListener cl =
                    (CollectionListener) _listeners.elementAt(i);
            cl.elementUpdated(this, oldObject, newObject);
        }

        return true;
    }
View Full Code Here

        PersistentObject.commit(_contacts);

        // Use the CollectionListeners to let the server know the remove was
        // successful
        for (int i = 0; i < _listeners.size(); i++) {
            final CollectionListener cl =
                    (CollectionListener) _listeners.elementAt(i);
            cl.elementAdded(this, object);
        }

        return true;
    }
View Full Code Here

TOP

Related Classes of net.rim.device.api.collection.CollectionListener

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.