Enum FunctionalAdminCollections
- java.lang.Object
-
- java.lang.Enum<FunctionalAdminCollections>
-
- fr.gouv.vitam.functional.administration.common.server.FunctionalAdminCollections
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<FunctionalAdminCollections>
public enum FunctionalAdminCollections extends java.lang.Enum<FunctionalAdminCollections>
All collections in functional admin module
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ACCESS_CONTRACTAccess contract collectionACCESSION_REGISTER_DETAILAccession Register detail CollectionACCESSION_REGISTER_SUMMARYAccession Register summary CollectionACCESSION_REGISTER_SYMBOLICAccession Register Symbolic CollectionAGENCIESAgency collectionARCHIVE_UNIT_PROFILEArchive Unit Profile collectionCONTEXTContext collectionFORMATSFormats CollectionGRIFFININGEST_CONTRACTIngest contract collectionMANAGEMENT_CONTRACTManagement contract collectionONTOLOGYOntology collectionPRESERVATION_SCENARIOPROFILEProfile collectionRULESRules CollectionSECURITY_PROFILESecurity profile collectionVITAM_SEQUENCEVITAM SEQUENCE collection
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static java.util.List<java.lang.Class<?>>getClasses()<T extends org.bson.Document>
com.mongodb.client.MongoCollection<T>getCollection()longgetCount()ElasticsearchCollectionsgetElasticsearchCollection()ElasticsearchAccessFunctionalAdmingetEsClient()get ElasticSearch Clientstatic FunctionalAdminCollectionsgetFromValue(java.lang.String collection)get collection from value.java.lang.StringgetName()VarNameAdaptergetVarNameAdapater()<T extends VitamDocument<?>>
VitamCollection<T>getVitamCollection()VitamDescriptionResolvergetVitamDescriptionResolver()booleanisMultitenant()static FunctionalAdminCollectionsvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static FunctionalAdminCollections[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
FORMATS
public static final FunctionalAdminCollections FORMATS
Formats Collection
-
RULES
public static final FunctionalAdminCollections RULES
Rules Collection
-
ACCESSION_REGISTER_SUMMARY
public static final FunctionalAdminCollections ACCESSION_REGISTER_SUMMARY
Accession Register summary Collection
-
ACCESSION_REGISTER_DETAIL
public static final FunctionalAdminCollections ACCESSION_REGISTER_DETAIL
Accession Register detail Collection
-
ACCESSION_REGISTER_SYMBOLIC
public static final FunctionalAdminCollections ACCESSION_REGISTER_SYMBOLIC
Accession Register Symbolic Collection
-
INGEST_CONTRACT
public static final FunctionalAdminCollections INGEST_CONTRACT
Ingest contract collection
-
ACCESS_CONTRACT
public static final FunctionalAdminCollections ACCESS_CONTRACT
Access contract collection
-
MANAGEMENT_CONTRACT
public static final FunctionalAdminCollections MANAGEMENT_CONTRACT
Management contract collection
-
VITAM_SEQUENCE
public static final FunctionalAdminCollections VITAM_SEQUENCE
VITAM SEQUENCE collection
-
PROFILE
public static final FunctionalAdminCollections PROFILE
Profile collection
-
ARCHIVE_UNIT_PROFILE
public static final FunctionalAdminCollections ARCHIVE_UNIT_PROFILE
Archive Unit Profile collection
-
AGENCIES
public static final FunctionalAdminCollections AGENCIES
Agency collection
-
CONTEXT
public static final FunctionalAdminCollections CONTEXT
Context collection
-
SECURITY_PROFILE
public static final FunctionalAdminCollections SECURITY_PROFILE
Security profile collection
-
GRIFFIN
public static final FunctionalAdminCollections GRIFFIN
-
PRESERVATION_SCENARIO
public static final FunctionalAdminCollections PRESERVATION_SCENARIO
-
ONTOLOGY
public static final FunctionalAdminCollections ONTOLOGY
Ontology collection
-
-
Method Detail
-
values
public static FunctionalAdminCollections[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (FunctionalAdminCollections c : FunctionalAdminCollections.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static FunctionalAdminCollections valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
getClasses
public static java.util.List<java.lang.Class<?>> getClasses()
-
isMultitenant
public boolean isMultitenant()
- Returns:
- True if this collection is multitenant
-
getName
public java.lang.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(java.lang.String collection)
get collection from value.- Parameters:
collection-- Returns:
- the corresponding FunctionalAdminCollections
-
getVitamDescriptionResolver
public VitamDescriptionResolver getVitamDescriptionResolver()
-
getElasticsearchCollection
public ElasticsearchCollections getElasticsearchCollection()
-
-