Package org.imixs.workflow.engine
Class DocumentEvent
java.lang.Object
org.imixs.workflow.engine.DocumentEvent
The DocumentEvent provides a CDI observer pattern. The DocumentEvent is fired
by the DocumentService EJB. An event Observer can react on a save or load
event.
The DocumentEvent defines the following event types:
- ON_DOCUMENT_SAVE - send immediately before a document will be saved
- ON_DOCUMENT_LOAD - send immediately after a document was loaded
- ON_DOCUMENT_DELETE - send immediately before a document will be deleted
- Version:
- 1.0
- Author:
- Ralph Soika
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
static final int
static final int
-
Constructor Summary
-
Method Summary
-
Field Details
-
ON_DOCUMENT_SAVE
public static final int ON_DOCUMENT_SAVE- See Also:
-
ON_DOCUMENT_LOAD
public static final int ON_DOCUMENT_LOAD- See Also:
-
ON_DOCUMENT_DELETE
public static final int ON_DOCUMENT_DELETE- See Also:
-
-
Constructor Details
-
DocumentEvent
-
-
Method Details
-
getEventType
public int getEventType() -
getDocument
-