Interface ZipFileImportActionService
- All Known Implementing Classes:
ZipFileImportActionServiceImpl
public interface ZipFileImportActionService
-
Method Summary
Modifier and TypeMethodDescriptionvoid
importZipFile
(org.directwebremoting.io.FileTransfer zipFile, String entityName, String referenceField, boolean replaceExistingFiles) Imports the contentFileTransfer
provided from the UI into existing Entities.
-
Method Details
-
importZipFile
void importZipFile(org.directwebremoting.io.FileTransfer zipFile, String entityName, String referenceField, boolean replaceExistingFiles) throws IOException Imports the contentFileTransfer
provided from the UI into existing Entities. The first folder in the zip file will be ignored. The second folder is the reference to the entity where the documents should be imported. If the third level folder starts with '[' and ends with ']' we assume that a document field is referenced, otherwise the folder, all subfolders and all documents will be imported into the entity folder.- Parameters:
zipFile
- the file to be imported. Has to be a valid zip file.- Throws:
IOException
-