Uses of Class
org.nuxeo.ecm.platform.filemanager.api.FileImporterContext.Builder
-
Uses of FileImporterContext.Builder in org.nuxeo.ecm.platform.filemanager.api
Modifier and TypeMethodDescriptionstatic FileImporterContext.Builder
FileImporterContext.builder
(CoreSession session, Blob blob, String parentPath) FileImporterContext.Builder.bypassAllowedSubtypeCheck
(boolean bypassAllowedSubtypeCheck) Whether to bypass the allowed subtype check.FileImporterContext.Builder.excludeOneToMany
(boolean excludeOneToMany) Whether to exclude the importers creating more than one document for the given blob when selecting the importer.Overrides the file name from the givenblob
.FileImporterContext.Builder.mimeTypeCheck
(boolean mimeTypeCheck) Whether to check the blob's mime-type against the file name.FileImporterContext.Builder.overwrite
(boolean overwrite) Whether to overwrite an existing file with the same title.FileImporterContext.Builder.persistDocument
(boolean persistDocument) Whether to persist the created or updated document.