Class ProductTranslation
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 Summary
ConstructorDescriptionProductTranslation
(String productId, com.broadleafcommerce.translation.domain.Translation translation) -
Method Summary
Modifier and TypeMethodDescriptioncom.broadleafcommerce.data.tracking.core.filtering.business.domain.ContextState
getId()
com.broadleafcommerce.data.tracking.core.filtering.domain.ChangeContainer
com.broadleafcommerce.translation.domain.Translation
getValue()
void
setContextState
(com.broadleafcommerce.data.tracking.core.filtering.business.domain.ContextState contextState) void
setEntityField
(String entityField) void
setEntityId
(String entityId) void
setEntityType
(String entityType) void
void
void
setOverrideChangeContainer
(com.broadleafcommerce.data.tracking.core.filtering.domain.ChangeContainer overrideChangeContainer) void
setTypeHint
(String typeHint) void
-
Constructor Details
-
ProductTranslation
public ProductTranslation(String productId, com.broadleafcommerce.translation.domain.Translation translation)
-
-
Method Details
-
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 interfacecom.broadleafcommerce.data.tracking.core.ContextStateAware
-
getId
-
getLocale
-
getEntityType
-
getEntityId
-
getEntityField
-
getValue
-
getTypeHint
-
getContextState
public com.broadleafcommerce.data.tracking.core.filtering.business.domain.ContextState getContextState()- Specified by:
getContextState
in interfacecom.broadleafcommerce.data.tracking.core.ContextStateAware
-
getOverrideChangeContainer
public com.broadleafcommerce.data.tracking.core.filtering.domain.ChangeContainer getOverrideChangeContainer() -
setId
-
setLocale
-
setEntityType
-
setEntityId
-
setEntityField
-
setValue
-
setTypeHint
-
setOverrideChangeContainer
public void setOverrideChangeContainer(com.broadleafcommerce.data.tracking.core.filtering.domain.ChangeContainer overrideChangeContainer)
-