Package de.xima.fc.mdl.enums
Enum EAttachmentItemResolutionError
- All Implemented Interfaces:
Serializable
,Comparable<EAttachmentItemResolutionError>
Enumeration of the different error types that can occur when resolving the attachments referenced by a
AttachmentItem
.- Since:
- 8.1.0
- Author:
- XIMA MEDIA GmbH
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionFor all attachment item types: When at least one attachment was found, but none of those attachments matches the additionalfilter options
.ForSEARCH
: When not even a single attachment was found that matches the search criteria.Any other unhandled or unexpected errors that may have occurred while processing a specific attachment item.Any other unhandled or unexpected errors that may have occurred while processing the list of referenced attachments, not specific to a particular attachment item.When the database could not be accessed when resolving the attachment item.When a file could not be written to the file system or read from the file system while resolving the attachment item.ForPREVIOUS_NODE
: When the node with the given ID does not exist in the workflow.ForPREVIOUS_NODE
: When the node was executed, but does not provide any attachments.ForPREVIOUS_NODE
: When the node with the given ID exists, but was not executed during the current workflow execution.ForUPLOAD
: When no upload field with the given name exists in the form.ForUPLOAD
: When the upload field exists, but no attachments are available for the upload. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this type with the specified name.static EAttachmentItemResolutionError[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
ATTACHMENT_COUNT_REDUCED_TO_ZERO_BY_FILTER_OPTIONS
public static final EAttachmentItemResolutionError ATTACHMENT_COUNT_REDUCED_TO_ZERO_BY_FILTER_OPTIONSFor all attachment item types: When at least one attachment was found, but none of those attachments matches the additionalfilter options
. -
ATTACHMENT_QUERY_DOES_NOT_MATCH
ForSEARCH
: When not even a single attachment was found that matches the search criteria. -
CANNOT_PROCESS_ATTACHMENT_LIST
Any other unhandled or unexpected errors that may have occurred while processing the list of referenced attachments, not specific to a particular attachment item. -
CANNOT_PROCESS_ATTACHMENT_ITEM
Any other unhandled or unexpected errors that may have occurred while processing a specific attachment item. -
DATABASE_ERROR
When the database could not be accessed when resolving the attachment item. -
FILE_SYSTEM_ERROR
When a file could not be written to the file system or read from the file system while resolving the attachment item. -
NODE_DOES_NOT_EXIST
ForPREVIOUS_NODE
: When the node with the given ID does not exist in the workflow. -
NODE_DOES_NOT_PROVIDE_ATTACHMENTS
ForPREVIOUS_NODE
: When the node was executed, but does not provide any attachments. -
NODE_NOT_EXECUTED
ForPREVIOUS_NODE
: When the node with the given ID exists, but was not executed during the current workflow execution. -
UPLOAD_FIELD_DOES_NOT_EXIST
ForUPLOAD
: When no upload field with the given name exists in the form. -
UPLOAD_FIELD_DOES_NOT_PROVIDE_ATTACHMENTS
ForUPLOAD
: When the upload field exists, but no attachments are available for the upload.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-