Uses of Class
org.nuxeo.binary.metadata.internals.MetadataMappingUpdate
Package
Description
-
Uses of MetadataMappingUpdate in org.nuxeo.binary.metadata.api
Modifier and TypeMethodDescriptionBinaryMetadataService.getMetadataUpdates
(DocumentModel doc, boolean creation) Returns the list ofMetadataMappingUpdate
to apply to the document and the blob according to following rules: If creation, write metadata from Blob to doc. If Blob dirty and document metadata dirty, write metadata from doc to Blob. If Blob dirty and document metadata not dirty, write metadata from Blob to doc. If Blob not dirty and document metadata dirty, write metadata from doc to Blob. In all cases, the metadata is never written from doc to Blob ifMetadataMappingDescriptor#isReadOnly()
returns true.Modifier and TypeMethodDescriptionvoid
BinaryMetadataService.applyUpdates
(DocumentModel doc, List<MetadataMappingUpdate> mappingUpdates) Applies synchronously the givenmappingUpdates
computed byBinaryMetadataService.getMetadataUpdates(DocumentModel, boolean)
to the document. -
Uses of MetadataMappingUpdate in org.nuxeo.binary.metadata.internals
Modifier and TypeFieldDescriptionprotected final List<MetadataMappingUpdate>
BinaryMetadataUpdateWork.metadataUpdates
Modifier and TypeMethodDescriptionBinaryMetadataServiceImpl.getMetadataUpdates
(DocumentModel doc, boolean creation) Modifier and TypeMethodDescriptionvoid
BinaryMetadataServiceImpl.applyUpdates
(DocumentModel doc, List<MetadataMappingUpdate> mappingUpdates) ModifierConstructorDescriptionBinaryMetadataUpdateWork
(String repositoryName, String docId, List<MetadataMappingUpdate> metadataUpdates) -
Uses of MetadataMappingUpdate in org.nuxeo.binary.metadata.internals.listeners
Modifier and TypeFieldDescriptionprotected final List<MetadataMappingUpdate>
BinaryMetadataSyncListener.DocumentMetadataMappingUpdates.updates
ModifierConstructorDescriptionDocumentMetadataMappingUpdates
(DocumentModel doc, List<MetadataMappingUpdate> updates)