Package | Description |
---|---|
org.nuxeo.ecm.platform.filemanager.api |
Modifier and Type | Method and Description |
---|---|
static FileImporterContext.Builder |
FileImporterContext.builder(CoreSession session,
Blob blob,
String parentPath) |
FileImporterContext.Builder |
FileImporterContext.Builder.excludeOneToMany(boolean excludeOneToMany)
Whether to exclude the importers creating more than one document for the given blob when selecting the
importer.
|
FileImporterContext.Builder |
FileImporterContext.Builder.fileName(String fileName)
Overrides the file name from the given
blob . |
FileImporterContext.Builder |
FileImporterContext.Builder.mimeTypeCheck(boolean mimeTypeCheck)
Whether to check the blob's mime-type against the file name.
|
FileImporterContext.Builder |
FileImporterContext.Builder.overwrite(boolean overwrite)
Whether to overwrite an existing file with the same title.
|
FileImporterContext.Builder |
FileImporterContext.Builder.persistDocument(boolean persistDocument)
Whether to persist the created or updated document.
|
Constructor and Description |
---|
FileImporterContext(FileImporterContext.Builder builder) |
Copyright © 2019 Nuxeo. All rights reserved.