Interface DocumentEventConstants


public interface DocumentEventConstants
  • Field Details

    • EVENT_KEY_CREATED

      static final String EVENT_KEY_CREATED
      Synthetic event-registry event keys broadcast by DocumentEventContentItemListener.
      See Also:
    • EVENT_KEY_RENAMED

      static final String EVENT_KEY_RENAMED
      See Also:
    • EVENT_KEY_MOVED

      static final String EVENT_KEY_MOVED
      See Also:
    • EVENT_KEY_COPIED

      static final String EVENT_KEY_COPIED
      See Also:
    • EVENT_KEY_CONTENT_UPDATED

      static final String EVENT_KEY_CONTENT_UPDATED
      See Also:
    • EVENT_KEY_NEW_VERSION_CREATED

      static final String EVENT_KEY_NEW_VERSION_CREATED
      See Also:
    • EVENT_KEY_REVERTED_TO_VERSION

      static final String EVENT_KEY_REVERTED_TO_VERSION
      See Also:
    • EVENT_KEY_METADATA_UPDATED

      static final String EVENT_KEY_METADATA_UPDATED
      See Also:
    • EVENT_KEY_DEFINITION_SET

      static final String EVENT_KEY_DEFINITION_SET
      See Also:
    • EVENT_KEY_DELETED

      static final String EVENT_KEY_DELETED
      See Also:
    • EVENT_KEYS

      static final Set<String> EVENT_KEYS
      All synthetic event-registry keys managed by the document-event family.
    • LIFECYCLE_TO_EVENT_KEY

      static final Map<String,String> LIFECYCLE_TO_EVENT_KEY
      Maps the modeler-facing lifecycle value to the synthetic event-registry key broadcast for it. The key is what's stored in ACT_RU_EVENT_SUBSCR.EVENT_TYPE_ and matched at dispatch time.
    • CONTENT_EVENT_TO_EVENT_KEY

      static final Map<org.flowable.common.engine.api.delegate.event.FlowableEventType, String> CONTENT_EVENT_TO_EVENT_KEY
      Maps the DOCUMENT_* event the content engine dispatches to the synthetic event-registry key the platform broadcasts. Drives both DocumentEventContentItemListener's dispatch and DocumentEventListenerLifecycleListener's event-type registration.
    • PAYLOAD_CONTENT_ITEM

      static final String PAYLOAD_CONTENT_ITEM
      EventInstance payload field names. folderId, scopeFolderId and definitionKey are correlation parameters used by the standard event-registry consumer to dispatch a save to the matching subscription. contentItem carries the matched CoreContentItem as a regular (non-correlation) payload field — downstream activity behaviours read it off the EventInstance.
      • folderId — the parent folder id on the saved content item, matched against any folder filter the subscription configured;
      • scopeFolderId — the id of the process / case scope folder that owns the content item (resolved by walking the parent-folder chain until a folder tagged with scope info is found);
      • definitionKey — the key of the document definition assigned to the content item, only emitted when the content item has a definition set.
      See Also:
    • PAYLOAD_FOLDER_ID

      static final String PAYLOAD_FOLDER_ID
      See Also:
    • PAYLOAD_SCOPE_FOLDER_ID

      static final String PAYLOAD_SCOPE_FOLDER_ID
      See Also:
    • PAYLOAD_DEFINITION_KEY

      static final String PAYLOAD_DEFINITION_KEY
      See Also: