Package | Description |
---|---|
fr.gouv.vitam.common.exception |
Common Exception package
|
fr.gouv.vitam.metadata.core.graph.api |
Modifier and Type | Class and Description |
---|---|
class |
VitamFatalRuntimeException
Fatal Runtime Vitam Exception
|
class |
VitamKoRuntimeException
Ko Runtime Vitam Exception
|
Modifier and Type | Method and Description |
---|---|
default com.mongodb.client.model.UpdateOneModel<org.bson.Document> |
GraphComputeService.computeObjectGroupGraph(org.bson.Document document)
Create update model for ObjectGroup
|
default void |
GraphComputeService.computeObjectGroupGraph(Set<String> originatingAgencies,
Set<String> unitParents,
List<String> up)
For ObjectGroup, we only get graph data (sps) from only unit represents (up)
We do not loop over all parent of parent until root units
As not concurrence expected, no problem of inconsistency,
Else, if parallel compute is needed, then, we have to loop over all units (until root units) or to implements optimistic lock on _glpd
|
default com.mongodb.client.model.UpdateOneModel<org.bson.Document> |
GraphComputeService.computeUnitGraph(org.bson.Document document)
Create update model for Unit
|
default void |
GraphComputeService.computeUnitGraphUsingDirectParents(List<GraphRelation> graphRels,
String unitId,
List<String> up,
int currentDepth)
Recursive method that compute graph using only _up
With global (by reference variable graphRels, we get all needed informations from all parent of the given unit unitId.
|
Copyright © 2018 Vitam. All rights reserved.