Package | Description |
---|---|
com.broadleafcommerce.data.tracking.core.service |
Modifier and Type | Method and Description |
---|---|
BulkPersistenceResponse.PersistenceFailure<F> |
BulkPersistenceResponse.PersistenceFailure.setFailedEntity(F failedEntity)
The entity which failed to persist.
|
BulkPersistenceResponse.PersistenceFailure<F> |
BulkPersistenceResponse.PersistenceFailure.setType(String type)
The type of failure that this entity encountered.
|
BulkPersistenceResponse.PersistenceFailure<F> |
BulkPersistenceResponse.PersistenceFailure.setValidationErrors(org.springframework.validation.Errors validationErrors)
If
type was BulkPersistenceResponse.PersistenceFailureType.VALIDATION , this object should
contain the errors that the entity encountered. |
Modifier and Type | Method and Description |
---|---|
List<BulkPersistenceResponse.PersistenceFailure<P>> |
BulkPersistenceResponse.getFailures()
All failures that occurred.
|
Modifier and Type | Method and Description |
---|---|
protected <P,D> D |
MappableCrudEntityHelper.applyReplace(String entityToReplaceId,
P replacement,
Map<String,D> foundEntitiesById,
List<BulkPersistenceResponse.PersistenceFailure<P>> failures) |
protected <P> Trackable |
CrudEntityHelper.applyReplace(String entityToReplaceId,
P replacement,
Map<String,Trackable> foundEntitiesByContextId,
List<BulkPersistenceResponse.PersistenceFailure<P>> failures,
ContextInfo contextInfo) |
protected <P,D> org.springframework.data.util.Pair<P,D> |
MappableCrudEntityHelper.applyUpdate(String entityToUpdateId,
P change,
Map<String,D> foundEntitiesById,
List<BulkPersistenceResponse.PersistenceFailure<P>> failures) |
protected <P> org.springframework.data.util.Pair<P,Trackable> |
CrudEntityHelper.applyUpdate(String entityToUpdateId,
P change,
Map<String,Trackable> foundEntitiesByContextId,
List<BulkPersistenceResponse.PersistenceFailure<P>> failures,
ContextInfo contextInfo) |
void |
BulkPersistenceResponse.setFailures(List<BulkPersistenceResponse.PersistenceFailure<P>> failures)
All failures that occurred.
|
protected <P> void |
CrudEntityHelper.validateAllForCreate(List<P> businessInstancesToValidate,
ContextInfo contextInfo,
List<P> valid,
List<BulkPersistenceResponse.PersistenceFailure<P>> failed)
Validates each of the given business instances for creation.
|
protected <P> void |
MappableCrudEntityHelper.validateAllForCreate(List<P> businessInstancesToValidate,
List<P> valid,
List<BulkPersistenceResponse.PersistenceFailure<P>> failed)
Validates each of the given business instances for creation.
|
protected <P> void |
CrudEntityHelper.validateAllForReplace(List<Update<P>> businessInstancesToValidate,
ContextInfo contextInfo,
List<Update<P>> valid,
List<BulkPersistenceResponse.PersistenceFailure<P>> failed)
Validates the business instance within each
Update for replacement. |
protected <P> void |
MappableCrudEntityHelper.validateAllForReplace(List<Update<P>> businessInstancesToValidate,
List<Update<P>> valid,
List<BulkPersistenceResponse.PersistenceFailure<P>> failed)
Validates the business instance within each
Update for replacement. |
protected <P,D> void |
MappableCrudEntityHelper.validateAllForUpdate(List<org.springframework.data.util.Pair<P,D>> businessInstancesToValidate,
List<org.springframework.data.util.Pair<P,D>> valid,
List<BulkPersistenceResponse.PersistenceFailure<P>> failed)
Validates the business instance within each pair for update.
|
protected <P> void |
CrudEntityHelper.validateAllForUpdate(List<org.springframework.data.util.Pair<P,Trackable>> businessInstancesToValidate,
ContextInfo contextInfo,
List<org.springframework.data.util.Pair<P,Trackable>> valid,
List<BulkPersistenceResponse.PersistenceFailure<P>> failed)
Validates the business instance within each pair for update.
|
Copyright © 2021. All rights reserved.