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, createDefaultUpdateHelper, createMatchingTargetAlsoAdds, createMatchingTargetElement, findMatchingTarget, getBeanValidatorRegistry, getMatchedPairs, getRegistry, getTargetCollectionCreateType, getTargetElementCreateType, getUpdateHelper, isAutoCreateCollectionTargetGuess, removeUnmatchedTargetValues, setAutoCreateCollectionTargetGuess, setBeanValidatorRegistry, setRegistry, setTargetCollectionCreateType, setTargetElementCreateType, setUpdateHelper, shouldPredeleteUnmatchedTargetValues, shouldSetCreatedCollectionAsProperty, updateBean, updateBeanValue, validateBeancheckUniquePropertyValues, filterCollection, getChildValidatorMap, getChildValidators, getDefaultKeyForChildValidatorMap, getUniquePropertyNames, getValueValidator, listFromArray, setChildValidatorMap, setValueValidator, validateValuegetClassesRequired, getClassRequired, getRequiredOption, getRequiredPredicate, isRequired, isSourceOnly, keyMustBePresent, setClassesRequired, setClassRequired, setRequired, setRequiredOption, setRequiredPredicate, setSourceOnlyassertAlphanumeric, assertBoolean, assertDateTime, assertDouble, assertInstanceOf, assertInstanceOf, assertInteger, assertInteger, assertLong, assertNotBlankString, assertNotEmpty, assertNotEmpty, assertNotNull, assertNotNull, assertString, assertString, assertString, assertUnicodeAlphanumeric, createInstance, createInstance, getBeanPropertyValueForValidation, getCheckedBeanPropertyValueForValidation, getErrorCode, getNameForClass, getNameForClasses, getParentValidator, getPropertyNames, getPropertyValue, getPropertyValue, hasProperty, isDigits, isRequired, setErrorCode, setParentValidator, setPropertyValue, validateBeanPropertyclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitvalidateBeanProperty, validateValuegetErrorCode, setErrorCodeprotected 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.