Package org.imixs.workflow.faces.data
Class WorkflowEvent
java.lang.Object
org.imixs.workflow.faces.data.WorkflowEvent
The WorkflowEvent provides a CDI event fired by the DocumentController and
WorkflowController. This event can be used in a observer pattern of a CDI
bean to react on UI events in a jsf page.
The WorkflowEvent defines the following event types fired by the WorkflowController:
- WORKITEM_BEFORE_PROCESS - is send immediately before a workitem will be processed
- WORKITEM_AFTER_PROCESS - is send immediately after a workitem was processed
- WORKITEM_CHANGED - is send immediately after a workitem was loaded
The following event types are fired by the DocumentController:
- DOCUMENT_BEFORE_SAVE - is send immediately before the document will be saved
- DOCUMENT_AFTER_SAVE - is send immediately after the document was saved
- DOCUMENT_CHANGED - is send immediately after the document was loaded
- DOCUMENT_BEFORE_DELETE - is send immediately before the document will be deleted
- DOCUMENT_AFTER_DELETE - is send immediately after the document was deleted
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
-
Constructor Summary
-
Method Summary
-
Field Details
-
DOCUMENT_CREATED
public static final int DOCUMENT_CREATED- See Also:
-
DOCUMENT_INITIALIZED
public static final int DOCUMENT_INITIALIZED- See Also:
-
DOCUMENT_CHANGED
public static final int DOCUMENT_CHANGED- See Also:
-
DOCUMENT_BEFORE_SAVE
public static final int DOCUMENT_BEFORE_SAVE- See Also:
-
DOCUMENT_AFTER_SAVE
public static final int DOCUMENT_AFTER_SAVE- See Also:
-
DOCUMENT_BEFORE_DELETE
public static final int DOCUMENT_BEFORE_DELETE- See Also:
-
DOCUMENT_AFTER_DELETE
public static final int DOCUMENT_AFTER_DELETE- See Also:
-
WORKITEM_CREATED
public static final int WORKITEM_CREATED- See Also:
-
WORKITEM_CHANGED
public static final int WORKITEM_CHANGED- See Also:
-
WORKITEM_BEFORE_PROCESS
public static final int WORKITEM_BEFORE_PROCESS- See Also:
-
WORKITEM_AFTER_PROCESS
public static final int WORKITEM_AFTER_PROCESS- See Also:
-
-
Constructor Details
-
WorkflowEvent
-
-
Method Details
-
getEventType
public int getEventType() -
getWorkitem
-