Interface ExchangeObject

All Known Implementing Classes:
AbstractExchangeObject, Attribute, CategoryRef, ComprehensiveProduct, EntityExchangeObject, ExchangeEntityAsset, Prices, ProductAsset, ProductTag, SkuInventory, Translation, Variant

public interface ExchangeObject
Parent class that contains correlation Ids to re-create the structure
Author:
Kelly Tisdell (ktisdell)
  • Method Details

    • getId

      default String getId()
      Returns:
      the id of the entity
    • setId

      default void setId(String id)
      Set the id of the entity
      Parameters:
      id - the id of the entity
    • getParentCorrelationId

      String getParentCorrelationId()
    • setParentCorrelationId

      void setParentCorrelationId(String parentCorrelationId)
    • getCorrelationId

      String getCorrelationId()
    • setCorrelationId

      void setCorrelationId(String correlationId)
    • getContextState

      @Nullable default com.broadleafcommerce.data.tracking.core.filtering.business.domain.ContextState getContextState()
    • setContextState

      default void setContextState(@Nullable com.broadleafcommerce.data.tracking.core.filtering.business.domain.ContextState contextState)
    • setNewlyCreated

      void setNewlyCreated(boolean newlyCreated)
      Set to true if the object is newly created. This may not be applicable to all objects.
      Parameters:
      newlyCreated - true if the object is newly created
    • isNewlyCreated

      boolean isNewlyCreated()
      Returns:
      true if the object is newly created. Note that this is not always applicable to all objects.