public class ObjectGroup extends MetadataDocument<ObjectGroup>
Modifier and Type | Field and Description |
---|---|
static String |
COPIES
Copies
|
static String |
DATAOBJECTVERSION
DataObjectVersion
|
static String |
OBJECTCOPIES
Copies
|
static String |
OBJECTDIGEST
Digest
|
static String |
OBJECTDIGEST_TYPE
Digest Type
|
static String |
OBJECTDIGEST_VALUE
Digest Value
|
static String |
OBJECTFORMAT
Object format
|
static com.mongodb.BasicDBObject |
OBJECTGROUP_VITAM_PROJECTION
Unit Id, Vitam fields Only projection (no usage)
|
static String |
OBJECTID
Object UUID
|
static String |
OBJECTSIZE
Object size
|
static String |
OBJECTSTORAGE
Storage Id
|
static String |
OBJECTSTRATEHY
Storage Id
|
static String |
OBJECTVERSION
Version
|
static String |
OGDEPTHS
depths
|
static String |
STORAGE
Storage Id
|
static String |
USAGES
Usages
|
static String |
VERSIONS
Versions
|
static String |
VERSIONS_STORAGE
storage to objectGroup
|
ES_PROJECTION, GRAPH_LAST_PERSISTED_DATE, NBCHILD, OG, OPI, OPS, ORIGINATING_AGENCIES, ORIGINATING_AGENCY, QUALIFIERS, TYPE, UNITUPS, UP
ES_FILTER_OUT, ID, IMPLEMENTATIONVERSION, SCORE, SEDAVERSION, TENANT_ID, VERSION
Constructor and Description |
---|
ObjectGroup()
Empty constructor
|
ObjectGroup(org.bson.Document content)
Constructor from Document
|
ObjectGroup(com.fasterxml.jackson.databind.JsonNode content)
Constructor from Json
|
ObjectGroup(String content)
Constructor from Json as Text
|
Modifier and Type | Method and Description |
---|---|
void |
buildParentGraph(Unit unit) |
protected com.mongodb.client.MongoCollection<ObjectGroup> |
getCollection() |
protected MetadataCollections |
getMetadataCollections() |
MetadataDocument<ObjectGroup> |
newInstance(com.fasterxml.jackson.databind.JsonNode content)
Make a new instance of the document with the given json
|
checkId, delete, getCollectionOrEmpty, getId, getMapOrEmpty, getSp, getUp, insert, toStringDebug, toStringDirect, update
getConcernedDiffLines, getTenantId, getUnifiedDiff, getVersion, toString
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 USAGES
public static final String STORAGE
public static final com.mongodb.BasicDBObject OBJECTGROUP_VITAM_PROJECTION
public static final String VERSIONS
public static final String DATAOBJECTVERSION
public static final String VERSIONS_STORAGE
public static final String OBJECTCOPIES
public static final String OBJECTSTORAGE
public static final String OBJECTSTRATEHY
public static final String OBJECTVERSION
public static final String OBJECTID
public static final String OBJECTSIZE
public static final String OBJECTFORMAT
public static final String OBJECTDIGEST
public static final String OBJECTDIGEST_VALUE
public static final String OBJECTDIGEST_TYPE
public static final String COPIES
public static final String OGDEPTHS
public ObjectGroup()
public ObjectGroup(com.fasterxml.jackson.databind.JsonNode content)
content
- the objectgroup of JsonNode formatpublic ObjectGroup(org.bson.Document content)
content
- the objectgroup of Document formatpublic ObjectGroup(String content)
content
- the objectgroup of String formatprotected MetadataCollections getMetadataCollections()
getMetadataCollections
in class MetadataDocument<ObjectGroup>
protected com.mongodb.client.MongoCollection<ObjectGroup> getCollection()
getCollection
in class MetadataDocument<ObjectGroup>
public MetadataDocument<ObjectGroup> newInstance(com.fasterxml.jackson.databind.JsonNode content)
VitamDocument
newInstance
in class VitamDocument<ObjectGroup>
content
- document structure as jsonpublic void buildParentGraph(Unit unit)
Copyright © 2018 Vitam. All rights reserved.