Enum Class FunctionalAdminCollections

java.lang.Object
java.lang.Enum<FunctionalAdminCollections>
fr.gouv.vitam.functional.administration.common.server.FunctionalAdminCollections
All Implemented Interfaces:
Serializable, Comparable<FunctionalAdminCollections>, Constable

public enum FunctionalAdminCollections extends Enum<FunctionalAdminCollections>
All collections in functional admin module
  • Enum Constant Details

  • Method Details

    • values

      public static FunctionalAdminCollections[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static FunctionalAdminCollections valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • getClasses

      public static List<Class<?>> getClasses()
    • isMultitenant

      public boolean isMultitenant()
      Returns:
      True if this collection is multitenant
    • getName

      public String getName()
      Returns:
      the name of the collection
    • getCollection

      public <T extends org.bson.Document> com.mongodb.client.MongoCollection<T> getCollection()
      Returns:
      the associated MongoCollection
    • getVitamCollection

      public <T extends VitamDocument<?>> VitamCollection<T> getVitamCollection()
      Returns:
      the associated VitamCollection
    • getCount

      public long getCount()
      Returns:
      the count of associated MongoCollection
    • getVarNameAdapater

      public VarNameAdapter getVarNameAdapater()
      Returns:
      the associated VarNameAdapter
    • getEsClient

      public ElasticsearchAccessFunctionalAdmin getEsClient()
      get ElasticSearch Client
      Returns:
      client Es
    • getFromValue

      public static FunctionalAdminCollections getFromValue(String collection)
      get collection from value.
      Parameters:
      collection -
      Returns:
      the corresponding FunctionalAdminCollections
    • getVitamDescriptionResolver

      public VitamDescriptionResolver getVitamDescriptionResolver()
    • getElasticsearchCollection

      public ElasticsearchCollections getElasticsearchCollection()