Package lumis.portal.bigdata
Class StandardDocument
- java.lang.Object
-
- lumis.portal.bigdata.Document
-
- lumis.portal.bigdata.StandardDocument
-
- All Implemented Interfaces:
Serializable
,Map<String,Serializable>
- Direct Known Subclasses:
ContentVersionDocument
@StableMinor(version="14.2", sinceVersion="8.1") public class StandardDocument extends Document
Document
that provides standard fields access.- Since:
- 8.1.0
- Version:
- $Revision: 24985 $ $Date: 2022-05-02 23:04:30 -0300 (Mon, 02 May 2022) $
- See Also:
StandardDocumentType
, Serialized Form
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
StandardDocument(StandardDocumentType documentType)
Creates a new standard document based on the given type.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StandardDocument.Standard
getStandard()
Returns an API for accessing the standard fields in this document.-
Methods inherited from class lumis.portal.bigdata.Document
clear, containsKey, containsValue, entrySet, get, get, getDocumentType, getId, isEmpty, keySet, newFieldValueProxy, put, put, putAll, remove, setId, size, values
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, equals, forEach, getOrDefault, hashCode, merge, putIfAbsent, remove, replace, replace, replaceAll
-
-
-
-
Constructor Detail
-
StandardDocument
protected StandardDocument(StandardDocumentType documentType)
Creates a new standard document based on the given type.- Parameters:
documentType
- the document type.- Since:
- 8.1.0
-
-
Method Detail
-
getStandard
public StandardDocument.Standard getStandard()
Returns an API for accessing the standard fields in this document.If a document field value is modified without using this API, the object previously returned by this method (or its child objects) may no longer reflect the correct data in the document. In this case this method should be called again to obtain another Standard object to be used.
- Returns:
- the standard fields access API.
- Since:
- 8.1.0
- See Also:
StandardDocumentType.StandardFields
-
-