public interface

IItemsProvider

com.c2call.sdk.pub.data.IItemsProvider<K, V>

Summary

Public Methods
abstract void addItem(K key, V value)
abstract void addItem(K key, V value, boolean notifyChanges)
abstract void addItems(Map<K, V> items)
abstract void addItems(Map<K, V> items, boolean notifyChanges)
abstract void addItemsChangedListener(IItemsChangedListener<K, V> listener)
abstract IItemsProvider<K, V> baseCloneWithoutListeners()
abstract void clear()
abstract void feed(Map<K, V> items, boolean notifyChanges)
abstract void feed(Map<K, V> items)
abstract V getItem(K key)
abstract SortedMap<K, V> getItems()
abstract Collection<V> getSortedItems(Comparator<V> comparator)
abstract boolean isNullOrEmpty()
abstract void notifyExternalChange()
abstract V removeItem(K key)
abstract V removeItem(K key, boolean notifyChanges)
abstract void removeItemsChangedListener(IItemsChangedListener<K, V> listener)
abstract boolean requestRefresh(IItemsChangedListener<K, V> listener)
abstract void suspend(boolean value)
abstract void update()

Public Methods

public abstract void addItem (K key, V value)

public abstract void addItem (K key, V value, boolean notifyChanges)

public abstract void addItems (Map<K, V> items)

public abstract void addItems (Map<K, V> items, boolean notifyChanges)

public abstract void addItemsChangedListener (IItemsChangedListener<K, V> listener)

public abstract IItemsProvider<K, V> baseCloneWithoutListeners ()

public abstract void clear ()

public abstract void feed (Map<K, V> items, boolean notifyChanges)

public abstract void feed (Map<K, V> items)

public abstract V getItem (K key)

public abstract SortedMap<K, V> getItems ()

public abstract Collection<V> getSortedItems (Comparator<V> comparator)

public abstract boolean isNullOrEmpty ()

public abstract void notifyExternalChange ()

public abstract V removeItem (K key)

public abstract V removeItem (K key, boolean notifyChanges)

public abstract void removeItemsChangedListener (IItemsChangedListener<K, V> listener)

public abstract boolean requestRefresh (IItemsChangedListener<K, V> listener)

public abstract void suspend (boolean value)

public abstract void update ()