Class ZipFileImportActionServiceImpl

java.lang.Object
ch.tocco.nice2.dms.impl.action.zipimport.ZipFileImportActionServiceImpl
All Implemented Interfaces:
ZipFileImportActionService

public class ZipFileImportActionServiceImpl extends Object implements ZipFileImportActionService
  • Constructor Details

  • Method Details

    • importZipFile

      public void importZipFile(org.directwebremoting.io.FileTransfer transferedFile, String entityName, String providedReferenceField, boolean replaceExistingFiles) throws IOException
      Description copied from interface: ZipFileImportActionService
      Imports the content FileTransfer 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.
      Specified by:
      importZipFile in interface ZipFileImportActionService
      Parameters:
      transferedFile - the file to be imported. Has to be a valid zip file.
      Throws:
      IOException