D - Type d'objetpublic abstract class AbstractUiList<D extends io.vertigo.dynamo.domain.model.DtObject> extends AbstractList<UiObject<D>> implements Serializable
| Modifier and Type | Field and Description |
|---|---|
protected ComponentRef<io.vertigo.dynamo.store.StoreManager> |
storeManager
Accès au storeManager.
|
protected ComponentRef<io.vertigo.dynamo.transaction.VTransactionManager> |
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.
|
io.vertigo.dynamo.domain.metamodel.DtDefinition |
getDtDefinition() |
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 io.vertigo.dynamo.domain.model.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<io.vertigo.dynamo.store.StoreManager> storeManager
protected final ComponentRef<io.vertigo.dynamo.transaction.VTransactionManager> transactionManager
protected final void initUiObjectByIdIndex()
public final void initUiObjectByKeyIndex(String keyFieldName)
keyFieldName - Nom du champs à indexerprotected abstract io.vertigo.dynamo.domain.model.DtList<D> obtainDtList()
public final io.vertigo.dynamo.domain.metamodel.DtDefinition getDtDefinition()
public final int size()
size in interface Collection<UiObject<D extends io.vertigo.dynamo.domain.model.DtObject>>size in interface List<UiObject<D extends io.vertigo.dynamo.domain.model.DtObject>>size in class AbstractCollection<UiObject<D extends io.vertigo.dynamo.domain.model.DtObject>>public int indexOf(Object o)
public UiObject<D> getById(String keyFieldName, String keyValueAsString) throws io.vertigo.dynamo.domain.metamodel.FormatterException
keyFieldName - Nom du champ identifiantkeyValueAsString - Valeur de l'identifiantio.vertigo.dynamo.domain.metamodel.FormatterException - Format errorprotected final Map<String,UiObject<D>> obtainUiObjectByIdMap(String keyFieldName)
keyFieldName - Nom du champ identifiantprotected final Collection<UiObject<D>> getUiObjectBuffer()
protected final void clearUiObjectBuffer()
Copyright © 2016. All Rights Reserved.