public class Context extends VitamDocument<Context>
Modifier and Type | Field and Description |
---|---|
static String |
IDENTIFIER
the Context id
|
static String |
NAME
the Context name
|
static String |
PERMISSION
the Context description
|
static String |
SECURITY_PROFILE
The security profile identifier
|
static String |
STATUS
the Context status
|
ES_FILTER_OUT, ID, SCORE, TENANT_ID, VERSION
Constructor and Description |
---|
Context()
Empty Constructor
|
Context(org.bson.Document document)
Constructor
|
Context(com.fasterxml.jackson.databind.JsonNode content) |
Context(String content) |
Modifier and Type | Method and Description |
---|---|
VitamDocument<Context> |
newInstance(com.fasterxml.jackson.databind.JsonNode content)
Make a new instance of the document with the given json
|
checkId, getConcernedDiffLines, getId, getTenantId, getUnifiedDiff, getVersion, toString, toStringDirect
append, 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, values
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
public static final String IDENTIFIER
public static final String NAME
public static final String STATUS
public static final String SECURITY_PROFILE
public static final String PERMISSION
public Context()
public Context(org.bson.Document document)
document
- data in format Document to create contextpublic Context(com.fasterxml.jackson.databind.JsonNode content)
content
- in format JsonNode to create contextpublic Context(String content)
content
- in format String to create contextpublic VitamDocument<Context> newInstance(com.fasterxml.jackson.databind.JsonNode content)
VitamDocument
newInstance
in class VitamDocument<Context>
content
- document structure as jsonCopyright © 2018 Vitam. All rights reserved.