O - the type of entitypublic abstract class AbstractUiListUnmodifiable<O extends io.vertigo.dynamo.domain.model.DtObject> extends AbstractList<io.vertigo.vega.webservice.model.UiObject<O>> implements io.vertigo.vega.webservice.model.UiList<O>, 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).
|
io.vertigo.vega.webservice.model.UiObject<O> |
get(int index) |
io.vertigo.vega.webservice.model.UiObject<O> |
getById(String keyFieldName,
String keyValueAsString)
Récupère un objet par la valeur de son identifiant.
|
io.vertigo.dynamo.domain.metamodel.DtDefinition |
getDtDefinition() |
Class<O> |
getObjectType() |
protected Collection<io.vertigo.vega.webservice.model.UiObject<O>> |
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<O> |
obtainDtList()
Récupère la liste des elements.
|
protected Map<String,io.vertigo.vega.webservice.model.UiObject<O>> |
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, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitcheckFormat, mergeAndCheckInputadd, add, addAll, addAll, clear, contains, containsAll, equals, hashCode, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, replaceAll, retainAll, set, sort, spliterator, subList, toArray, toArrayparallelStream, removeIf, streamprotected final ComponentRef<io.vertigo.dynamo.store.StoreManager> storeManager
protected final ComponentRef<io.vertigo.dynamo.transaction.VTransactionManager> transactionManager
public Class<O> getObjectType()
getObjectType in interface io.vertigo.vega.webservice.model.UiList<O extends io.vertigo.dynamo.domain.model.DtObject>protected final void initUiObjectByIdIndex()
public final void initUiObjectByKeyIndex(String keyFieldName)
keyFieldName - Nom du champs à indexerprotected abstract io.vertigo.dynamo.domain.model.DtList<O> obtainDtList()
public final io.vertigo.dynamo.domain.metamodel.DtDefinition getDtDefinition()
getDtDefinition in interface io.vertigo.vega.webservice.model.UiList<O extends io.vertigo.dynamo.domain.model.DtObject>public final io.vertigo.vega.webservice.model.UiObject<O> get(int index)
public final int size()
size in interface Collection<io.vertigo.vega.webservice.model.UiObject<O extends io.vertigo.dynamo.domain.model.DtObject>>size in interface List<io.vertigo.vega.webservice.model.UiObject<O extends io.vertigo.dynamo.domain.model.DtObject>>size in class AbstractCollection<io.vertigo.vega.webservice.model.UiObject<O extends io.vertigo.dynamo.domain.model.DtObject>>public int indexOf(Object o)
public io.vertigo.vega.webservice.model.UiObject<O> 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,io.vertigo.vega.webservice.model.UiObject<O>> obtainUiObjectByIdMap(String keyFieldName)
keyFieldName - Nom du champ identifiantprotected final Collection<io.vertigo.vega.webservice.model.UiObject<O>> getUiObjectBuffer()
protected final void clearUiObjectBuffer()
Copyright © 2017. All Rights Reserved.