Class FcCompressAsZipProps

    • Constructor Detail

      • FcCompressAsZipProps

        public FcCompressAsZipProps()
    • Method Detail

      • getCompressedFileName

        public String getCompressedFileName()
        Returns:
        File name of the ZIP archive file. Should end with .zip. When empty, the name of the input file (when one file is selected) or compressed.zip is used (when multiple files are selected).
      • setCompressedFileName

        public void setCompressedFileName​(String compressedFileName)
        Parameters:
        compressedFileName - File name of the ZIP archive file. Should end with .zip. When empty, the name of the input file (when one file is selected) or compressed.zip is used (when multiple files are selected).
      • setMultiFile

        public void setMultiFile​(MultiFile multiFile)
        Parameters:
        multiFile - resource of type MultiFile
      • getNamingScheme

        public ECompressAsZipNamingScheme getNamingScheme()
        Returns:
        How the files that are put into the ZIP archive should be named and whether sub directories should be created.
      • setNamingScheme

        public void setNamingScheme​(ECompressAsZipNamingScheme namingScheme)
        Parameters:
        namingScheme - How the files that are put into the ZIP archive should be named and whether sub directories should be created.
      • isAttachToFormRecord

        public boolean isAttachToFormRecord()
        Specified by:
        isAttachToFormRecord in interface IAttachableFile
        Returns:
        Whether files created by this file providing action are attached to the form record.
      • setAttachToFormRecord

        public void setAttachToFormRecord​(boolean attachToFormRecord)
        Specified by:
        setAttachToFormRecord in interface IAttachableFile
        Parameters:
        attachToFormRecord - Whether files created by this file providing action are attached to the form record.