Interface BitLogStore

All Known Implementing Classes:
JpaBitLogStore

public interface BitLogStore
Author:
Daniel Bernstein Date: Apr 25, 2014
  • Method Details

    • write

      BitLogItem write(String accountId, String storeId, String spaceId, String contentId, Date timestamp, org.duracloud.storage.domain.StorageProviderType storeType, BitIntegrityResult result, String contentCheckSum, String storageProviderChecksum, String manifestChecksum, String details) throws ItemWriteFailedException
      Creates a new BitLogItem and writes it to the store.
      Parameters:
      accountId -
      storeId -
      spaceId -
      contentId -
      timestamp -
      storeType -
      result -
      contentCheckSum -
      storageProviderChecksum -
      manifestChecksum -
      details -
      Returns:
      the newly created BitLogItem
      Throws:
      ItemWriteFailedException
    • getBitLogItems

      Iterator<BitLogItem> getBitLogItems(String account, String storeId, String spaceId)
      Returns a iterator of BitLogItems in chronological order. If no matches are found, the iterator's hasNext() method will return false.
      Parameters:
      account -
      storeId -
      spaceId -
      Returns:
    • delete

      void delete(String account, String storeId, String spaceId)
      Parameters:
      account -
      storeId -
      spaceId -
    • addReport

      org.duracloud.mill.db.model.BitIntegrityReport addReport(String account, String storeId, String spaceId, String reportSpaceId, String reportContentId, org.duracloud.reportdata.bitintegrity.BitIntegrityReportResult result, Date completionDate)
      Parameters:
      account -
      storeId -
      spaceId -
      reportSpaceId -
      reportContentId -
      result -
      completionDate -
      Returns: