Interface BulkOperationItemRepository<D extends com.broadleafcommerce.data.tracking.core.Identifiable>
- All Superinterfaces:
org.springframework.data.repository.CrudRepository<D,
,String> CustomizedBulkOperationItemRepository<D>
,com.broadleafcommerce.common.extension.DomainTypeAware
,com.broadleafcommerce.data.tracking.core.service.MappableRsqlFilterExecutor<D>
,com.broadleafcommerce.common.extension.data.PagingAndSortingRepository<D,
,String> org.springframework.data.repository.Repository<D,
String>
- All Known Subinterfaces:
JpaBulkOperationItemRepository<D>
@NoRepositoryBean
public interface BulkOperationItemRepository<D extends com.broadleafcommerce.data.tracking.core.Identifiable>
extends com.broadleafcommerce.common.extension.data.PagingAndSortingRepository<D,String>, com.broadleafcommerce.data.tracking.core.service.MappableRsqlFilterExecutor<D>, CustomizedBulkOperationItemRepository<D>
Repository
for persistent counter-parts of
BulkOperationItem
-
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.data.domain.Page<D>
findByBulkOperationId
(String bulkOperationId, cz.jirutka.rsql.parser.ast.Node filters, org.springframework.data.domain.Pageable page) Retrieves a paged list of bulk operation items for the given bulk operation context ID.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.catalog.repository.bulkoperation.CustomizedBulkOperationItemRepository
deleteAllByIdIn, findAllIdsByBulkOperationIdIn
Methods inherited from interface com.broadleafcommerce.common.extension.DomainTypeAware
getDomainType
Methods inherited from interface com.broadleafcommerce.data.tracking.core.service.MappableRsqlFilterExecutor
exists, findAll, findAll, findAll, findAll
Methods inherited from interface com.broadleafcommerce.common.extension.data.PagingAndSortingRepository
findAll, findAll
-
Method Details
-
findByBulkOperationId
@Policy(operationTypes=READ) org.springframework.data.domain.Page<D> findByBulkOperationId(String bulkOperationId, cz.jirutka.rsql.parser.ast.Node filters, org.springframework.data.domain.Pageable page) Retrieves a paged list of bulk operation items for the given bulk operation context ID.- Parameters:
bulkOperationId
- the context ID of the bulk operationfilters
- RSQL filters to apply in the query. Should beEmptyNode
if no additional filters should be applied.page
- the requested page of results from the database- Returns:
- a paged list of bulk operation items for the given bulk operation context ID
-