Class LogbookOperation
java.lang.Object
org.bson.Document
fr.gouv.vitam.common.database.server.mongodb.VitamDocument<LogbookOperation>
fr.gouv.vitam.logbook.common.server.database.collections.LogbookOperation
- All Implemented Interfaces:
- Serializable,- Map<String,,- Object> - org.bson.conversions.Bson
Logbook Operation item
- See Also:
- 
Nested Class Summary
- 
Field SummaryFieldsFields inherited from class fr.gouv.vitam.common.database.server.mongodb.VitamDocumentES_FILTER_OUT, ID, IMPLEMENTATIONVERSION, SCORE, SEDAVERSION, TENANT_ID, VERSIONFields inherited from interface org.bson.conversions.BsonDEFAULT_CODEC_REGISTRY
- 
Constructor SummaryConstructorsConstructorDescriptionLogbookOperation(com.fasterxml.jackson.databind.JsonNode content) Constructor for CodecLogbookOperation(LogbookOperationParameters parameters) Constructor from LogbookOperationParametersLogbookOperation(String content) Constructor for CodecLogbookOperation(org.bson.Document content) Constructor for Codec
- 
Method SummaryModifier and TypeMethodDescriptiongetId()static LogbookParameterNamegetOperations(boolean all) Get back LogbookOperationParametersnewInstance(com.fasterxml.jackson.databind.JsonNode content) Make a new instance of the document with the given jsonMethods inherited from class fr.gouv.vitam.common.database.server.mongodb.VitamDocumentcheckId, getConcernedDiffLines, getOriginalDiffLines, getTenantId, getUnifiedDiff, getVersion, toString, toStringDirectMethods inherited from class org.bson.Documentappend, clear, containsKey, containsValue, entrySet, equals, get, get, get, getBoolean, getBoolean, getDate, getDouble, getEmbedded, getEmbedded, getInteger, getInteger, getList, getList, getLong, getObjectId, getString, hashCode, isEmpty, keySet, parse, parse, put, putAll, remove, size, toBsonDocument, toJson, toJson, toJson, toJson, valuesMethods inherited from class java.lang.Objectclone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.bson.conversions.BsontoBsonDocumentMethods inherited from interface java.util.Mapcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
- 
Field Details- 
EVENTSEvents- See Also:
 
 
- 
- 
Constructor Details- 
LogbookOperationConstructor from LogbookOperationParameters- Parameters:
- parameters- to create logbook operation
- Throws:
- IllegalArgumentException- if argument is null
 
- 
LogbookOperationpublic LogbookOperation(org.bson.Document content) Constructor for Codec- Parameters:
- content- of format Document to create LogbookOperation
 
- 
LogbookOperationConstructor for Codec- Parameters:
- content- of format String to create LogbookOperation
 
- 
LogbookOperationpublic LogbookOperation(com.fasterxml.jackson.databind.JsonNode content) Constructor for Codec- Parameters:
- content- of format JsonNode to create LogbookOperation
 
- 
LogbookOperationpublic LogbookOperation()
 
- 
- 
Method Details- 
newInstanceDescription copied from class:VitamDocumentMake a new instance of the document with the given json- Specified by:
- newInstancein class- VitamDocument<LogbookOperation>
- Parameters:
- content- document structure as json
- Returns:
- new document with the json as content
 
- 
getIdParameterName- Returns:
- the ParameterName as id in collection
 
- 
getId- Overrides:
- getIdin class- VitamDocument<LogbookOperation>
- Returns:
- the ID
 
- 
getOperationsGet back LogbookOperationParameters- Parameters:
- all- If true returns all items, if false return the first item and last item if any
- Returns:
- the list of Operations
 
 
-