Class UiListModifiable<D extends DtObject>
java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractList<UiObject<D>>
io.vertigo.vega.engines.webservice.json.AbstractUiListModifiable<D>
io.vertigo.vega.engines.webservice.json.UiListModifiable<D>
- Type Parameters:
D- Object type
- All Implemented Interfaces:
UiList<D>,Serializable,Iterable<UiObject<D>>,Collection<UiObject<D>>,List<UiObject<D>>
Delta operations on List.
- Author:
- npiedeloup (16 sept. 2014 18:13:55)
- See Also:
-
Field Summary
Fields inherited from class java.util.AbstractList
modCount -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleancheckFormat(UiMessageStack uiMessageStack) Vérifie les UiObjects de la liste et remplis la pile d'erreur.createUiObject(D dto) booleaninthashCode()mergeAndCheckInput(List<DtObjectValidator<D>> dtObjectValidators, UiMessageStack uiMessageStack) Merged and validate input data and set error into message stack.Methods inherited from class io.vertigo.vega.engines.webservice.json.AbstractUiListModifiable
add, add, get, getDtDefinition, getDtListDelta, getObjectType, indexOf, iterator, remove, remove, size, toContextKeyMethods inherited from class java.util.AbstractList
add, addAll, clear, lastIndexOf, listIterator, listIterator, removeRange, set, subListMethods inherited from class java.util.AbstractCollection
addAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArrayMethods inherited from interface java.util.List
add, addAll, addAll, clear, contains, containsAll, isEmpty, lastIndexOf, listIterator, listIterator, remove, removeAll, replaceAll, retainAll, set, sort, spliterator, subList, toArray, toArray
-
Constructor Details
-
UiListModifiable
-
-
Method Details
-
checkFormat
Description copied from class:AbstractUiListModifiableVérifie les UiObjects de la liste et remplis la pile d'erreur.- Specified by:
checkFormatin interfaceUiList<D extends DtObject>- Overrides:
checkFormatin classAbstractUiListModifiable<D extends DtObject>- Parameters:
uiMessageStack- Pile des messages qui sera mise à jour- Returns:
- if the object is valid (no format errors) if it's not valid you must not call mergeAndCheckInput
-
mergeAndCheckInput
public DtList<D> mergeAndCheckInput(List<DtObjectValidator<D>> dtObjectValidators, UiMessageStack uiMessageStack) Merged and validate input data and set error into message stack.- Specified by:
mergeAndCheckInputin interfaceUiList<D extends DtObject>- Overrides:
mergeAndCheckInputin classAbstractUiListModifiable<D extends DtObject>- Parameters:
dtObjectValidators- Used validators, may depends on object type.uiMessageStack- Message stack to update- Returns:
- Updated and validated business object
-
equals
Description copied from class:AbstractUiListModifiable -
hashCode
public int hashCode()Description copied from class:AbstractUiListModifiable -
createUiObject
- Specified by:
createUiObjectin classAbstractUiListModifiable<D extends DtObject>
-