# Uses of Class
fr.gouv.vitam.collect.common.exception.CollectInternalException

Packages that use CollectInternalException
Package
Description
fr.gouv.vitam.collect.common.exception
fr.gouv.vitam.collect.internal.core.csv
fr.gouv.vitam.collect.internal.core.exceptions
fr.gouv.vitam.collect.internal.core.helpers
fr.gouv.vitam.collect.internal.core.jsonl
fr.gouv.vitam.collect.internal.core.repository
fr.gouv.vitam.collect.internal.core.service
fr.gouv.vitam.collect.internal.rest
fr.gouv.vitam.collect.internal.server
fr.gouv.vitam.collect.internal.thread

- ## Uses of CollectInternalException in fr.gouv.vitam.collect.common.exception

  Subclasses of CollectInternalException in fr.gouv.vitam.collect.common.exception
  Modifier and Type
  Class
  Description
  `class`
  `CollectInternalInvalidRequestException`
  `class`
  `CollectInternalNotFoundException`
  `class`
  `CollectInternalServerSideException`

- ## Uses of CollectInternalException in fr.gouv.vitam.collect.internal.core.csv

  Constructors in fr.gouv.vitam.collect.internal.core.csv that throw CollectInternalException
  Modifier
  Constructor
  Description
  ``
  `SedaSchemaInfoResolver(AdminManagementClientFactory adminManagementClientFactory)`

- ## Uses of CollectInternalException in fr.gouv.vitam.collect.internal.core.exceptions

  Subclasses of CollectInternalException in fr.gouv.vitam.collect.internal.core.exceptions
  Modifier and Type
  Class
  Description
  `class`
  `CollectInvalidCsvFormatException`
  `class`
  `CollectInvalidJsltTransformerException`
  `class`
  `CollectInvalidJsonlFormatException`
  `class`
  `CollectJsltTransformationFailedException`

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

  Methods in fr.gouv.vitam.collect.internal.core.helpers that throw CollectInternalException
  Modifier and Type
  Method
  Description
  `static DataObjectVersionType`
  CollectHelper.`fetchUsage(String usageString)`

