public class RouteModelsZipImporter extends ExportedZipImporter
DISABLE_AUDIT_LOGGER, docType, enabled, fileManagerService, filters, name, order, patterns, SKIP_UPDATE_AUDIT_LOGGING| Constructor and Description |
|---|
RouteModelsZipImporter() |
| Modifier and Type | Method and Description |
|---|---|
DocumentModel |
create(CoreSession session,
Blob content,
String path,
boolean overwrite,
String filename,
TypeManager typeService)
Creates the document.
|
getArchiveFileIfValidcheckIn, checkInAfterAdd, compareTo, createDocument, doSecurityCheck, getBlob, getDefaultDocType, getDocType, getDocType, getFileManagerService, getFilters, getName, getNearestContainerPath, getOrder, isEnabled, isOverwriteByTitle, matches, setDocType, setEnabled, setFileManagerService, setFilters, setName, setOrder, skipCheckInForBlob, updateDocument, updateDocumentIfPossiblepublic RouteModelsZipImporter()
public DocumentModel create(CoreSession session, Blob content, String path, boolean overwrite, String filename, TypeManager typeService) throws IOException
FileImportercreate in interface FileImportercreate in class ExportedZipImportersession - the manager used to create the Documentcontent - the content of the Filepath - the path of current documentoverwrite - a boolean deciding whether to create or update if we find a document with the same fileNamefilename - the filename of the FileIOExceptionCopyright © 2018 Nuxeo. All rights reserved.