Class PersistenceRequest.EmbeddedItemRequest

java.lang.Object
com.broadleafcommerce.common.dataimport.util.PersistenceRequest.EmbeddedItemRequest
Enclosing class:
PersistenceRequest<T>

public static final class PersistenceRequest.EmbeddedItemRequest extends Object
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 Details

  • Method Details

    • getCorrelationId

      public String getCorrelationId()
    • getNestedPathInParent

      public String getNestedPathInParent()
      The nested path of the embedded item in the parent. For example, "options[10]".

      This is used to determine which (if any) validation Errors from the parent should be placed on the embedded item completion record itself.

    • getDependents

      Any items embedded within this embedded item.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object