Class DocumentEvent

java.lang.Object
org.imixs.workflow.engine.DocumentEvent

public class DocumentEvent extends Object
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 Details

  • Constructor Details

    • DocumentEvent

      public DocumentEvent(ItemCollection document, int eventType)
  • Method Details

    • getEventType

      public int getEventType()
    • getDocument

      public ItemCollection getDocument()