Interface ReindexJobRepository<D extends com.broadleafcommerce.data.tracking.core.Identifiable>
-
- All Superinterfaces:
org.springframework.data.repository.CrudRepository<D,String>
,com.broadleafcommerce.common.extension.DomainTypeAware
,com.broadleafcommerce.data.tracking.core.service.MappableRsqlFilterExecutor<D>
,org.springframework.data.repository.PagingAndSortingRepository<D,String>
,org.springframework.data.repository.Repository<D,String>
@NoRepositoryBean public interface ReindexJobRepository<D extends com.broadleafcommerce.data.tracking.core.Identifiable> extends org.springframework.data.repository.PagingAndSortingRepository<D,String>, com.broadleafcommerce.common.extension.DomainTypeAware, com.broadleafcommerce.data.tracking.core.service.MappableRsqlFilterExecutor<D>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description org.springframework.data.domain.Page<D>
findByNameContainingIgnoreCase(String name, cz.jirutka.rsql.parser.ast.Node filters, org.springframework.data.domain.Pageable page, com.broadleafcommerce.data.tracking.core.context.ContextInfo context)
Retrieves a paged list of reindex jobs filtered by the nameorg.springframework.data.domain.Page<D>
readByStatus(ReindexStatus status, org.springframework.data.domain.Pageable pageable, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
Returns Reindex jobs whosestatus
equals the value.org.springframework.data.domain.Page<D>
readByStatusNot(ReindexStatus status, org.springframework.data.domain.Pageable pageable, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
-
Methods inherited from interface org.springframework.data.repository.CrudRepository
count, delete, deleteAll, deleteAll, deleteAllById, deleteById, existsById, findAll, findAllById, findById, save, saveAll
-
Methods inherited from interface com.broadleafcommerce.common.extension.DomainTypeAware
getDomainType
-
-
-
-
Method Detail
-
readByStatus
org.springframework.data.domain.Page<D> readByStatus(ReindexStatus status, org.springframework.data.domain.Pageable pageable, @Nullable com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
Returns Reindex jobs whosestatus
equals the value.- Parameters:
status
- The status of the jobpageable
- The pagecontextInfo
- The Context- Returns:
- Page of reindex jobs matching the status
- See Also:
ReindexStatus
-
readByStatusNot
org.springframework.data.domain.Page<D> readByStatusNot(ReindexStatus status, org.springframework.data.domain.Pageable pageable, @Nullable com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
- Parameters:
status
- The status which the job should not have.pageable
- The pagecontextInfo
- The Context- Returns:
- Page of reindex jobs not matching the status.
- See Also:
ReindexStatus
-
findByNameContainingIgnoreCase
@Policy(operationTypes=READ) org.springframework.data.domain.Page<D> findByNameContainingIgnoreCase(String name, cz.jirutka.rsql.parser.ast.Node filters, org.springframework.data.domain.Pageable page, com.broadleafcommerce.data.tracking.core.context.ContextInfo context)
Retrieves a paged list of reindex jobs filtered by the name- Parameters:
name
- The name of the job that is being searched forfilters
- Additional filters to apply in the query. Should beEmptyNode
if no additional filters should be applied.page
- The page of results from the databasecontext
- The context information around sandbox and multi-tenant state- Returns:
- Page of reindex jobs matching the name and filters.
- See Also:
ReindexStatus
-
-