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 TypeMethodDescriptioncomputeGraph
(com.fasterxml.jackson.databind.JsonNode queryDSL) If workflow of compute graph in progress, do not execute this method Should be exposed in the APIcomputeGraph
(MetadataCollections metadataCollections, Collection<String> unitsId, boolean computeObjectGroupGraph, boolean invalidateComputedInheritedRules) Compute graph for unit/got from all parentsboolean
-
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 graphunitsId
- the collection of units subject of computing graphcomputeObjectGroupGraph
- true mean compute graphinvalidateComputedInheritedRules
-- 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()
-