Package de.xima.fc.workflow.model.nodes
Class FcCreateTextFileProps
java.lang.Object
de.xima.fc.workflow.taglib.model.BaseActionProps
de.xima.fc.workflow.model.nodes.FcCreateTextFileProps
- All Implemented Interfaces:
IDescriptionProviding
,INameProviding
,IAttachToFormRecordProviding
,Serializable
@NotNullIf(field="byteOrderMarkMode",
dependants="charset",
target=FcCreateTextFileProps.class)
public final class FcCreateTextFileProps
extends BaseActionProps
implements Serializable, IAttachToFormRecordProviding
The properties model for workflow nodes of type
EWorkflowNodeType.FC_CREATE_TEXT_FILE
.- Since:
- 7.0.0
- Author:
- XIMA MEDIA GmbH
- See Also:
-
Field Summary
Fields inherited from interface de.xima.fc.entities.interfaces.IDescriptionProviding
ATTR_BESCHREIBUNG, ATTR_DESCRIPTION, COL_DESCRIPTION
Fields inherited from interface de.xima.fc.entities.interfaces.INameProviding
ATTR_NAME, COL_NAME
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
void
setAttachToFormRecord
(boolean attachToFormRecord) void
setByteOrderMarkMode
(EByteOrderMarkMode byteOrderMarkMode) void
setCharset
(Charset charset) void
setContentType
(ETextFileContentType contentType) void
setFileContent
(String fileContent) void
setFileName
(String fileName) Methods inherited from class de.xima.fc.workflow.taglib.model.BaseActionProps
getBeschreibung, getColor, getDescription, getIcon, getName, setColor, setDescription, setIcon, setName
-
Constructor Details
-
FcCreateTextFileProps
public FcCreateTextFileProps()
-
-
Method Details
-
getByteOrderMarkMode
- Returns:
- Whether to add a byte order mark at the beginning of the file.
-
getCharset
- Returns:
- Charset used when creating the text file.
-
getContentType
- Returns:
- The type of the file's content, used to escape placeholders properly.
-
getFileContent
- Returns:
- The plain text content of the file to be created, which may contain placeholders.
-
getFileName
- Returns:
- The name of the file to be created (without directories, but with the file extension). May contain placeholders. When empty, a file name is generated automatically.
-
isAttachToFormRecord
public boolean isAttachToFormRecord()- Specified by:
isAttachToFormRecord
in interfaceIAttachToFormRecordProviding
- Returns:
- Whether files created by the workflow node are attached to the form record.
-
setByteOrderMarkMode
- Parameters:
byteOrderMarkMode
- Whether to add a byte order mark at the beginning of the file.
-
setAttachToFormRecord
public void setAttachToFormRecord(boolean attachToFormRecord) - Parameters:
attachToFormRecord
- Whether files created by the workflow node are attached to the form record.
-
setCharset
- Parameters:
charset
- Charset used when creating the text file.
-
setContentType
- Parameters:
contentType
- The type of the file's content, used to escape placeholders properly.
-
setFileContent
- Parameters:
fileContent
- The plain text content of the file to be created, which may contain placeholders.
-
setFileName
- Parameters:
fileName
- The name of the file to be created (without directories, but with the file extension). May contain placeholders. When empty, a file name is generated automatically.
-