public class FileImporterContext extends Object
Blob
with the FileManager
.Modifier and Type | Class and Description |
---|---|
static class |
FileImporterContext.Builder |
Modifier and Type | Field and Description |
---|---|
protected Blob |
blob |
protected boolean |
excludeOneToMany |
protected String |
fileName |
protected boolean |
mimeTypeCheck |
protected boolean |
overwrite |
protected String |
parentPath |
protected boolean |
persistDocument |
protected CoreSession |
session |
Modifier | Constructor and Description |
---|---|
protected |
FileImporterContext(FileImporterContext.Builder builder) |
Modifier and Type | Method and Description |
---|---|
static FileImporterContext.Builder |
builder(CoreSession session,
Blob blob,
String parentPath) |
Blob |
getBlob() |
String |
getFileName() |
String |
getParentPath() |
CoreSession |
getSession() |
boolean |
isExcludeOneToMany() |
boolean |
isMimeTypeCheck() |
boolean |
isOverwrite() |
boolean |
isPersistDocument() |
protected final CoreSession session
protected final String parentPath
protected boolean overwrite
protected boolean mimeTypeCheck
protected boolean excludeOneToMany
protected boolean persistDocument
protected FileImporterContext(FileImporterContext.Builder builder)
public static FileImporterContext.Builder builder(CoreSession session, Blob blob, String parentPath)
public CoreSession getSession()
public String getParentPath()
public String getFileName()
public boolean isOverwrite()
public boolean isMimeTypeCheck()
public boolean isExcludeOneToMany()
public boolean isPersistDocument()
Copyright © 2019 Nuxeo. All rights reserved.