Class FileDescriptorRow
java.lang.Object
de.xima.fc.workflow.designer.model.FileDescriptorRow
- All Implemented Interfaces:
Serializable
View model for the workflow designer, used in the info panel of a node or trigger. Models a single row of the table
with the files provided by the node or trigger (if any). See
IFileValueDescriptor.- Since:
- 8.2.0
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionThe description of the files the node or trigger provides for thegetKey().Detail text of the file the node or trigger provides, such as the content types or the min and max number of files.getKey()The key of the file, corresponding to a key in theIFileValueDescriptor.getFiles()map.booleanWhether thegetDescription()is an HTML string (make sure it is valid HTML and properly escaped!).voidsetDescription(String description) The description of the files the node or trigger provides for thegetKey().voidsetDescriptionHtml(boolean descriptionHtml) Whether thegetDescription()is an HTML string (make sure it is valid HTML and properly escaped!).voidsetDetails(String details) Detail text of the file the node or trigger provides, such as the content types or the min and max number of files.voidThe key of the file, corresponding to a key in theIFileValueDescriptor.getFiles()map.
-
Constructor Details
-
FileDescriptorRow
public FileDescriptorRow()
-
-
Method Details
-
getDescription
The description of the files the node or trigger provides for thegetKey(). SeeIFileListDescriptor.getDescription().- Returns:
- Description of the files.
-
setDescription
The description of the files the node or trigger provides for thegetKey(). SeeIFileListDescriptor.getDescription().- Parameters:
description- Description of the files.
-
getDetails
Detail text of the file the node or trigger provides, such as the content types or the min and max number of files. Used as the title when hovering over a row with the mouse.- Returns:
- File details.
-
setDetails
Detail text of the file the node or trigger provides, such as the content types or the min and max number of files. Used as the title when hovering over a row with the mouse.- Parameters:
details- File details.
-
getKey
The key of the file, corresponding to a key in theIFileValueDescriptor.getFiles()map.DEFAULT_FILE_KEYis the default (unscoped) key.- Returns:
- The file key.
-
setKey
The key of the file, corresponding to a key in theIFileValueDescriptor.getFiles()map.DEFAULT_FILE_KEYis the default (unscoped) key.- Parameters:
key- The file key.
-
isDescriptionHtml
public boolean isDescriptionHtml()Whether thegetDescription()is an HTML string (make sure it is valid HTML and properly escaped!). When false, the description is treated as plain text.- Returns:
- Whether the description is an HTML string.
-
setDescriptionHtml
public void setDescriptionHtml(boolean descriptionHtml) Whether thegetDescription()is an HTML string (make sure it is valid HTML and properly escaped!). When false, the description is treated as plain text.- Parameters:
descriptionHtml- Whether the description is an HTML string.
-