E - the type of the elements in the source collection.public class ListUpdatingValidator<E,C extends java.util.List<? extends E>> extends UnorderedCollectionUpdatingValidator<E,C>
Created: August 11 2014
UpdatingValidator.NoOpValidator<T>, UpdatingValidator.NullObjectIfNulledUpdatingValidator, UpdatingValidator.PropertyUpdateActionBeanValidator.NoOpBeanValidator| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
CLASS_VERSION
Class version string
|
ID_PROPERTIES, LOGGERNO_OPNO_OP_BEAN_VALIDATOR| Constructor and Description |
|---|
ListUpdatingValidator() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
postProcessCollection(java.util.Collection<?> pTargetCollection,
java.util.List<java.lang.Object> pDestinationItemsInSourceOrder,
ValidatorContext<?> pContext)
In thise case, invoke setToSourceOrder() on our update helper.
|
addNewTargetElement, createCollectionDestination, createMatchingTargetAlsoAdds, createMatchingTargetElement, findMatchingTarget, getMatchedPairs, getTargetCollectionCreateType, getTargetElementCreateType, getUpdateHelper, isAutoCreateCollectionTargetGuess, removeUnmatchedTargetValues, setAutoCreateCollectionTargetGuess, setTargetCollectionCreateType, setTargetElementCreateType, setUpdateHelper, shouldPredeleteUnmatchedTargetValues, shouldSetCreatedCollectionAsProperty, updateBean, updateBeanValue, validateBeancheckUniquePropertyValues, filterCollection, getChildValidatorMap, getChildValidators, getDefaultKeyForChildValidatorMap, getUniquePropertyNames, getValueValidator, listFromArray, setChildValidatorMap, validateValuegetClassRequired, getRequiredOption, getRequiredPredicate, isRequired, keyMustBePresent, setClassRequired, setRequired, setRequiredOption, setRequiredPredicateassertAlphanumeric, assertBoolean, assertDateTime, assertDouble, assertInstanceOf, assertInteger, assertLong, assertNotBlankString, assertNotEmpty, assertNotEmpty, assertNotNull, assertNotNull, assertString, assertString, assertString, createInstance, getBeanPropertyValueForValidation, getErrorCode, getNameForClass, getPropertyNames, getPropertyValue, getPropertyValue, hasProperty, isDigits, isRequired, setErrorCode, setPropertyValue, validateBeanPropertyclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitvalidateBeanProperty, validateValueprotected void postProcessCollection(java.util.Collection<?> pTargetCollection,
java.util.List<java.lang.Object> pDestinationItemsInSourceOrder,
ValidatorContext<?> pContext)
postProcessCollection in class UnorderedCollectionUpdatingValidator<E,C extends java.util.List<? extends E>>pTargetCollection - the target collection to post process. The
target collection should be in its final state, except perhaps for
ordering.pDestinationItemsInSourceOrder - the destination items in source
order. Should have the same members as pTargetCollection, but not
necessary in source order.pContext - the current validator context.