Class DefaultReindexJobService<P extends com.broadleafcommerce.search.index.core.domain.ReindexJob>

  • All Implemented Interfaces:
    com.broadleafcommerce.data.tracking.core.service.MappableCrudEntityService<P>, com.broadleafcommerce.search.index.core.service.ReindexJobService<P>

    @DataRouteByKey("indexer")
    public class DefaultReindexJobService<P extends com.broadleafcommerce.search.index.core.domain.ReindexJob>
    extends com.broadleafcommerce.data.tracking.core.service.BaseMappableCrudEntityService<P>
    implements com.broadleafcommerce.search.index.core.service.ReindexJobService<P>
    • Field Summary

      • Fields inherited from interface com.broadleafcommerce.search.index.core.service.ReindexJobService

        AUTHOR_KEY, NAME_KEY
    • Constructor Summary

      Constructors 
      Constructor Description
      DefaultReindexJobService​(com.broadleafcommerce.search.index.core.repository.ReindexJobRepository<?> repository, com.broadleafcommerce.data.tracking.core.service.MappableCrudEntityHelper helper)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected com.broadleafcommerce.search.index.core.repository.ReindexJobRepository<?> getRepository()  
      org.springframework.data.domain.Page<P> readAllByNameContaining​(String name, cz.jirutka.rsql.parser.ast.Node filters, org.springframework.data.domain.Pageable page, com.broadleafcommerce.data.tracking.core.context.ContextInfo context)  
      org.springframework.data.domain.Page<P> readByActiveStatus​(boolean isActive, org.springframework.data.domain.Pageable pageable, com.broadleafcommerce.data.tracking.core.context.ContextInfo context)  
      • Methods inherited from class com.broadleafcommerce.data.tracking.core.service.BaseMappableCrudEntityService

        convertFromPersistentDomain, create, createAll, createAllAllowingPartialSuccess, delete, getHelper, readAll, readAll, readAll, readAllByIds, readById, replace, replaceAll, replaceAllAllowingPartialSuccess, update, updateAll, updateAllAllowingPartialSuccess
      • Methods inherited from interface com.broadleafcommerce.data.tracking.core.service.MappableCrudEntityService

        create, createAll, createAllAllowingPartialSuccess, delete, readAll, readAll, readAll, readAllByIds, readById, replace, replaceAll, replaceAllAllowingPartialSuccess, update, updateAll, updateAllAllowingPartialSuccess
    • Constructor Detail

      • DefaultReindexJobService

        public DefaultReindexJobService​(com.broadleafcommerce.search.index.core.repository.ReindexJobRepository<?> repository,
                                        com.broadleafcommerce.data.tracking.core.service.MappableCrudEntityHelper helper)
    • Method Detail

      • readByActiveStatus

        public org.springframework.data.domain.Page<P> readByActiveStatus​(boolean isActive,
                                                                          org.springframework.data.domain.Pageable pageable,
                                                                          com.broadleafcommerce.data.tracking.core.context.ContextInfo context)
        Specified by:
        readByActiveStatus in interface com.broadleafcommerce.search.index.core.service.ReindexJobService<P extends com.broadleafcommerce.search.index.core.domain.ReindexJob>
      • readAllByNameContaining

        public org.springframework.data.domain.Page<P> readAllByNameContaining​(String name,
                                                                               cz.jirutka.rsql.parser.ast.Node filters,
                                                                               org.springframework.data.domain.Pageable page,
                                                                               com.broadleafcommerce.data.tracking.core.context.ContextInfo context)
        Specified by:
        readAllByNameContaining in interface com.broadleafcommerce.search.index.core.service.ReindexJobService<P extends com.broadleafcommerce.search.index.core.domain.ReindexJob>
      • getRepository

        @NonNull
        protected com.broadleafcommerce.search.index.core.repository.ReindexJobRepository<?> getRepository()
        Overrides:
        getRepository in class com.broadleafcommerce.data.tracking.core.service.BaseMappableCrudEntityService<P extends com.broadleafcommerce.search.index.core.domain.ReindexJob>