Class SummaryBasedFlushContext.SummaryUpdate

java.lang.Object
com.broadleafcommerce.sandbox.service.flush.SummaryBasedFlushContext.SummaryUpdate
Enclosing class:
SummaryBasedFlushContext

public static class SummaryBasedFlushContext.SummaryUpdate extends Object
The state change information for a single ChangeSummary instance
  • Constructor Details

  • Method Details

    • getVals

      public Map<String,Object> getVals()
      The values to update. Keyed by ChangeSummary field name. Includes notification state changes as well using special syntax.
    • getChangeSummaryId

      public String getChangeSummaryId()
      The primary key of the change summary entity
    • getChangeSummaryVendorRef

      @Nullable public String getChangeSummaryVendorRef()
      The ChangeSummary.getVendorRef() for the summary being updated. This is typically only used during operations where ChangeSummaryGroup.getAffectedVendorRefs() need to be updated to include information from any summaries newly added to the group.
    • getWhereState

      public List<String> getWhereState()
      One or more ChangeSummary.getState() values that must match in order to perform the update on this entity. Optional.
    • getWhereStatuses

      public List<String> getWhereStatuses()
      One or more ChangeSummary.getStatus() values that must match in order to perform the update on this entity. Optional.
    • getMessageType

      public String getMessageType()
      The NotificationState.getMessageType() that must match for updates to durable messaging embodied in NotificationStateAware.getNotificationStates().
    • 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