java.lang.Object
com.broadleafcommerce.common.dataimport.messaging.BatchRequest

public class BatchRequest extends Object
Event domain sent across the BatchRequestConsumer channel
Author:
Phillip Verheyden (phillipuniverse)
  • Constructor Details

  • Method Details

    • getId

      public String getId()
      Unique identifier for this batch
    • getImportId

      public String getImportId()
      The import that this batch request is associated with
    • getType

      public String getType()
      Configurable type of this import, like PRODUCT, CATEGORY, etc
    • getFileType

      public String getFileType()
      The original specification that this import comes from, like CSV, EXCEL, etc
    • getContext

      public BatchRequest.BatchContext getContext()
    • getRecords

      public List<BatchRecord> getRecords()
      The records that should be inserted within this batch
    • setId

      public void setId(String id)
      Unique identifier for this batch
    • setImportId

      public void setImportId(String importId)
      The import that this batch request is associated with
    • setType

      public void setType(String type)
      Configurable type of this import, like PRODUCT, CATEGORY, etc
    • setFileType

      public void setFileType(String fileType)
      The original specification that this import comes from, like CSV, EXCEL, etc
    • setContext

      public void setContext(BatchRequest.BatchContext context)
    • setRecords

      public void setRecords(List<BatchRecord> records)
      The records that should be inserted within this batch
    • equals

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

      protected boolean canEqual(Object other)
    • hashCode

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

      public String toString()
      Overrides:
      toString in class Object