Class BulkPersistenceResponse<P>
java.lang.Object
com.broadleafcommerce.data.tracking.core.service.BulkPersistenceResponse<P>
A response returned by
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.- Author:
- Samarth Dhruva (samarthd)
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static enum
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
All failures that occurred.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.toString()
-
Constructor Details
-
BulkPersistenceResponse
public BulkPersistenceResponse()
-
-
Method Details
-
getSuccessfullyPersisted
All entities that were successfully persisted. -
getFailures
All failures that occurred. -
setSuccessfullyPersisted
All entities that were successfully persisted. -
setFailures
All failures that occurred. -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-