Package de.xima.fc.workflow.model.nodes
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 Summary
FieldsModifier and TypeFieldDescriptionstatic final StringName of the JSON property forisAttachToFormRecord().static final StringName of the JSON property forgetCompressedFileName().static final StringName of the JSON property forgetMultiFile().static final StringName of the JSON property forgetNamingScheme().Fields inherited from interface de.xima.fc.entities.interfaces.IDescriptionProviding
ATTR_BESCHREIBUNG, ATTR_DESCRIPTION, COL_DESCRIPTIONFields inherited from interface de.xima.fc.entities.interfaces.INameProviding
ATTR_NAME, COL_NAME -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanvoidsetAttachToFormRecord(boolean attachToFormRecord) voidsetCompressedFileName(String compressedFileName) voidsetMultiFile(MultiFile multiFile) voidsetNamingScheme(ECompressAsZipNamingScheme namingScheme) Methods inherited from class de.xima.fc.workflow.taglib.model.BaseActionProps
getBeschreibung, getColor, getDescription, getIcon, getName, setColor, setDescription, setIcon, setName
-
Field Details
-
ATTR_ATTACH_TO_FORM_RECORD
Name of the JSON property forisAttachToFormRecord().- See Also:
-
ATTR_COMPRESSED_FILE_NAME
Name of the JSON property forgetCompressedFileName().- See Also:
-
ATTR_MULTI_FILE
Name of the JSON property forgetMultiFile().- See Also:
-
ATTR_NAMING_SCHEME
Name of the JSON property forgetNamingScheme().- See Also:
-
-
Constructor Details
-
FcCompressAsZipProps
public FcCompressAsZipProps()
-
-
Method Details
-
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) orcompressed.zipis used (when multiple files are selected).
-
setCompressedFileName
- 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) orcompressed.zipis used (when multiple files are selected).
-
getMultiFile
- Returns:
- a resource of type
MultiFile
-
setMultiFile
- Parameters:
multiFile- resource of typeMultiFile
-
getNamingScheme
- Returns:
- How the files that are put into the ZIP archive should be named and whether sub directories should be created.
-
setNamingScheme
- 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:
isAttachToFormRecordin interfaceIAttachToFormRecordProviding- 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.
-