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 TypeMethodDescriptionintdeleteAllByIdIn(Collection<String> ids) Deletes all theBulkOperationItemsmatching the given IDs.findAllIdsByBulkOperationIdIn(Collection<String> bulkOperationIds, int batchSize) Retrieves a batch of IDs forBulkOperationItemsthat 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 forBulkOperationItemsthat belong to the givenBulkOperations.- Parameters:
bulkOperationIds- IDs of the parentBulkOperations.batchSize- Size of the batch to read.- Returns:
- A batch of IDs for
BulkOperationItemsthat belong to the givenBulkOperations.
-
deleteAllByIdIn
Deletes all theBulkOperationItemsmatching the given IDs.- Parameters:
ids- IDs of theBulkOperationItemsto delete.- Returns:
- The number of items deleted.
-