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, org.springframework.data.repository.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 org.springframework.data.repository.PagingAndSortingRepository<D,String>, CustomizedImportBatchRepository<D>, com.broadleafcommerce.common.messaging.notification.NotificationStateRepository
Author:
Phillip Verheyden (phillipuniverse)
  • Method Summary

    Modifier and Type
    Method
    Description
    Delete the batches that match the corresponding import ids

    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.dataimport.repository.CustomizedImportBatchRepository

    markProcessingBatchAsCompleted, replaceContainedItems

    Methods inherited from interface com.broadleafcommerce.common.extension.DomainTypeAware

    getDomainType

    Methods inherited from interface com.broadleafcommerce.common.messaging.notification.NotificationStateRepository

    findNotificationReadyMembers, setFailedNotificationAttempt, setNotificationAcknowledged

    Methods inherited from interface org.springframework.data.repository.PagingAndSortingRepository

    findAll, findAll
  • Method Details

    • deleteByImportIdIn

      Long deleteByImportIdIn(List<String> importIds)
      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