Class PersistenceRequest.EmbeddedItemRequest
java.lang.Object
com.broadleafcommerce.common.dataimport.util.PersistenceRequest.EmbeddedItemRequest
- Enclosing class:
- PersistenceRequest<T>
Provides traceability in order to report success/failure of embedded items tied to a
particular entity. These are useful for situations where individual elements on an 'embedded
collection' field of a parent entity need their own success/failure tracking (ex: if they
have their own rows in the original import).
-
Constructor Summary
ConstructorsConstructorDescriptionEmbeddedItemRequest(String correlationId, String nestedPathInParent) EmbeddedItemRequest(String correlationId, String nestedPathInParent, List<PersistenceRequest.EmbeddedItemRequest> dependents) -
Method Summary
-
Constructor Details
-
EmbeddedItemRequest
-
EmbeddedItemRequest
public EmbeddedItemRequest(String correlationId, String nestedPathInParent, List<PersistenceRequest.EmbeddedItemRequest> dependents)
-
-
Method Details
-
getCorrelationId
-
getNestedPathInParent
The nested path of the embedded item in the parent. For example, "options[10]".This is used to determine which (if any) validation
Errorsfrom the parent should be placed on the embedded item completion record itself. -
getDependents
Any items embedded within this embedded item. -
equals
-
hashCode
public int hashCode() -
toString
-