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.PropertyUpdateAction
BeanValidator.NoOpBeanValidator
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CLASS_VERSION
Class version string
|
ID_PROPERTIES, LOGGER
NO_OP
NO_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, validateBean
checkUniquePropertyValues, filterCollection, getChildValidatorMap, getChildValidators, getDefaultKeyForChildValidatorMap, getUniquePropertyNames, getValueValidator, listFromArray, setChildValidatorMap, validateValue
getClassRequired, getRequiredOption, getRequiredPredicate, isRequired, keyMustBePresent, setClassRequired, setRequired, setRequiredOption, setRequiredPredicate
assertAlphanumeric, 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, validateBeanProperty
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
validateBeanProperty, validateValue
protected 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.