public enum LogbookCollections extends Enum<LogbookCollections>
Enum Constant and Description |
---|
LIFECYCLE_OBJECTGROUP
LifeCycle object group Collection
|
LIFECYCLE_OBJECTGROUP_IN_PROCESS
LifeCycle object group in process
|
LIFECYCLE_UNIT
LifeCycle unit Collection
|
LIFECYCLE_UNIT_IN_PROCESS
LifeCycle unit in process
|
OPERATION
Operation Collection
|
Modifier and Type | Method and Description |
---|---|
Class<?> |
getClasz() |
com.mongodb.client.MongoCollection |
getCollection() |
LogbookElasticsearchAccess |
getEsClient() |
protected static com.mongodb.client.MongoCollection<LogbookLifeCycleObjectGroup> |
getLifeCycleObjectGroupCollection() |
protected static com.mongodb.client.MongoCollection<LogbookLifeCycleObjectGroupInProcess> |
getLifeCycleObjectGroupInProcessCollection() |
protected static com.mongodb.client.MongoCollection<LogbookLifeCycleUnit> |
getLifeCycleUnitCollection() |
protected static com.mongodb.client.MongoCollection<LogbookLifeCycleUnitInProcess> |
getLifeCycleUnitInProcessCollection() |
String |
getName() |
protected static com.mongodb.client.MongoCollection<LogbookOperation> |
getOperationCollection() |
VitamCollection |
getVitamCollection() |
protected void |
initialize(LogbookElasticsearchAccess esClient)
Initialize the collection
|
protected void |
initialize(com.mongodb.client.MongoDatabase db,
boolean recreate)
Initialize the collection
|
static LogbookCollections |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LogbookCollections[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LogbookCollections OPERATION
public static final LogbookCollections LIFECYCLE_UNIT
public static final LogbookCollections LIFECYCLE_OBJECTGROUP
public static final LogbookCollections LIFECYCLE_UNIT_IN_PROCESS
public static final LogbookCollections LIFECYCLE_OBJECTGROUP_IN_PROCESS
public static final String ID
public static LogbookCollections[] values()
for (LogbookCollections c : LogbookCollections.values()) System.out.println(c);
public static LogbookCollections valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullprotected void initialize(com.mongodb.client.MongoDatabase db, boolean recreate)
db
- the mongo databaserecreate
- if needs to be recreatedprotected void initialize(LogbookElasticsearchAccess esClient)
esClient
- the ElasticsearchAccesspublic String getName()
public com.mongodb.client.MongoCollection getCollection()
public VitamCollection getVitamCollection()
protected static final com.mongodb.client.MongoCollection<LogbookOperation> getOperationCollection()
protected static final com.mongodb.client.MongoCollection<LogbookLifeCycleUnit> getLifeCycleUnitCollection()
protected static final com.mongodb.client.MongoCollection<LogbookLifeCycleObjectGroup> getLifeCycleObjectGroupCollection()
protected static final com.mongodb.client.MongoCollection<LogbookLifeCycleUnitInProcess> getLifeCycleUnitInProcessCollection()
protected static final com.mongodb.client.MongoCollection<LogbookLifeCycleObjectGroupInProcess> getLifeCycleObjectGroupInProcessCollection()
public Class<?> getClasz()
public LogbookElasticsearchAccess getEsClient()
Copyright © 2018 Vitam. All rights reserved.