Package de.xima.fc.workflow.error
Enum EFcDeleteAttachmentError
- java.lang.Object
-
- java.lang.Enum<EFcDeleteAttachmentError>
-
- de.xima.fc.workflow.error.EFcDeleteAttachmentError
-
- All Implemented Interfaces:
Serializable
,Comparable<EFcDeleteAttachmentError>
public enum EFcDeleteAttachmentError extends Enum<EFcDeleteAttachmentError>
Enumeration of the possible error codes for theEWorkflowNodeType.FC_DELETE_ATTACHMENT
action.- Since:
- 8.1.0
- Author:
- XIMA MEDIA GmbH
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CANNOT_DELETE_ATTACHMENT
When an attachment could not be deleted, which may be caused by a database error, but not necessarily so.DATABASE_ERROR
When an error occurred during the communication with the database.FILE_SYSTEM_ERROR
When a file could not be read from the file system or written to the file system.NO_SOURCE_ATTACHMENT_FOUND
When a referenced attachment does not exist.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static EFcDeleteAttachmentError
valueOf(String name)
Returns the enum constant of this type with the specified name.static EFcDeleteAttachmentError[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CANNOT_DELETE_ATTACHMENT
public static final EFcDeleteAttachmentError CANNOT_DELETE_ATTACHMENT
When an attachment could not be deleted, which may be caused by a database error, but not necessarily so.
-
DATABASE_ERROR
public static final EFcDeleteAttachmentError DATABASE_ERROR
When an error occurred during the communication with the database.
-
FILE_SYSTEM_ERROR
public static final EFcDeleteAttachmentError FILE_SYSTEM_ERROR
When a file could not be read from the file system or written to the file system.
-
NO_SOURCE_ATTACHMENT_FOUND
public static final EFcDeleteAttachmentError NO_SOURCE_ATTACHMENT_FOUND
When a referenced attachment does not exist.
-
-
Method Detail
-
values
public static EFcDeleteAttachmentError[] 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 (EFcDeleteAttachmentError c : EFcDeleteAttachmentError.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static EFcDeleteAttachmentError 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
-
-