Package de.xima.fc.mdl.enums
Enum EAttachmentItemResolutionError
- java.lang.Object
-
- java.lang.Enum<EAttachmentItemResolutionError>
-
- de.xima.fc.mdl.enums.EAttachmentItemResolutionError
-
- All Implemented Interfaces:
Serializable
,Comparable<EAttachmentItemResolutionError>
public enum EAttachmentItemResolutionError extends Enum<EAttachmentItemResolutionError>
Enumeration of the different error types that can occur when resolving the attachments referenced by aAttachmentItem
.- Since:
- 8.1.0
- Author:
- XIMA MEDIA GmbH
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ATTACHMENT_COUNT_REDUCED_TO_ZERO_BY_FILTER_OPTIONS
For 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_ITEM
Any other unhandled or unexpected errors that may have occurred while processing a specific attachment item.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.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 Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static EAttachmentItemResolutionError
valueOf(String name)
Returns 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 Detail
-
ATTACHMENT_COUNT_REDUCED_TO_ZERO_BY_FILTER_OPTIONS
public static final EAttachmentItemResolutionError ATTACHMENT_COUNT_REDUCED_TO_ZERO_BY_FILTER_OPTIONS
For 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
public static final EAttachmentItemResolutionError ATTACHMENT_QUERY_DOES_NOT_MATCH
ForSEARCH
: When not even a single attachment was found that matches the search criteria.
-
CANNOT_PROCESS_ATTACHMENT_LIST
public static final EAttachmentItemResolutionError 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
public static final EAttachmentItemResolutionError CANNOT_PROCESS_ATTACHMENT_ITEM
Any other unhandled or unexpected errors that may have occurred while processing a specific attachment item.
-
DATABASE_ERROR
public static final EAttachmentItemResolutionError DATABASE_ERROR
When the database could not be accessed when resolving the attachment item.
-
FILE_SYSTEM_ERROR
public static final EAttachmentItemResolutionError 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
public static final EAttachmentItemResolutionError NODE_DOES_NOT_EXIST
ForPREVIOUS_NODE
: When the node with the given ID does not exist in the workflow.
-
NODE_DOES_NOT_PROVIDE_ATTACHMENTS
public static final EAttachmentItemResolutionError NODE_DOES_NOT_PROVIDE_ATTACHMENTS
ForPREVIOUS_NODE
: When the node was executed, but does not provide any attachments.
-
NODE_NOT_EXECUTED
public static final EAttachmentItemResolutionError 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
public static final EAttachmentItemResolutionError UPLOAD_FIELD_DOES_NOT_EXIST
ForUPLOAD
: When no upload field with the given name exists in the form.
-
UPLOAD_FIELD_DOES_NOT_PROVIDE_ATTACHMENTS
public static final EAttachmentItemResolutionError UPLOAD_FIELD_DOES_NOT_PROVIDE_ATTACHMENTS
ForUPLOAD
: When the upload field exists, but no attachments are available for the upload.
-
-
Method Detail
-
values
public static EAttachmentItemResolutionError[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (EAttachmentItemResolutionError c : EAttachmentItemResolutionError.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static EAttachmentItemResolutionError valueOf(String name)
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
-
-