Class FileImporterContext
java.lang.Object
org.nuxeo.ecm.platform.filemanager.api.FileImporterContext
Class containing everything needed to create or update a document from a
Blob with the FileManager.- Since:
- 10.10
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final Blobprotected booleanprotected booleanprotected Stringprotected booleanprotected booleanprotected final Stringprotected booleanprotected final CoreSession -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic FileImporterContext.Builderbuilder(CoreSession session, Blob blob, String parentPath) getBlob()booleanbooleanbooleanbooleanboolean
-
Field Details
-
session
-
blob
-
parentPath
-
fileName
-
overwrite
protected boolean overwrite -
mimeTypeCheck
protected boolean mimeTypeCheck -
excludeOneToMany
protected boolean excludeOneToMany -
persistDocument
protected boolean persistDocument -
bypassAllowedSubtypeCheck
protected boolean bypassAllowedSubtypeCheck
-
-
Constructor Details
-
FileImporterContext
-
-
Method Details
-
builder
public static FileImporterContext.Builder builder(CoreSession session, Blob blob, String parentPath) -
getSession
-
getBlob
-
getParentPath
-
getFileName
-
isOverwrite
public boolean isOverwrite() -
isMimeTypeCheck
public boolean isMimeTypeCheck() -
isExcludeOneToMany
public boolean isExcludeOneToMany() -
isPersistDocument
public boolean isPersistDocument() -
isBypassAllowedSubtypeCheck
public boolean isBypassAllowedSubtypeCheck()- Since:
- 11.3
-