public class ObservablePersistentList<E> extends ObservableList<E> implements org.granite.client.persistence.collection.UnsafePersistentCollection<org.granite.client.persistence.collection.PersistentList<E>>
org.granite.client.persistence.collection.PersistentCollection.ChangeListener, org.granite.client.persistence.collection.PersistentCollection.InitializationCallback, org.granite.client.persistence.collection.PersistentCollection.InitializationListenerccs| Constructor and Description |
|---|
ObservablePersistentList(org.granite.client.persistence.collection.PersistentList<E> persistentList) |
| Modifier and Type | Method and Description |
|---|---|
void |
addListener(org.granite.client.persistence.collection.PersistentCollection.ChangeListener listener) |
void |
addListener(org.granite.client.persistence.collection.PersistentCollection.InitializationListener listener) |
void |
clearDirty() |
org.granite.client.persistence.collection.PersistentCollection |
clone(boolean uninitialize) |
void |
dirty() |
org.granite.client.persistence.Loader<org.granite.client.persistence.collection.PersistentCollection> |
getLoader() |
void |
initialize() |
void |
initializing() |
org.granite.client.persistence.collection.PersistentList<E> |
internalPersistentCollection() |
boolean |
isDirty() |
void |
readExternal(ObjectInput in) |
void |
removeListener(org.granite.client.persistence.collection.PersistentCollection.ChangeListener listener) |
void |
removeListener(org.granite.client.persistence.collection.PersistentCollection.InitializationListener listener) |
void |
setLoader(org.granite.client.persistence.Loader<org.granite.client.persistence.collection.PersistentCollection> loader) |
void |
uninitialize() |
boolean |
wasInitialized() |
void |
withInitialized(org.granite.client.persistence.collection.PersistentCollection.InitializationCallback callback) |
void |
writeExternal(ObjectOutput out) |
add, add, addAll, addAll, addCollectionChangeListener, clear, contains, containsAll, get, getWrappedList, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeCollectionChangeListener, retainAll, set, size, subList, toArray, toArraypublic ObservablePersistentList(org.granite.client.persistence.collection.PersistentList<E> persistentList)
public void writeExternal(ObjectOutput out) throws IOException
writeExternal in interface ExternalizableIOExceptionpublic void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal in interface ExternalizableIOExceptionClassNotFoundExceptionpublic boolean wasInitialized()
wasInitialized in interface org.granite.client.persistence.collection.PersistentCollectionpublic void uninitialize()
uninitialize in interface org.granite.client.persistence.collection.PersistentCollectionpublic void initialize()
initialize in interface org.granite.client.persistence.collection.PersistentCollectionpublic void initializing()
initializing in interface org.granite.client.persistence.collection.PersistentCollectionpublic org.granite.client.persistence.collection.PersistentCollection clone(boolean uninitialize)
clone in interface org.granite.client.persistence.collection.PersistentCollectionpublic org.granite.client.persistence.Loader<org.granite.client.persistence.collection.PersistentCollection> getLoader()
getLoader in interface org.granite.client.persistence.collection.PersistentCollectionpublic void setLoader(org.granite.client.persistence.Loader<org.granite.client.persistence.collection.PersistentCollection> loader)
setLoader in interface org.granite.client.persistence.collection.PersistentCollectionpublic boolean isDirty()
isDirty in interface org.granite.client.persistence.collection.PersistentCollectionpublic void dirty()
dirty in interface org.granite.client.persistence.collection.PersistentCollectionpublic void clearDirty()
clearDirty in interface org.granite.client.persistence.collection.PersistentCollectionpublic void addListener(org.granite.client.persistence.collection.PersistentCollection.ChangeListener listener)
addListener in interface org.granite.client.persistence.collection.PersistentCollectionpublic void removeListener(org.granite.client.persistence.collection.PersistentCollection.ChangeListener listener)
removeListener in interface org.granite.client.persistence.collection.PersistentCollectionpublic void addListener(org.granite.client.persistence.collection.PersistentCollection.InitializationListener listener)
addListener in interface org.granite.client.persistence.collection.PersistentCollectionpublic void removeListener(org.granite.client.persistence.collection.PersistentCollection.InitializationListener listener)
removeListener in interface org.granite.client.persistence.collection.PersistentCollectionpublic void withInitialized(org.granite.client.persistence.collection.PersistentCollection.InitializationCallback callback)
withInitialized in interface org.granite.client.persistence.collection.PersistentCollectionpublic org.granite.client.persistence.collection.PersistentList<E> internalPersistentCollection()
internalPersistentCollection in interface org.granite.client.persistence.collection.UnsafePersistentCollection<org.granite.client.persistence.collection.PersistentList<E>>