Class DefaultSandboxDeleteListener

    • Constructor Detail

      • DefaultSandboxDeleteListener

        public DefaultSandboxDeleteListener​(com.broadleafcommerce.common.messaging.service.IdempotentMessageConsumptionService idempotentConsumptionService,
                                            @Nullable
                                            CustomizedCommonSandboxableEntityRepository customizedCommonArchiveSandboxableEntityRepository,
                                            com.broadleafcommerce.common.extension.data.DataRouteReference routeReference)
    • Method Detail

      • listen

        @StreamListener("sandboxDeleteInput")
        public void listen​(org.springframework.messaging.Message<SandboxDeleteEvent> message)
      • processArchiveNonProductionEntities

        protected void processArchiveNonProductionEntities​(org.springframework.messaging.Message<SandboxDeleteEvent> message,
                                                           Set<String> entityTypes)
      • getSandboxEntityTypes

        protected List<Class<?>> getSandboxEntityTypes​(Set<String> entityTypes)
      • getIdempotentConsumptionService

        protected com.broadleafcommerce.common.messaging.service.IdempotentMessageConsumptionService getIdempotentConsumptionService()
      • getRouteReference

        protected com.broadleafcommerce.common.extension.data.DataRouteReference getRouteReference()