public class BulkPersistenceResponse<P> extends Object
CrudEntityService
/CrudEntityHelper
for operations that
involve persistence of multiple items at once. This response will contain information about which
entities succeeded, and which entities failed and why.Modifier and Type | Class and Description |
---|---|
static class |
BulkPersistenceResponse.PersistenceFailure<F> |
static class |
BulkPersistenceResponse.PersistenceFailureType |
Constructor and Description |
---|
BulkPersistenceResponse() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
List<BulkPersistenceResponse.PersistenceFailure<P>> |
getFailures()
All failures that occurred.
|
List<P> |
getSuccessfullyPersisted()
All entities that were successfully persisted.
|
int |
hashCode() |
void |
setFailures(List<BulkPersistenceResponse.PersistenceFailure<P>> failures)
All failures that occurred.
|
void |
setSuccessfullyPersisted(List<P> successfullyPersisted)
All entities that were successfully persisted.
|
String |
toString() |
public List<P> getSuccessfullyPersisted()
public List<BulkPersistenceResponse.PersistenceFailure<P>> getFailures()
public void setSuccessfullyPersisted(List<P> successfullyPersisted)
public void setFailures(List<BulkPersistenceResponse.PersistenceFailure<P>> failures)
protected boolean canEqual(Object other)
Copyright © 2021. All rights reserved.