Interface CustomizedBulkOperationItemRepository<D>
- All Superinterfaces:
com.broadleafcommerce.common.extension.DomainTypeAware
- All Known Subinterfaces:
BulkOperationItemRepository<D>
,JpaBulkOperationItemRepository<D>
- All Known Implementing Classes:
JpaCustomizedBulkOperationItemRepository
public interface CustomizedBulkOperationItemRepository<D>
extends com.broadleafcommerce.common.extension.DomainTypeAware
- Author:
- Nathan Moore (nathandmoore)
-
Method Summary
Modifier and TypeMethodDescriptionint
deleteAllByIdIn
(Collection<String> ids) Deletes all theBulkOperationItems
matching the given IDs.findAllIdsByBulkOperationIdIn
(Collection<String> bulkOperationIds, int batchSize) Retrieves a batch of IDs forBulkOperationItems
that belong to the givenBulkOperations
.Methods inherited from interface com.broadleafcommerce.common.extension.DomainTypeAware
getDomainType
-
Method Details
-
findAllIdsByBulkOperationIdIn
@Policy(operationTypes=READ) List<String> findAllIdsByBulkOperationIdIn(Collection<String> bulkOperationIds, int batchSize) Retrieves a batch of IDs forBulkOperationItems
that belong to the givenBulkOperations
.- Parameters:
bulkOperationIds
- IDs of the parentBulkOperations
.batchSize
- Size of the batch to read.- Returns:
- A batch of IDs for
BulkOperationItems
that belong to the givenBulkOperations
.
-
deleteAllByIdIn
Deletes all theBulkOperationItems
matching the given IDs.- Parameters:
ids
- IDs of theBulkOperationItems
to delete.- Returns:
- The number of items deleted.
-