public class AudioImporter
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 Audio with that title.
| Modifier and Type | Field and Description |
|---|---|
static String |
AUDIO_TYPE |
| Constructor and Description |
|---|
AudioImporter() |
| Modifier and Type | Method and Description |
|---|---|
org.nuxeo.ecm.core.api.DocumentModel |
create(org.nuxeo.ecm.core.api.CoreSession documentManager,
org.nuxeo.ecm.core.api.Blob content,
String path,
boolean overwrite,
String fullname,
org.nuxeo.ecm.platform.types.TypeManager typeService) |
checkIn, checkInAfterAdd, compareTo, createDocument, doSecurityCheck, getBlob, getDefaultDocType, getDocType, getDocType, getFileManagerService, getFilters, getName, getNearestContainerPath, getOrder, getTypeService, isEnabled, isOverwriteByTitle, matches, overwriteAndIncrementversion, setDocType, setEnabled, setFileManagerService, setFilters, setName, setOrder, skipCheckInForBlob, updateDocument, updateDocumentIfPossiblepublic static final String AUDIO_TYPE
public org.nuxeo.ecm.core.api.DocumentModel create(org.nuxeo.ecm.core.api.CoreSession documentManager,
org.nuxeo.ecm.core.api.Blob content,
String path,
boolean overwrite,
String fullname,
org.nuxeo.ecm.platform.types.TypeManager typeService)
throws org.nuxeo.ecm.core.api.ClientException,
IOException
create in interface org.nuxeo.ecm.platform.filemanager.service.extension.FileImportercreate in class org.nuxeo.ecm.platform.filemanager.service.extension.AbstractFileImporterorg.nuxeo.ecm.core.api.ClientExceptionIOExceptionCopyright © 2024. All rights reserved.