@StableMinor(version="12.3", sinceVersion="10.2") public class ContentVersionDocument extends StandardDocument
ContentVersion
.ContentVersionDocumentType
,
Serialized FormModifier and Type | Class and 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.
|
StandardDocument.Standard
Modifier | Constructor and Description |
---|---|
protected |
ContentVersionDocument(ContentVersionDocumentType documentType)
Creates a new content version document based on the given type.
|
Modifier and Type | Method and 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.
|
getStandard
clear, containsKey, containsValue, entrySet, get, get, getDocumentType, getId, isEmpty, keySet, newFieldValueProxy, put, put, putAll, remove, setId, size, values
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, equals, forEach, getOrDefault, hashCode, merge, putIfAbsent, remove, replace, replace, replaceAll
protected ContentVersionDocument(ContentVersionDocumentType documentType)
documentType
- the document type.public ContentVersionDocument.ContentVersion getContentVersion()
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.
public void setContentVersion(ContentVersion coreContentVersion)
coreContentVersion
- the Content Version used to set the fields in this document.LumisXP 12.3.0.200408 - Copyright © 2006–2020 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.