Package lumis.content.bigdata
Class ContentVersionDocument
- java.lang.Object
-
- lumis.portal.bigdata.Document
-
- lumis.portal.bigdata.StandardDocument
-
- lumis.content.bigdata.ContentVersionDocument
-
- All Implemented Interfaces:
Serializable
,Map<String,Serializable>
@StableMinor(version="14.0", sinceVersion="10.2") public class ContentVersionDocument extends StandardDocument
Big data document for aContentVersion
.- Since:
- 8.1.0
- Version:
- $Revision: 24476 $ $Date: 2021-04-28 11:28:23 -0300 (Wed, 28 Apr 2021) $
- See Also:
ContentVersionDocumentType
, Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
ContentVersionDocument.Content
API that provides access to content fields.static interface
ContentVersionDocument.ContentLocale
API that provides access to content locale fields.static interface
ContentVersionDocument.ContentVersion
API that provides access to content version fields.static interface
ContentVersionDocument.ContentVersionPublication
API that provides access to publications fields inside a content version field in this document.static interface
ContentVersionDocument.WorkflowMetaData
API that provides access to workflow meta Data fields.-
Nested classes/interfaces inherited from class lumis.portal.bigdata.StandardDocument
StandardDocument.Standard
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
ContentVersionDocument(ContentVersionDocumentType documentType)
Creates a new content version document based on the given type.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ContentVersionDocument.ContentVersion
getContentVersion()
Returns an API for accessing the content version fields in this document.void
setContentVersion(ContentVersion coreContentVersion)
Sets all content meta data fields in this document according to the given Content Version.-
Methods inherited from class lumis.portal.bigdata.StandardDocument
getStandard
-
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
-
ContentVersionDocument
protected ContentVersionDocument(ContentVersionDocumentType documentType)
Creates a new content version document based on the given type.- Parameters:
documentType
- the document type.- Since:
- 8.1.0
-
-
Method Detail
-
getContentVersion
public ContentVersionDocument.ContentVersion getContentVersion()
Returns an API for accessing the content version 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 ContentVersion object to be used.
- Returns:
- the content version fields access API.
- Since:
- 8.1.0
-
setContentVersion
public void setContentVersion(ContentVersion coreContentVersion)
Sets all content meta data fields in this document according to the given Content Version.- Parameters:
coreContentVersion
- the Content Version used to set the fields in this document.- Since:
- 8.1.0
-
-