Class AncillaryOrderSingleIndexRequestPayload

java.lang.Object
com.broadleafcommerce.order.provider.jpa.messaging.search.AncillaryOrderSingleIndexRequestPayload
All Implemented Interfaces:
com.broadleafcommerce.data.tracking.core.Identifiable, Serializable

public final class AncillaryOrderSingleIndexRequestPayload extends Object implements Serializable, com.broadleafcommerce.data.tracking.core.Identifiable
The SingleIndexRequest.payload used for index requests triggered from CRUD operations on persisted-domain-counterparts of entities related to Order.
Author:
Samarth Dhruva (samarthd)
See Also:
  • Constructor Details

    • AncillaryOrderSingleIndexRequestPayload

      public AncillaryOrderSingleIndexRequestPayload(String contextId, String orderId)
    • AncillaryOrderSingleIndexRequestPayload

      public AncillaryOrderSingleIndexRequestPayload(String contextId, String orderId, com.broadleafcommerce.data.tracking.core.filtering.domain.Tracking tracking)
  • Method Details

    • getId

      public String getId()
      Specified by:
      getId in interface com.broadleafcommerce.data.tracking.core.Identifiable
    • getContextId

      public String getContextId()
      The context ID of the changed entity entity. This is required if this entity is indexable to reindex it.
    • getOrderId

      public String getOrderId()
      The context ID of the order for which a reindex will be requested.
    • getTracking

      public com.broadleafcommerce.data.tracking.core.filtering.domain.Tracking getTracking()
      The tracking information of the order for which a reindex will be requested.
    • 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