Interface ExportService


  • public interface ExportService
    Compress the Folder to the chosen archive format.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      com.flower.docs.domain.file.DocumentFile export​(com.flower.docs.domain.folder.Folder folder, java.lang.String format)  
    • Method Detail

      • export

        com.flower.docs.domain.file.DocumentFile export​(com.flower.docs.domain.folder.Folder folder,
                                                        java.lang.String format)
                                                 throws com.flower.docs.domain.exception.FunctionalException,
                                                        com.flower.docs.domain.exception.TechnicalException
        Parameters:
        folder - the Folder to export
        format - The file format to export
        Returns:
        DocumentFile that reference folder content as a temp file
        Throws:
        com.flower.docs.domain.exception.FunctionalException - If a functional error occurred
        com.flower.docs.domain.exception.TechnicalException - If a technical error occurred