Class MetadataStorageHelper

java.lang.Object
fr.gouv.vitam.common.model.MetadataStorageHelper

public class MetadataStorageHelper extends Object
Helper class for metadata documentation storage.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
     
    static final String
     
    static final String
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static com.fasterxml.jackson.databind.JsonNode
    getGotWithLFC(com.fasterxml.jackson.databind.JsonNode document, com.fasterxml.jackson.databind.JsonNode lfc)
    Create a jsonNode with the got document and its lfc
    static com.fasterxml.jackson.databind.JsonNode
    getUnitFromUnitWithLFC(com.fasterxml.jackson.databind.JsonNode document)
    Retrieve the unit from the unit + lfc object
    static com.fasterxml.jackson.databind.JsonNode
    getUnitWithLFC(com.fasterxml.jackson.databind.JsonNode document, com.fasterxml.jackson.databind.JsonNode lfc)
    Create a jsonNode with the unit document and its lfc

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

  • Constructor Details

    • MetadataStorageHelper

      public MetadataStorageHelper()
  • Method Details

    • getUnitWithLFC

      public static com.fasterxml.jackson.databind.JsonNode getUnitWithLFC(com.fasterxml.jackson.databind.JsonNode document, com.fasterxml.jackson.databind.JsonNode lfc)
      Create a jsonNode with the unit document and its lfc
      Parameters:
      document - the unit node
      lfc - the lfc node
      Returns:
      a new JsonNode with document and lfc inside
    • getUnitFromUnitWithLFC

      public static com.fasterxml.jackson.databind.JsonNode getUnitFromUnitWithLFC(com.fasterxml.jackson.databind.JsonNode document)
      Retrieve the unit from the unit + lfc object
      Parameters:
      document - the unit + lfc node
      Returns:
      the JsonNode of the unit inside the documuent
    • getGotWithLFC

      public static com.fasterxml.jackson.databind.JsonNode getGotWithLFC(com.fasterxml.jackson.databind.JsonNode document, com.fasterxml.jackson.databind.JsonNode lfc)
      Create a jsonNode with the got document and its lfc
      Parameters:
      document - the unit node
      lfc - the lfc node
      Returns:
      a new JsonNode with document and lfc inside