Class StateChangeOnlyBatchFlushContext.UpdateParams

java.lang.Object
com.broadleafcommerce.sandbox.service.flush.StateChangeOnlyBatchFlushContext.UpdateParams
Enclosing class:
StateChangeOnlyBatchFlushContext

public static class StateChangeOnlyBatchFlushContext.UpdateParams extends Object
The information to update universally across all StateChangeOnlyBatchFlushContext.SummaryUpdate and StateChangeOnlyBatchFlushContext.SummaryGroupUpdate instances.
  • Constructor Details

    • UpdateParams

      public UpdateParams(Map<String,Object> groupVals, Map<String,Object> summaryVals, List<String> whereState, List<String> whereStatuses)
      Creates a new UpdateParams instance.
      Parameters:
      groupVals - The values to update. Keyed by ChangeSummaryGroup field name. Includes notification state changes as well using special syntax.
      summaryVals - The values to update. Keyed by ChangeSummary field name. Includes notification state changes as well using special syntax.
      whereState - One or more ChangeSummary.getState() values that must match in order to perform the update on this entity. Optional.
      whereStatuses - One or more ChangeSummary.getStatus() values that must match in order to perform the update on this entity. Optional.
  • Method Details

    • getGroupVals

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

      public Map<String,Object> getSummaryVals()
      The values to update. Keyed by ChangeSummary field name. Includes notification state changes as well using special syntax.
    • 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.
    • 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