Package fr.gouv.vitam.metadata.core.graph.api

# Interface GraphComputeService

All Known Implementing Classes:
  `GraphComputeServiceImpl`

public interface GraphComputeService
This class get units where calculated data are modified Zip generated files and store the zipped file in the offer.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `GraphComputeResponse`
  `computeGraph(com.fasterxml.jackson.databind.JsonNode queryDSL)`
  If workflow of compute graph in progress, do not execute this method Should be exposed in the API
  `GraphComputeResponse`
  `computeGraph(MetadataCollections metadataCollections, Collection<String> unitsId, boolean computeObjectGroupGraph, boolean invalidateComputedInheritedRules)`
  Compute graph for unit/got from all parents
  `boolean`
  `isInProgress()`

- ## Method Details

  - ### computeGraph

    GraphComputeResponse computeGraph(com.fasterxml.jackson.databind.JsonNode queryDSL) throws MetaDataException
    If workflow of compute graph in progress, do not execute this method Should be exposed in the API
    Returns:
      the map of collection:number of treated documents
    Throws:
      `MetaDataException`

  - ### computeGraph

    GraphComputeResponse computeGraph(MetadataCollections metadataCollections, Collection<String> unitsId, boolean computeObjectGroupGraph, boolean invalidateComputedInheritedRules)
    Compute graph for unit/got from all parents
    Parameters:
      `metadataCollections` - the collection concerned by the build of the graph
      `unitsId` - the collection of units subject of computing graph
      `computeObjectGroupGraph` - true mean compute graph
      `invalidateComputedInheritedRules` -
    Returns:
      The collection of object group treated or to be treated bu an other process. This collection contains got's id of concerning units. Empty collection is returned if computeGraph of object group.

  - ### isInProgress

    boolean isInProgress()