- ## Uses of CollectInternalException in fr.gouv.vitam.collect.internal.core.jsonl

  Methods in fr.gouv.vitam.collect.internal.core.jsonl that throw CollectInternalException
  Modifier and Type
  Method
  Description
  `void`
  JsonlMetadataFileValidator.`validate(File jsonlMetadataFile, boolean isFirstUpload, boolean explicitAttachementMode)`

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

  Methods in fr.gouv.vitam.collect.internal.core.repository that throw CollectInternalException
  Modifier and Type
  Method
  Description
  `RequestResponse<com.fasterxml.jackson.databind.JsonNode>`
  MetadataRepository.`atomicBulkUpdate(List<com.fasterxml.jackson.databind.JsonNode> updateMultiQueries)`
  `void`
  ProjectRepository.`createProject(ProjectModel projectModel)`
  create a project model
  `void`
  TransactionRepository.`createTransaction(TransactionModel transactionModel)`
  create a transaction model
  `void`
  MetadataRepository.`deleteObjectGroups(Collection<String> listGotGUID)`
  `void`
  MetadataRepository.`deleteUnits(Collection<String> listUnitIds)`
  `Optional<ProjectModel>`
  ProjectRepository.`findProjectById(String id)`
  return project according to id
  `Optional<TransactionModel>`
  TransactionRepository.`findTransaction(String id)`
  return transaction according to id
  `void`
  TransactionRepository.`replaceTransaction(TransactionModel transactionModel)`
  replace a transaction model
  `void`
  TransactionRepository.`replaceTransactions(List<TransactionModel> transactionsModel)`
  Deprecated.
  : FIXME : Update only if "version = version - 1";
  `com.fasterxml.jackson.databind.JsonNode`
  MetadataRepository.`saveArchiveUnit(com.fasterxml.jackson.databind.node.ObjectNode unit)`
  `com.fasterxml.jackson.databind.JsonNode`
  MetadataRepository.`saveArchiveUnits(List<com.fasterxml.jackson.databind.node.ObjectNode> units)`
  `com.fasterxml.jackson.databind.JsonNode`
  MetadataRepository.`saveObjectGroup(com.fasterxml.jackson.databind.node.ObjectNode og)`
  `com.fasterxml.jackson.databind.JsonNode`
  MetadataRepository.`saveObjectGroups(List<com.fasterxml.jackson.databind.node.ObjectNode> objectGroups)`
  `List<ProjectModel>`
  ProjectRepository.`searchProject(CriteriaProjectDto criteriaProjectDto, int tenant)`
  return projects according to criteria
  `com.fasterxml.jackson.databind.JsonNode`
  MetadataRepository.`selectObjectGroupById(String objectGroupId, boolean isRaw)`
  `com.fasterxml.jackson.databind.JsonNode`
  MetadataRepository.`selectObjectGroups(com.fasterxml.jackson.databind.JsonNode queryDsl, String transactionId)`
  `com.fasterxml.jackson.databind.JsonNode`
  MetadataRepository.`selectUnitById(String unitId)`
  `RequestResponseOK<com.fasterxml.jackson.databind.JsonNode>`
  MetadataRepository.`selectUnits(com.fasterxml.jackson.databind.JsonNode queryDsl, String transactionId)`
  `void`
  MetadataRepository.`updateObjectGroupById(UpdateMultiQuery updateQuery, String objectGroupId, String transactionId)`
  `void`
  ProjectRepository.`updateProject(ProjectModel projectModel)`
  update a project model
  `void`
  MetadataRepository.`updateUnitById(UpdateMultiQuery updateQuery, String transactionId, String unitId)`

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

  Methods in fr.gouv.vitam.collect.internal.core.service that throw CollectInternalException
  Modifier and Type
  Method
  Description
  `void`
  TransactionService.`abortTransaction(String transactionId)`
  `void`
  CollectService.`addBinaryInfoToQualifier(DbObjectGroupModel dbObjectGroupModel, DataObjectVersionType usage, int version, InputStream uploadedInputStream)`
  `void`
  TransactionService.`attachVitamOperationId(String transactionId, String operationId)`
  `void`
  TransactionService.`awaitTransactionValidationForIngest(String transactionId)`
  `List<BulkAtomicUpdateResult>`
  BulkAtomicUpdateMetadataService.`bulkAtomicUpdateUnits(String transactionId, com.fasterxml.jackson.databind.node.ArrayNode queries, boolean allowInternalFieldsUpdate)`
  `void`
  TransactionService.`changeTransactionStatus(TransactionStatus transactionStatus, TransactionModel transactionModel)`
  `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`
  SipService.`cleanupSip(String transactionId)`
  `void`
  TransactionService.`closeTransaction(TransactionModel transaction)`
  `ProjectDto`
  ProjectService.`createProject(ProjectDto projectDto)`
  create a project model
  `void`
  TransactionService.`createTransaction(TransactionDto transactionDto, ProjectDto projectDto)`
  create a transaction model
  `void`
  TransactionService.`deleteTransaction(String id)`
  delete transaction according to id
  `void`
  TransactionService.`deleteTransactionContent(String transactionId)`
  `Optional<FormatIdentifierResponse>`
  CollectService.`detectFileFormat(File fileToDetect)`
  `void`
  TransactionService.`ensureTransactionIsOpen(TransactionModel transactionModel)`
  `Optional<TransactionModel>`
  TransactionService.`findLastTransactionByProjectId(String id)`
  Deprecated.
  `Optional<ProjectDto>`
  ProjectService.`findProject(String id)`
  return project according to id
  `Optional<TransactionModel>`
  TransactionService.`findTransaction(String id)`
  return transaction according to id
  `List<TransactionDto>`
  TransactionService.`findTransactionsByProjectId(String id)`
  return transaction according to id
  `List<TransactionModel>`
  TransactionService.`findValidatedAutoIngestTransactions()`
  `CollectUnitModel`
  CollectService.`getArchiveUnitModel(String unitId)`
  `jakarta.ws.rs.core.Response`
  CollectService.`getBinaryByUsageAndVersion(CollectUnitModel unitModel, DataObjectVersionType usage, int version)`
  `DbObjectGroupModel`
  CollectService.`getDbObjectGroup(CollectUnitModel unitModel)`
  `InputStream`
  SipService.`getIngestedFileFromWorkspace(String transactionId)`
  `InputStream`
  CollectService.`getInputStreamFromWorkspace(String containerName, String fileName)`
  `List<TransactionModel>`
  TransactionService.`getListTransactionToDeleteByTenant(Integer tenantId)`
  `boolean`
  TransactionService.`isTransactionContentEmpty(String id)`
  check if the transaction content is empty
  `void`
  TransactionService.`manageTransactionsStatus()`
  `void`
  FluxService.`processStream(InputStream inputStreamObject, String projectId, String transactionId, String encoding, String explicitAttachementId)`
  `void`
  TransactionService.`purgeByBatchId(String batchId, TransactionModel transactionModel)`
  `String`
  CollectService.`pushStreamToWorkspace(String containerName, InputStream uploadedInputStream, String fileName)`
  `void`
  TransactionService.`reopenTransaction(String transactionId)`
  `TransactionModel`
  TransactionService.`replaceTransaction(TransactionDto transactionDto)`
  update a transaction model
  `void`
  TransactionService.`replaceTransaction(TransactionModel transactionModel)`
  `com.fasterxml.jackson.databind.JsonNode`
  MetadataService.`saveArchiveUnit(com.fasterxml.jackson.databind.JsonNode unit, TransactionModel transactionModel)`
  `List<ProjectDto>`
  ProjectService.`searchProject(CriteriaProjectDto criteriaProjectDto)`
  `com.fasterxml.jackson.databind.JsonNode`
  MetadataService.`selectObjectGroupById(String objectGroupId)`
  `com.fasterxml.jackson.databind.JsonNode`
  MetadataService.`selectUnitById(String unitId)`
  `RequestResponseOK<com.fasterxml.jackson.databind.JsonNode>`
  MetadataService.`selectUnitsByTransactionId(com.fasterxml.jackson.databind.JsonNode queryDsl, String transactionId)`
  `jakarta.ws.rs.core.Response`
  TransactionService.`startEliminationActionWorkflow(String transactionId, EliminationRequestBody eliminationRequestBody, Contexts eliminationWorkflowContext)`
  `ObjectDto`
  CollectService.`updateOrSaveObjectGroup(CollectUnitModel unitModel, DataObjectVersionType usage, int version, ObjectDto objectDto)`
  `ProjectDto`
  ProjectService.`updateProject(ProjectDto projectDto, ProjectDto existingProjectDto)`
  `void`
  MetadataService.`updateUnitsWithJsonlMetadata(TransactionModel transaction, InputStream metadataJsonlInputStream)`
  `void`
  MetadataService.`updateUnitsWithMetadataCsv(TransactionModel transaction, InputStream is)`
  `String`
  TransactionService.`uploadSipOnTransaction(String transactionId, String contentType, InputStream uploadedInputStream)`
  `jakarta.ws.rs.core.Response`
  TransactionService.`uploadTransactionZip(InputStream inputStreamObject, TransactionModel transactionModel, String encoding, String attachementId)`

- ## Uses of CollectInternalException in fr.gouv.vitam.collect.internal.rest

  Methods in fr.gouv.vitam.collect.internal.rest that throw CollectInternalException
  Modifier and Type
  Method
  Description
  `jakarta.ws.rs.core.Response`
  TransactionInternalResource.`getTransactionsToAutomaticallyIngest()`
  `jakarta.ws.rs.core.Response`
  CollectInternalResource.`upload(String unitId, String usageString, Integer version, InputStream uploadedInputStream)`

- ## Uses of CollectInternalException in fr.gouv.vitam.collect.internal.server

  Constructors in fr.gouv.vitam.collect.internal.server that throw CollectInternalException
  Modifier
  Constructor
  Description
  ``
  `BusinessApplication(jakarta.servlet.ServletConfig servletConfig)`
  Constructor

- ## Uses of CollectInternalException in fr.gouv.vitam.collect.internal.thread

  Methods in fr.gouv.vitam.collect.internal.thread that throw CollectInternalException
  Modifier and Type
  Method
  Description
  `void`
  PurgeTransactionThread.`deleteTransaction(Integer tenantId, Integer delay)`
  `void`
  PurgeTransactionThread.`process()`