Package com.logicaldoc.core.document
Enum DocumentEvent
- java.lang.Object
-
- java.lang.Enum<DocumentEvent>
-
- com.logicaldoc.core.document.DocumentEvent
-
- All Implemented Interfaces:
Serializable
,Comparable<DocumentEvent>
public enum DocumentEvent extends Enum<DocumentEvent>
Possible events in the document's history- Since:
- 6.6
- Author:
- Marco Meschieri - LogicalDOC
-
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DocumentEvent
fromString(String event)
String
toString()
static DocumentEvent
valueOf(String name)
Returns the enum constant of this type with the specified name.static DocumentEvent[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.static String[]
valuesAsString()
-
-
-
Enum Constant Detail
-
STORED
public static final DocumentEvent STORED
-
CHANGED
public static final DocumentEvent CHANGED
-
CHECKEDIN
public static final DocumentEvent CHECKEDIN
-
CHECKEDOUT
public static final DocumentEvent CHECKEDOUT
-
IMMUTABLE
public static final DocumentEvent IMMUTABLE
-
RENAMED
public static final DocumentEvent RENAMED
-
DOWNLOADED
public static final DocumentEvent DOWNLOADED
-
INDEXED
public static final DocumentEvent INDEXED
-
MOVED
public static final DocumentEvent MOVED
-
LOCKED
public static final DocumentEvent LOCKED
-
UNLOCKED
public static final DocumentEvent UNLOCKED
-
ARCHIVED
public static final DocumentEvent ARCHIVED
-
DELETED
public static final DocumentEvent DELETED
-
SENT
public static final DocumentEvent SENT
-
BARCODED
public static final DocumentEvent BARCODED
-
ZONALOCRD
public static final DocumentEvent ZONALOCRD
-
WORKFLOWSTATUS
public static final DocumentEvent WORKFLOWSTATUS
-
WORKFLOWAPPENDED
public static final DocumentEvent WORKFLOWAPPENDED
-
SHORTCUT_STORED
public static final DocumentEvent SHORTCUT_STORED
-
SHORTCUT_MOVED
public static final DocumentEvent SHORTCUT_MOVED
-
SHORTCUT_DELETED
public static final DocumentEvent SHORTCUT_DELETED
-
VIEWED
public static final DocumentEvent VIEWED
-
RESTORED
public static final DocumentEvent RESTORED
-
NEW_NOTE
public static final DocumentEvent NEW_NOTE
-
SIGNED
public static final DocumentEvent SIGNED
-
EXPORTPDF
public static final DocumentEvent EXPORTPDF
-
EXPORTED
public static final DocumentEvent EXPORTED
-
ADDED_TO_CALEVENT
public static final DocumentEvent ADDED_TO_CALEVENT
-
REMOVED_FROM_CALEVENT
public static final DocumentEvent REMOVED_FROM_CALEVENT
-
SUBSCRIBED
public static final DocumentEvent SUBSCRIBED
-
STAMPED
public static final DocumentEvent STAMPED
-
DTICKET_CREATED
public static final DocumentEvent DTICKET_CREATED
-
PASSWORD_PROTECTED
public static final DocumentEvent PASSWORD_PROTECTED
-
PASSWORD_UNPROTECTED
public static final DocumentEvent PASSWORD_UNPROTECTED
-
RATING_NEW
public static final DocumentEvent RATING_NEW
-
CONVERTED
public static final DocumentEvent CONVERTED
-
VERSION_DELETED
public static final DocumentEvent VERSION_DELETED
-
VERSION_REPLACED
public static final DocumentEvent VERSION_REPLACED
-
COMPARED
public static final DocumentEvent COMPARED
-
COPYED
public static final DocumentEvent COPYED
-
ESIGNED
public static final DocumentEvent ESIGNED
-
FORM_SUBMITTED
public static final DocumentEvent FORM_SUBMITTED
-
FORM_EDITED
public static final DocumentEvent FORM_EDITED
-
-
Method Detail
-
values
public static DocumentEvent[] 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 (DocumentEvent c : DocumentEvent.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DocumentEvent 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
-
toString
public String toString()
- Overrides:
toString
in classEnum<DocumentEvent>
-
fromString
public static DocumentEvent fromString(String event)
-
valuesAsString
public static String[] valuesAsString()
-
-