Class EventSubscriptionEntityImpl
java.lang.Object
org.flowable.common.engine.impl.persistence.entity.AbstractEntity
org.flowable.eventsubscription.service.impl.persistence.entity.AbstractEventSubscriptionEntity
org.flowable.eventsubscription.service.impl.persistence.entity.EventSubscriptionEntityImpl
- All Implemented Interfaces:
Serializable
,HasRevision
,Entity
,EventSubscription
,EventSubscriptionEntity
- Direct Known Subclasses:
CompensateEventSubscriptionEntityImpl
,GenericEventSubscriptionEntityImpl
,MessageEventSubscriptionEntityImpl
,SignalEventSubscriptionEntityImpl
public abstract class EventSubscriptionEntityImpl
extends AbstractEventSubscriptionEntity
implements EventSubscriptionEntity, Serializable
- Author:
- Joram Barrez, Tijs Rademakers
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected String
protected String
protected Date
protected String
protected String
protected String
protected String
protected Date
protected String
protected String
protected String
protected String
protected String
protected String
protected String
protected String
Fields inherited from class org.flowable.common.engine.impl.persistence.entity.AbstractEntity
id, isDeleted, isInserted, isUpdated, originalPersistentState, revision
-
Constructor Summary
ConstructorsConstructorDescriptionEventSubscriptionEntityImpl
(EventSubscriptionServiceConfiguration eventSubscriptionServiceConfiguration) -
Method Summary
Modifier and TypeMethodDescriptionboolean
Gets the activity id of the BPMN definition where this event subscription is defined.Returns the configuration with additional info about this event subscription.Gets the date/time when this event subscription was created.The event name for the signal or message event.Returns the type of subscription, for example signal or message.Gets the id of the execution for this event subscription.Gets the owner of this event subscription, if it was locked.Gets the date/time when this event subscription was locked.Returns a representation of the object, as would be stored in the database.Id of the process definition for this event subscription.Id of the process instance for this event subscription.Id of the scope definition for this event subscription.Key of the scope definition for this event subscription.Id of the scope for this event subscription.Scope type for this event subscription.Id of the sub scope for this event subscription.The tenant identifier of this process instanceint
hashCode()
void
setActivityId
(String activityId) void
setConfiguration
(String configuration) void
setCreated
(Date created) void
setEventName
(String eventName) void
setEventType
(String eventType) void
setExecutionId
(String executionId) void
setLockOwner
(String lockOwner) void
setLockTime
(Date lockTime) void
setProcessDefinitionId
(String processDefinitionId) void
setProcessInstanceId
(String processInstanceId) void
setScopeDefinitionId
(String scopeDefinitionId) void
setScopeDefinitionKey
(String scopeDefinitionKey) void
setScopeId
(String scopeId) void
setScopeType
(String scopeType) void
setSubScopeId
(String subScopeId) void
setTenantId
(String tenantId) toString()
Methods inherited from class org.flowable.eventsubscription.service.impl.persistence.entity.AbstractEventSubscriptionEntity
getIdPrefix
Methods inherited from class org.flowable.common.engine.impl.persistence.entity.AbstractEntity
getId, getOriginalPersistentState, getRevision, getRevisionNext, isDeleted, isInserted, isUpdated, setDeleted, setId, setInserted, setOriginalPersistentState, setRevision, setUpdated
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.flowable.common.engine.impl.persistence.entity.Entity
getId, getIdPrefix, getOriginalPersistentState, isDeleted, isInserted, isUpdated, setDeleted, setId, setInserted, setOriginalPersistentState, setUpdated
Methods inherited from interface org.flowable.eventsubscription.api.EventSubscription
getId
Methods inherited from interface org.flowable.common.engine.impl.db.HasRevision
getRevision, getRevisionNext, setRevision
-
Field Details
-
eventType
-
eventName
-
executionId
-
processInstanceId
-
activityId
-
configuration
-
created
-
processDefinitionId
-
subScopeId
-
scopeId
-
scopeDefinitionId
-
scopeDefinitionKey
-
scopeType
-
lockTime
-
lockOwner
-
tenantId
-
-
Constructor Details
-
EventSubscriptionEntityImpl
public EventSubscriptionEntityImpl() -
EventSubscriptionEntityImpl
public EventSubscriptionEntityImpl(EventSubscriptionServiceConfiguration eventSubscriptionServiceConfiguration)
-
-
Method Details
-
getPersistentState
Description copied from interface:Entity
Returns a representation of the object, as would be stored in the database. Used when deciding if updates have occurred to the object or not since it was last loaded.- Specified by:
getPersistentState
in interfaceEntity
-
getEventType
Description copied from interface:EventSubscription
Returns the type of subscription, for example signal or message.- Specified by:
getEventType
in interfaceEventSubscription
-
setEventType
- Specified by:
setEventType
in interfaceEventSubscriptionEntity
-
getEventName
Description copied from interface:EventSubscription
The event name for the signal or message event.- Specified by:
getEventName
in interfaceEventSubscription
-
setEventName
- Specified by:
setEventName
in interfaceEventSubscriptionEntity
-
getExecutionId
Description copied from interface:EventSubscription
Gets the id of the execution for this event subscription.- Specified by:
getExecutionId
in interfaceEventSubscription
-
setExecutionId
- Specified by:
setExecutionId
in interfaceEventSubscriptionEntity
-
getProcessInstanceId
Description copied from interface:EventSubscription
Id of the process instance for this event subscription.- Specified by:
getProcessInstanceId
in interfaceEventSubscription
-
setProcessInstanceId
- Specified by:
setProcessInstanceId
in interfaceEventSubscriptionEntity
-
getConfiguration
Description copied from interface:EventSubscription
Returns the configuration with additional info about this event subscription.- Specified by:
getConfiguration
in interfaceEventSubscription
-
setConfiguration
- Specified by:
setConfiguration
in interfaceEventSubscriptionEntity
-
getActivityId
Description copied from interface:EventSubscription
Gets the activity id of the BPMN definition where this event subscription is defined.- Specified by:
getActivityId
in interfaceEventSubscription
-
setActivityId
- Specified by:
setActivityId
in interfaceEventSubscriptionEntity
-
getCreated
Description copied from interface:EventSubscription
Gets the date/time when this event subscription was created.- Specified by:
getCreated
in interfaceEventSubscription
-
setCreated
- Specified by:
setCreated
in interfaceEventSubscriptionEntity
-
getProcessDefinitionId
Description copied from interface:EventSubscription
Id of the process definition for this event subscription.- Specified by:
getProcessDefinitionId
in interfaceEventSubscription
-
setProcessDefinitionId
- Specified by:
setProcessDefinitionId
in interfaceEventSubscriptionEntity
-
getSubScopeId
Description copied from interface:EventSubscription
Id of the sub scope for this event subscription.- Specified by:
getSubScopeId
in interfaceEventSubscription
-
setSubScopeId
- Specified by:
setSubScopeId
in interfaceEventSubscriptionEntity
-
getScopeId
Description copied from interface:EventSubscription
Id of the scope for this event subscription.- Specified by:
getScopeId
in interfaceEventSubscription
-
setScopeId
- Specified by:
setScopeId
in interfaceEventSubscriptionEntity
-
getScopeDefinitionId
Description copied from interface:EventSubscription
Id of the scope definition for this event subscription.- Specified by:
getScopeDefinitionId
in interfaceEventSubscription
-
setScopeDefinitionId
- Specified by:
setScopeDefinitionId
in interfaceEventSubscriptionEntity
-
getScopeDefinitionKey
Description copied from interface:EventSubscription
Key of the scope definition for this event subscription.- Specified by:
getScopeDefinitionKey
in interfaceEventSubscription
-
setScopeDefinitionKey
- Specified by:
setScopeDefinitionKey
in interfaceEventSubscriptionEntity
-
getScopeType
Description copied from interface:EventSubscription
Scope type for this event subscription.- Specified by:
getScopeType
in interfaceEventSubscription
-
setScopeType
- Specified by:
setScopeType
in interfaceEventSubscriptionEntity
-
getLockTime
Description copied from interface:EventSubscription
Gets the date/time when this event subscription was locked.- Specified by:
getLockTime
in interfaceEventSubscription
-
setLockTime
- Specified by:
setLockTime
in interfaceEventSubscriptionEntity
-
getLockOwner
Description copied from interface:EventSubscription
Gets the owner of this event subscription, if it was locked.- Specified by:
getLockOwner
in interfaceEventSubscription
-
setLockOwner
- Specified by:
setLockOwner
in interfaceEventSubscriptionEntity
-
getTenantId
Description copied from interface:EventSubscription
The tenant identifier of this process instance- Specified by:
getTenantId
in interfaceEventSubscription
-
setTenantId
- Specified by:
setTenantId
in interfaceEventSubscriptionEntity
-
hashCode
public int hashCode() -
equals
-
toString
-