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

java.lang.Object
com.broadleafcommerce.data.tracking.core.service.BaseMappableCrudEntityService<P>
com.broadleafcommerce.search.index.reindex.service.DefaultReindexJobService<P>
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, ENABLE_PARTIAL_INDEX_WITH_FILTERS_KEY, END_DATE_KEY, NAME_KEY, START_DATE_KEY, TENANT_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

    Modifier and Type
    Method
    Description
    protected com.broadleafcommerce.search.index.core.repository.ReindexJobRepository<?>
     
    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 class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    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 Details

    • DefaultReindexJobService

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

    • 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>