Class FcCompressAsZipProps

java.lang.Object
de.xima.fc.workflow.taglib.model.BaseActionProps
de.xima.fc.workflow.model.nodes.FcCompressAsZipProps
All Implemented Interfaces:
IDescriptionProviding, INameProviding, IAttachToFormRecordProviding, Serializable

public final class FcCompressAsZipProps extends BaseActionProps implements Serializable, IAttachToFormRecordProviding
Model class for the compress as ZIP workflow action (EWorkflowNodeType.FC_COMPRESS_AS_ZIP).
Since:
7.0.0
Author:
XIMA MEDIA GmbH
See Also:
  • Field Details

  • Constructor Details

    • FcCompressAsZipProps

      public FcCompressAsZipProps()
  • Method Details

    • 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).
    • getMultiFile

      public MultiFile getMultiFile()
      Returns:
      a resource of type MultiFile
    • 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 IAttachToFormRecordProviding
      Returns:
      Whether files created by the workflow node are attached to the form record.
    • setAttachToFormRecord

      public void setAttachToFormRecord(boolean attachToFormRecord)
      Parameters:
      attachToFormRecord - Whether files created by the workflow node are attached to the form record.