Class FlowableIdmEventBuilder

java.lang.Object
com.flowable.idm.engine.delegate.event.impl.FlowableIdmEventBuilder

public class FlowableIdmEventBuilder extends Object
Builder class used to create FlowableEvent implementations.
Author:
Tijs Rademakers
  • Method Details

    • createGlobalEvent

      public static org.flowable.common.engine.api.delegate.event.FlowableEvent createGlobalEvent(org.flowable.idm.api.event.FlowableIdmEventType type)
      Parameters:
      type - type of event
      Returns:
      an FlowableEvent that doesn't have it's execution context-fields filled, as the event is a global event, independent of any running execution.
    • createEntityEvent

      public static org.flowable.common.engine.api.delegate.event.FlowableEntityEvent createEntityEvent(org.flowable.idm.api.event.FlowableIdmEventType type, Object entity)
      Parameters:
      type - type of event
      entity - the entity this event targets
      Returns:
      an FlowableEntityEvent. In case an execution context is active, the execution related event fields will be populated. If not, execution details will be retrieved from the Object if possible.
    • createMembershipEvent

      public static org.flowable.idm.api.event.FlowableIdmMembershipEvent createMembershipEvent(org.flowable.idm.api.event.FlowableIdmEventType type, String groupId, String userId)
    • createPlatformIdentityInfoSetEvent

      public static FlowableIdmIdentityInfoSetEvent createPlatformIdentityInfoSetEvent(PlatformIdentityInfo platformIdentityInfo)
    • createUserPresenceChangeEvent

      public static FlowableUserPresenceChangeEvent createUserPresenceChangeEvent(String userId, String presence)