Interface ImportBatchRepository<D extends com.broadleafcommerce.data.tracking.core.Identifiable>
- All Superinterfaces:
org.springframework.data.repository.CrudRepository<D,,String> CustomizedImportBatchRepository<D>,com.broadleafcommerce.common.extension.DomainTypeAware,com.broadleafcommerce.common.messaging.notification.NotificationStateRepository,com.broadleafcommerce.common.extension.data.PagingAndSortingRepository<D,,String> org.springframework.data.repository.Repository<D,String>
- All Known Subinterfaces:
JpaImportBatchRepository<D>
@NoRepositoryBean
public interface ImportBatchRepository<D extends com.broadleafcommerce.data.tracking.core.Identifiable>
extends com.broadleafcommerce.common.extension.data.PagingAndSortingRepository<D,String>, CustomizedImportBatchRepository<D>, com.broadleafcommerce.common.messaging.notification.NotificationStateRepository
- Author:
- Phillip Verheyden (phillipuniverse)
-
Method Summary
Modifier and TypeMethodDescriptiondeleteByImportIdIn(List<String> importIds) Deprecated, for removal: This API element is subject to removal in a future version.Methods inherited from interface org.springframework.data.repository.CrudRepository
count, delete, deleteAll, deleteAll, deleteAllById, deleteById, existsById, findAll, findAllById, findById, save, saveAllMethods inherited from interface com.broadleafcommerce.dataimport.repository.CustomizedImportBatchRepository
deleteAllByImportIdsInBatch, markProcessingBatchAsCompleted, replaceContainedItemsMethods inherited from interface com.broadleafcommerce.common.extension.DomainTypeAware
getDomainTypeMethods inherited from interface com.broadleafcommerce.common.messaging.notification.NotificationStateRepository
findNotificationReadyMembers, setFailedNotificationAttempt, setNotificationAcknowledgedMethods inherited from interface com.broadleafcommerce.common.extension.data.PagingAndSortingRepository
findAll, findAll
-
Method Details
-
deleteByImportIdIn
Deprecated, for removal: This API element is subject to removal in a future version.Delete the batches that match the corresponding import ids- Parameters:
importIds- the list of import ids to delete against- Returns:
- the number of batches deleted
-
CustomizedImportBatchRepository.deleteAllByImportIdsInBatch(List)