Class ExportNotificationStateMapperMember

  • 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 ExportNotificationStateMapperMember
    extends Object
    implements com.broadleafcommerce.data.tracking.core.mapping.DomainMapperMember
    Creates the NotificationStateAware.getNotificationStates() for the persistent counterpart of Export.
    Author:
    Samarth Dhruva (samarthd)
    • 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

      Constructors 
      Constructor Description
      ExportNotificationStateMapperMember​(com.broadleafcommerce.common.messaging.notification.NotificationStateService notificationStateService)  
    • Constructor Detail

      • ExportNotificationStateMapperMember

        public ExportNotificationStateMapperMember​(com.broadleafcommerce.common.messaging.notification.NotificationStateService notificationStateService)
    • Method Detail

      • getDataRoutePartition

        public String getDataRoutePartition()
        Specified by:
        getDataRoutePartition in interface com.broadleafcommerce.common.extension.data.DataRoutePartitionAware
      • fromBusinessDomain

        public <D> D fromBusinessDomain​(Object businessDomain,
                                        D repositoryDomain,
                                        com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
        Specified by:
        fromBusinessDomain in interface com.broadleafcommerce.data.tracking.core.mapping.DomainMapperMember
      • getNotificationStateService

        @NonNull
        protected com.broadleafcommerce.common.messaging.notification.NotificationStateService getNotificationStateService()