Class VitamCollectionHelper

java.lang.Object
fr.gouv.vitam.common.database.collections.VitamCollectionHelper

public class VitamCollectionHelper extends Object
Vitam Collection Helper
  • Constructor Details

    • VitamCollectionHelper

      public VitamCollectionHelper()
  • Method Details

    • getCollection

      public static <T> VitamCollection<T> getCollection(Class<T> clasz, boolean multitenant, boolean usingScore, String prefix, VitamDescriptionResolver vitamDescriptionResolver)
      getCollection with collection class
      Parameters:
      clasz - a class of a unknown type
      multitenant -
      usingScore -
      Returns:
      VitamCollection
    • isMetadataCollection

      public static boolean isMetadataCollection(String collectionName)
      check if the collection is a metadata one
      Parameters:
      collectionName -
      Returns:
      true if yes
    • isLogbookCollection

      public static boolean isLogbookCollection(String collectionName)
      check if the collection is a logbook one
      Parameters:
      collectionName -
      Returns:
      true if yes