Class BatchItemCompletionNotificationStateMapperMember
java.lang.Object
com.broadleafcommerce.dataimport.messaging.mapping.BatchItemCompletionNotificationStateMapperMember
- All Implemented Interfaces:
com.broadleafcommerce.common.extension.data.DataRoutePartitionAware
,com.broadleafcommerce.data.tracking.core.mapping.DomainMapper
,com.broadleafcommerce.data.tracking.core.mapping.DomainMapperMember
,org.springframework.core.Ordered
public class BatchItemCompletionNotificationStateMapperMember
extends Object
implements com.broadleafcommerce.data.tracking.core.mapping.DomainMapperMember
Initialize the NotificationState for
BatchIndexRequestProducer.TYPE
on instances of
JpaBatchItemCompletion
- Author:
- Jeff Fischer
-
Field Summary
Fields inherited from interface com.broadleafcommerce.common.extension.data.DataRoutePartitionAware
ALL_MATCH
Fields inherited from interface org.springframework.core.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
-
Constructor Summary
ConstructorDescriptionBatchItemCompletionNotificationStateMapperMember
(com.broadleafcommerce.common.messaging.notification.NotificationStateService notificationStateService) -
Method Summary
Modifier and TypeMethodDescription<D> D
fromBusinessDomain
(Object businessDomain, D repositoryDomain, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) protected com.broadleafcommerce.common.messaging.notification.NotificationStateService
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.broadleafcommerce.data.tracking.core.mapping.DomainMapper
deleteMap, getBusinessDomainType, modifyMap
Methods inherited from interface com.broadleafcommerce.data.tracking.core.mapping.DomainMapperMember
fromRepositoryDomain, getOrder
-
Constructor Details
-
BatchItemCompletionNotificationStateMapperMember
public BatchItemCompletionNotificationStateMapperMember(com.broadleafcommerce.common.messaging.notification.NotificationStateService notificationStateService)
-
-
Method Details
-
fromBusinessDomain
public <D> D fromBusinessDomain(Object businessDomain, D repositoryDomain, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) - Specified by:
fromBusinessDomain
in interfacecom.broadleafcommerce.data.tracking.core.mapping.DomainMapperMember
-
getDataRoutePartition
- Specified by:
getDataRoutePartition
in interfacecom.broadleafcommerce.common.extension.data.DataRoutePartitionAware
-
getNotificationStateService
@NonNull protected com.broadleafcommerce.common.messaging.notification.NotificationStateService getNotificationStateService()
-