Class JpaTranslationSingleIndexRequestMessageBuilder
java.lang.Object
com.broadleafcommerce.catalog.provider.shared.messaging.search.AbstractAncillaryProductSingleIndexRequestMessageBuilder<com.broadleafcommerce.translation.provider.jpa.domain.JpaTranslation>
com.broadleafcommerce.catalog.provider.jpa.messaging.search.JpaTranslationSingleIndexRequestMessageBuilder
- All Implemented Interfaces:
com.broadleafcommerce.common.extension.data.DataRoutePartitionAware
,com.broadleafcommerce.data.tracking.core.messaging.search.SingleIndexRequestMessageBuilder
public class JpaTranslationSingleIndexRequestMessageBuilder
extends AbstractAncillaryProductSingleIndexRequestMessageBuilder<com.broadleafcommerce.translation.provider.jpa.domain.JpaTranslation>
A
SingleIndexRequestMessageBuilder
for JpaTranslation
.- Author:
- Jeff Fischer
-
Field Summary
Fields inherited from interface com.broadleafcommerce.common.extension.data.DataRoutePartitionAware
ALL_MATCH
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuildPayload
(com.broadleafcommerce.translation.provider.jpa.domain.JpaTranslation entity) boolean
canBuild
(@NonNull com.broadleafcommerce.data.tracking.core.search.Indexable entity) protected Class<com.broadleafcommerce.translation.provider.jpa.domain.JpaTranslation>
Methods inherited from class com.broadleafcommerce.catalog.provider.shared.messaging.search.AbstractAncillaryProductSingleIndexRequestMessageBuilder
build, getDataRoutePartition, isAssignableToSupportedType
-
Constructor Details
-
JpaTranslationSingleIndexRequestMessageBuilder
public JpaTranslationSingleIndexRequestMessageBuilder()
-
-
Method Details
-
getSupportedPersistedType
protected Class<com.broadleafcommerce.translation.provider.jpa.domain.JpaTranslation> getSupportedPersistedType()- Specified by:
getSupportedPersistedType
in classAbstractAncillaryProductSingleIndexRequestMessageBuilder<com.broadleafcommerce.translation.provider.jpa.domain.JpaTranslation>
-
buildPayload
protected AncillaryProductSingleIndexRequestPayload buildPayload(com.broadleafcommerce.translation.provider.jpa.domain.JpaTranslation entity) - Specified by:
buildPayload
in classAbstractAncillaryProductSingleIndexRequestMessageBuilder<com.broadleafcommerce.translation.provider.jpa.domain.JpaTranslation>
-
canBuild
public boolean canBuild(@NonNull @NonNull com.broadleafcommerce.data.tracking.core.search.Indexable entity) - Specified by:
canBuild
in interfacecom.broadleafcommerce.data.tracking.core.messaging.search.SingleIndexRequestMessageBuilder
- Overrides:
canBuild
in classAbstractAncillaryProductSingleIndexRequestMessageBuilder<com.broadleafcommerce.translation.provider.jpa.domain.JpaTranslation>
-