Class FlowableUserPresenceChangeEventImpl
java.lang.Object
com.flowable.idm.engine.delegate.event.impl.FlowablePlatformIdmEventImpl
com.flowable.idm.engine.delegate.event.impl.FlowableUserPresenceChangeEventImpl
- All Implemented Interfaces:
FlowableUserPresenceChangeEvent
,org.flowable.common.engine.api.delegate.event.FlowableEvent
public class FlowableUserPresenceChangeEventImpl extends FlowablePlatformIdmEventImpl implements FlowableUserPresenceChangeEvent
- Author:
- Filip Hrisafov
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.String
presence
protected java.lang.String
userId
Fields inherited from class com.flowable.idm.engine.delegate.event.impl.FlowablePlatformIdmEventImpl
type
-
Constructor Summary
Constructors Constructor Description FlowableUserPresenceChangeEventImpl(java.lang.String userId, java.lang.String presence)
-
Method Summary
Modifier and Type Method Description java.lang.String
getPresence()
The newly changed presence state of the user.java.lang.String
getUserId()
The id of the user whose presence has been changed.Methods inherited from class com.flowable.idm.engine.delegate.event.impl.FlowablePlatformIdmEventImpl
getType, toString
-
Field Details
-
Constructor Details
-
FlowableUserPresenceChangeEventImpl
public FlowableUserPresenceChangeEventImpl(java.lang.String userId, java.lang.String presence)
-
-
Method Details
-
getUserId
public java.lang.String getUserId()Description copied from interface:FlowableUserPresenceChangeEvent
The id of the user whose presence has been changed.- Specified by:
getUserId
in interfaceFlowableUserPresenceChangeEvent
- Returns:
- the id of the user whose presence has been changed
-
getPresence
public java.lang.String getPresence()Description copied from interface:FlowableUserPresenceChangeEvent
The newly changed presence state of the user.- Specified by:
getPresence
in interfaceFlowableUserPresenceChangeEvent
- Returns:
- the new presence of the user
-