public class LogbookOperation extends VitamDocument<LogbookOperation>
| Modifier and Type | Field and Description |
|---|---|
static String |
EVENTS
Events
|
static String |
TYPEUNIQUE
ES Mapping
|
ES_FILTER_OUT, ID, SCORE, TENANT_ID, VERSION| Constructor and Description |
|---|
LogbookOperation(org.bson.Document content)
Constructor for Codec
|
LogbookOperation(com.fasterxml.jackson.databind.JsonNode content)
Constructor for Codec
|
LogbookOperation(LogbookOperationParameters parameters)
Constructor from LogbookOperationParameters
|
LogbookOperation(LogbookOperationParameters parameters,
boolean forUpdate)
Constructor from LogbookOperationParameters for update purpose
|
LogbookOperation(String content)
Constructor for Codec
|
| Modifier and Type | Method and Description |
|---|---|
String |
getId() |
static LogbookParameterName |
getIdParameterName() |
List<LogbookOperationParameters> |
getOperations(boolean all)
Get back LogbookOperationParameters
|
VitamDocument<LogbookOperation> |
newInstance(com.fasterxml.jackson.databind.JsonNode content)
Make a new instance of the document with the given json
|
checkId, getConcernedDiffLines, getTenantId, getUnifiedDiff, getVersion, toString, toStringDirectappend, clear, containsKey, containsValue, entrySet, equals, get, get, getBoolean, getBoolean, getDate, getDouble, getInteger, getInteger, getLong, getObjectId, getString, hashCode, isEmpty, keySet, parse, parse, put, putAll, remove, size, toBsonDocument, toJson, toJson, toJson, toJson, valuesclone, finalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllpublic static final String TYPEUNIQUE
public static final String EVENTS
public LogbookOperation(LogbookOperationParameters parameters)
parameters - to create logbook operationIllegalArgumentException - if argument is nullpublic LogbookOperation(LogbookOperationParameters parameters, boolean forUpdate)
parameters - the logbook parametersforUpdate - specifies if the parameters should not contain fields for updateIllegalArgumentException - if argument is nullpublic LogbookOperation(org.bson.Document content)
content - of format Document to create LogbookOperationpublic LogbookOperation(String content)
content - of format String to create LogbookOperationpublic LogbookOperation(com.fasterxml.jackson.databind.JsonNode content)
content - of format JsonNode to create LogbookOperationpublic VitamDocument<LogbookOperation> newInstance(com.fasterxml.jackson.databind.JsonNode content)
VitamDocumentnewInstance in class VitamDocument<LogbookOperation>content - document structure as jsonpublic static final LogbookParameterName getIdParameterName()
public String getId()
getId in class VitamDocument<LogbookOperation>public List<LogbookOperationParameters> getOperations(boolean all)
all - If true returns all items, if false return the first item and last item if anyCopyright © 2018 Vitam. All rights reserved.