java.lang.Object
com.broadleafcommerce.catalog.service.product.consolidation.ProductTranslation
All Implemented Interfaces:
com.broadleafcommerce.data.tracking.core.ContextStateAware

public class ProductTranslation extends Object implements com.broadleafcommerce.data.tracking.core.ContextStateAware
Class just for processing Product consolidation to allow storing both a translation for a related Product domain, and the ID of the product it belongs to.
  • Constructor Details

    • ProductTranslation

      public ProductTranslation(String productId, com.broadleafcommerce.translation.domain.Translation translation)
  • Method Details

    • getProductId

      public String getProductId()
    • getTranslation

      public com.broadleafcommerce.translation.domain.Translation getTranslation()
    • setContextState

      public void setContextState(com.broadleafcommerce.data.tracking.core.filtering.business.domain.ContextState contextState)
      Specified by:
      setContextState in interface com.broadleafcommerce.data.tracking.core.ContextStateAware
    • getId

      public String getId()
    • getLocale

      public Locale getLocale()
    • getEntityType

      public String getEntityType()
    • getEntityId

      public String getEntityId()
    • getEntityField

      public String getEntityField()
    • getValue

      public Object getValue()
    • getTypeHint

      public String getTypeHint()
    • getContextState

      public com.broadleafcommerce.data.tracking.core.filtering.business.domain.ContextState getContextState()
      Specified by:
      getContextState in interface com.broadleafcommerce.data.tracking.core.ContextStateAware
    • setId

      public void setId(String id)
    • setLocale

      public void setLocale(Locale locale)
    • setEntityType

      public void setEntityType(String entityType)
    • setEntityId

      public void setEntityId(String entityId)
    • setEntityField

      public void setEntityField(String entityField)
    • setValue

      public void setValue(Object value)
    • setTypeHint

      public void setTypeHint(String typeHint)