D - Type d'objetpublic abstract class AbstractUiList<D extends DtObject> extends AbstractList<UiObject<D>> implements Serializable
| Modifier and Type | Field and Description |
|---|---|
protected ComponentRef<PersistenceManager> |
persistenceManager
Accès au persistenceManager.
|
protected ComponentRef<KTransactionManager> |
transactionManager
Accès au transactionManager.
|
modCount| Modifier and Type | Method and Description |
|---|---|
protected void |
clearUiObjectBuffer()
Vide le buffer des UiObjects (potentiellement modifiés).
|
UiObject<D> |
get(int index) |
UiObject<D> |
getById(String keyFieldName,
String keyValueAsString)
Récupère un objet par la valeur de son identifiant.
|
protected Collection<UiObject<D>> |
getUiObjectBuffer() |
int |
indexOf(Object o) |
protected void |
initUiObjectByIdIndex()
Initialize l'index des UiObjects par Id.
|
void |
initUiObjectByKeyIndex(String keyFieldName)
Initialize l'index des UiObjects par Clé.
|
protected abstract DtList<D> |
obtainDtList()
Récupère la liste des elements.
|
protected Map<String,UiObject<D>> |
obtainUiObjectByIdMap(String keyFieldName)
Récupère l'index des UiObjects par Id.
|
int |
size() |
add, add, addAll, clear, equals, hashCode, iterator, lastIndexOf, listIterator, listIterator, remove, removeRange, set, subListaddAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toStringprotected final ComponentRef<PersistenceManager> persistenceManager
protected final ComponentRef<KTransactionManager> transactionManager
protected final void initUiObjectByIdIndex()
public final void initUiObjectByKeyIndex(String keyFieldName)
keyFieldName - Nom du champs à indexerprotected abstract DtList<D> obtainDtList()
public final int size()
public int indexOf(Object o)
public UiObject<D> getById(String keyFieldName, String keyValueAsString)
keyFieldName - Nom du champ identifiantkeyValueAsString - Valeur de l'identifiantprotected final Map<String,UiObject<D>> obtainUiObjectByIdMap(String keyFieldName)
keyFieldName - Nom du champ identifiantprotected final Collection<UiObject<D>> getUiObjectBuffer()
protected final void clearUiObjectBuffer()
Copyright © 2014. All Rights Reserved.