Package lumis.portal.bigdata
Class StandardDocument
- java.lang.Object
-
- lumis.portal.bigdata.Document
-
- lumis.portal.bigdata.StandardDocument
-
- All Implemented Interfaces:
java.io.Serializable
,java.util.Map<java.lang.String,java.io.Serializable>
- Direct Known Subclasses:
ContentVersionDocument
@StableMinor(version="17.0", sinceVersion="8.1") public class StandardDocument extends Document
Document
that provides standard fields access.- Since:
- 8.1.0
- Version:
- $Revision$ $Date$
- See Also:
StandardDocumentType
, Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
StandardDocument.Standard
API that provides access to standard fields.
-
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
-
-
-
-
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
-
-