# Uses of Class
fr.gouv.vitam.collect.internal.core.common.TransactionModel

Packages that use TransactionModel
Package
Description
fr.gouv.vitam.collect.internal.core.common
fr.gouv.vitam.collect.internal.core.helpers
fr.gouv.vitam.collect.internal.core.repository
fr.gouv.vitam.collect.internal.core.service

- ## Uses of TransactionModel in fr.gouv.vitam.collect.internal.core.common

  Methods in fr.gouv.vitam.collect.internal.core.common that return TransactionModel
  Modifier and Type
  Method
  Description
  `TransactionModel`
  TransactionModel.`setAutomaticIngest(Boolean automaticIngest)`
  `TransactionModel`
  TransactionModel.`setBatches(List<Batch> batches)`
  `TransactionModel`
  TransactionModel.`setCreationDate(String creationDate)`
  `TransactionModel`
  TransactionModel.`setId(String id)`
  `TransactionModel`
  TransactionModel.`setLastUpdate(String lastUpdate)`
  `TransactionModel`
  TransactionModel.`setManifestContext(ManifestContext manifestContext)`
  `TransactionModel`
  TransactionModel.`setName(String name)`
  `TransactionModel`
  TransactionModel.`setProjectId(String projectId)`
  `TransactionModel`
  TransactionModel.`setStatus(TransactionStatus status)`
  `TransactionModel`
  TransactionModel.`setTenant(Integer tenant)`
  `TransactionModel`
  TransactionModel.`setVersion(Integer version)`
  `TransactionModel`
  TransactionModel.`setVitamOperationId(String vitamOperationId)`

- ## Uses of TransactionModel in fr.gouv.vitam.collect.internal.core.helpers

  Methods in fr.gouv.vitam.collect.internal.core.helpers with parameters of type TransactionModel
  Modifier and Type
  Method
  Description
  `static ExportRequest`
  SipHelper.`buildExportRequest(TransactionModel transactionModel, ExportRequestParameters exportRequestParameters)`
  `static ExportRequestParameters`
  SipHelper.`buildExportRequestParameters(TransactionModel transactionModel)`
  `static TransactionDto`
  CollectHelper.`convertTransactionModelToTransactionDto(TransactionModel transactionModel)`

- ## Uses of TransactionModel in fr.gouv.vitam.collect.internal.core.repository

  Methods in fr.gouv.vitam.collect.internal.core.repository that return types with arguments of type TransactionModel
  Modifier and Type
  Method
  Description
  `Optional<TransactionModel>`
  TransactionRepository.`findTransaction(String id)`
  return transaction according to id
  `Optional<TransactionModel>`
  TransactionRepository.`findTransactionByQuery(org.bson.conversions.Bson query)`
  return transaction according to query
  `List<TransactionModel>`
  TransactionRepository.`findTransactionsByQuery(org.bson.conversions.Bson query)`
  `List<TransactionModel>`
  TransactionRepository.`findTransactionsByQueryWithoutTenant(org.bson.conversions.Bson query)`
  `List<TransactionModel>`
  TransactionRepository.`getListTransactionToDeleteByTenant(Integer tenantId)`
  delete Transaction according to tenant and delay and status
  Methods in fr.gouv.vitam.collect.internal.core.repository with parameters of type TransactionModel
  Modifier and Type
  Method
  Description
  `void`
  TransactionRepository.`createTransaction(TransactionModel transactionModel)`
  create a transaction model
  `boolean`
  TransactionRepository.`findOneAndReplace(TransactionStatus transactionStatus, TransactionModel transactionModel)`
  `boolean`
  TransactionRepository.`findOneAndReplace(TransactionModel transactionModel)`
  `boolean`
  TransactionRepository.`findOneAndReplace(List<org.bson.conversions.Bson> additionalFilters, TransactionModel transactionModel)`
  `void`
  TransactionRepository.`replaceTransaction(TransactionModel transactionModel)`
  replace a transaction model
  Method parameters in fr.gouv.vitam.collect.internal.core.repository with type arguments of type TransactionModel
  Modifier and Type
  Method
  Description
  `void`
  TransactionRepository.`replaceTransactions(List<TransactionModel> transactionsModel)`
  Deprecated.
  : FIXME : Update only if "version = version - 1";

- ## Uses of TransactionModel in fr.gouv.vitam.collect.internal.core.service

  Methods in fr.gouv.vitam.collect.internal.core.service that return TransactionModel
  Modifier and Type
  Method
  Description
  `TransactionModel`
  TransactionService.`replaceTransaction(TransactionDto transactionDto)`
  update a transaction model
  Methods in fr.gouv.vitam.collect.internal.core.service that return types with arguments of type TransactionModel
  Modifier and Type
  Method
  Description
  `Optional<TransactionModel>`
  TransactionService.`findLastTransactionByProjectId(String id)`
  Deprecated.
  `Optional<TransactionModel>`
  TransactionService.`findTransaction(String id)`
  return transaction according to id
  `List<TransactionModel>`
  TransactionService.`findValidatedAutoIngestTransactions()`
  `List<TransactionModel>`
  TransactionService.`getListTransactionToDeleteByTenant(Integer tenantId)`
  Methods in fr.gouv.vitam.collect.internal.core.service with parameters of type TransactionModel
  Modifier and Type
  Method
  Description
  `void`
  TransactionService.`changeTransactionStatus(TransactionStatus transactionStatus, TransactionModel transactionModel)`
  `void`
  TransactionService.`checkSipDownloadable(TransactionModel transaction)`
  `void`
  TransactionService.`checkStatus(TransactionStatus targetStatus, TransactionModel transactionModel, TransactionStatus... acceptableTransactionStatuses)`
  `void`
  TransactionService.`checkTransactionToReadyStatus(TransactionModel transactionModel)`
  `void`
  TransactionService.`checkTransitionToAbortedStatus(TransactionModel transactionModel)`
  `void`
  TransactionService.`checkTransitionToOpenStatus(TransactionModel transactionModel)`
  `void`
  TransactionService.`checkTransitionToSendingStatus(TransactionModel transactionModel)`
  `void`
  TransactionService.`checkTransitionToSentStatus(TransactionModel transactionModel)`
  `void`
  TransactionService.`closeTransaction(TransactionModel transaction)`
  `void`
  TransactionService.`ensureTransactionIsOpen(TransactionModel transactionModel)`
  `void`
  SipService.`generateSipAsync(TransactionModel transaction)`
  `void`
  TransactionService.`purgeByBatchId(String batchId, TransactionModel transactionModel)`
  `void`
  TransactionService.`replaceTransaction(TransactionModel transactionModel)`
  `com.fasterxml.jackson.databind.JsonNode`
  MetadataService.`saveArchiveUnit(com.fasterxml.jackson.databind.JsonNode unit, TransactionModel transactionModel)`
  `void`
  MetadataService.`updateUnitsWithJsonlMetadata(TransactionModel transaction, InputStream metadataJsonlInputStream)`
  `void`
  MetadataService.`updateUnitsWithMetadataCsv(TransactionModel transaction, InputStream is)`
  `jakarta.ws.rs.core.Response`
  TransactionService.`uploadTransactionZip(InputStream inputStreamObject, TransactionModel transactionModel, String encoding, String attachementId)`