public class FlowableIdmEventBuilder extends Object
FlowableEvent implementations.| Modifier and Type | Method and Description |
|---|---|
static org.flowable.common.engine.api.delegate.event.FlowableEntityEvent |
createEntityEvent(org.flowable.idm.api.event.FlowableIdmEventType type,
Object entity) |
static org.flowable.common.engine.api.delegate.event.FlowableEvent |
createGlobalEvent(org.flowable.idm.api.event.FlowableIdmEventType type) |
static org.flowable.idm.api.event.FlowableIdmMembershipEvent |
createMembershipEvent(org.flowable.idm.api.event.FlowableIdmEventType type,
String groupId,
String userId) |
static FlowableIdmIdentityInfoSetEvent |
createPlatformIdentityInfoSetEvent(PlatformIdentityInfo platformIdentityInfo) |
static FlowableUserPresenceChangeEvent |
createUserPresenceChangeEvent(String userId,
String presence) |
public static org.flowable.common.engine.api.delegate.event.FlowableEvent createGlobalEvent(org.flowable.idm.api.event.FlowableIdmEventType type)
type - type of eventFlowableEvent that doesn't have it's execution context-fields filled, as the event is a global event, independent of any running execution.public static org.flowable.common.engine.api.delegate.event.FlowableEntityEvent createEntityEvent(org.flowable.idm.api.event.FlowableIdmEventType type,
Object entity)
type - type of evententity - the entity this event targetsFlowableEntityEvent. 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.public static org.flowable.idm.api.event.FlowableIdmMembershipEvent createMembershipEvent(org.flowable.idm.api.event.FlowableIdmEventType type,
String groupId,
String userId)
public static FlowableIdmIdentityInfoSetEvent createPlatformIdentityInfoSetEvent(PlatformIdentityInfo platformIdentityInfo)
public static FlowableUserPresenceChangeEvent createUserPresenceChangeEvent(String userId, String presence)
Copyright © 2019. All rights reserved.