public class VideoImporter
extends org.nuxeo.ecm.platform.filemanager.service.extension.AbstractFileImporter
If an existing document with the same title is found, it will overwrite it and increment the version number if the overwrite flag is set to true; Otherwise, it will generate a new title and create a new Document of type Video with that title.
| Modifier and Type | Field and Description |
|---|---|
static String |
VIDEO_TYPE |
| Constructor and Description |
|---|
VideoImporter() |
| Modifier and Type | Method and Description |
|---|---|
String |
getDefaultDocType() |
boolean |
isOverwriteByTitle() |
void |
updateDocument(org.nuxeo.ecm.core.api.DocumentModel doc,
org.nuxeo.ecm.core.api.Blob content) |
checkIn, checkInAfterAdd, compareTo, create, createDocument, doSecurityCheck, getBlob, getDocType, getDocType, getFileManagerService, getFilters, getName, getNearestContainerPath, getOrder, getTypeService, isEnabled, matches, overwriteAndIncrementversion, setDocType, setEnabled, setFileManagerService, setFilters, setName, setOrder, skipCheckInForBlob, updateDocumentIfPossiblepublic static final String VIDEO_TYPE
public String getDefaultDocType()
getDefaultDocType in class org.nuxeo.ecm.platform.filemanager.service.extension.AbstractFileImporterpublic boolean isOverwriteByTitle()
isOverwriteByTitle in class org.nuxeo.ecm.platform.filemanager.service.extension.AbstractFileImporterpublic void updateDocument(org.nuxeo.ecm.core.api.DocumentModel doc,
org.nuxeo.ecm.core.api.Blob content)
throws org.nuxeo.ecm.core.api.ClientException
updateDocument in class org.nuxeo.ecm.platform.filemanager.service.extension.AbstractFileImporterorg.nuxeo.ecm.core.api.ClientExceptionCopyright © 2024. All rights reserved.