Package fr.gouv.vitam.functional.administration.core.reconstruction

# Interface ReconstructionService

All Known Implementing Classes:
  `ReconstructionServiceImpl`

public interface ReconstructionService
Reconstrution of Vitam Collections interface.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `List<org.bson.Document>`
  `agregateAccessionRegisterSummary(Set<String> originatingAgencies, Integer tenant)`
  `void`
  `reconstruct(FunctionalAdminCollections collection)`
  Reconstrut Vitam collection.
  `void`
  `reconstruct(FunctionalAdminCollections collection, Integer... tenant)`
  Reconstrut Vitam collection by tenant.
  `ReconstructionResponseItem`
  `reconstructAccessionRegister(ReconstructionRequestItem reconstructionItem)`
  Reconstruct a collection

- ## Method Details

  - ### reconstruct

    void reconstruct(FunctionalAdminCollections collection, Integer... tenant) throws DatabaseException
    Reconstrut Vitam collection by tenant.
    Parameters:
      `collection` - the collection to reconstruct.
      `tenant` - the given tenant.
    Throws:
      `DatabaseException` - in case error with database occurs

  - ### reconstruct

    void reconstruct(FunctionalAdminCollections collection) throws DatabaseException
    Reconstrut Vitam collection.
    Parameters:
      `collection` - the collection to reconstruct.
    Throws:
      `DatabaseException` - in case error with database occurs

  - ### reconstructAccessionRegister

    ReconstructionResponseItem reconstructAccessionRegister(ReconstructionRequestItem reconstructionItem)
    Reconstruct a collection
    Parameters:
      `reconstructionItem` - request for reconstruction
    Returns:
      response of reconstruction
    Throws:
      `DatabaseException` - database exception
      `IllegalArgumentException` - invalid input

  - ### agregateAccessionRegisterSummary

    List<org.bson.Document> agregateAccessionRegisterSummary(Set<String> originatingAgencies, Integer tenant)