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 Stringprotected Stringprotected Dateprotected Stringprotected Stringprotected Stringprotected Stringprotected Dateprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected StringFields 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 TypeMethodDescriptionbooleanGets 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 instanceinthashCode()voidsetActivityId(String activityId) voidsetConfiguration(String configuration) voidsetCreated(Date created) voidsetEventName(String eventName) voidsetEventType(String eventType) voidsetExecutionId(String executionId) voidsetLockOwner(String lockOwner) voidsetLockTime(Date lockTime) voidsetProcessDefinitionId(String processDefinitionId) voidsetProcessInstanceId(String processInstanceId) voidsetScopeDefinitionId(String scopeDefinitionId) voidsetScopeDefinitionKey(String scopeDefinitionKey) voidsetScopeId(String scopeId) voidsetScopeType(String scopeType) voidsetSubScopeId(String subScopeId) voidsetTenantId(String tenantId) toString()Methods inherited from class org.flowable.eventsubscription.service.impl.persistence.entity.AbstractEventSubscriptionEntity
getIdPrefixMethods inherited from class org.flowable.common.engine.impl.persistence.entity.AbstractEntity
getId, getOriginalPersistentState, getRevision, getRevisionNext, isDeleted, isInserted, isUpdated, setDeleted, setId, setInserted, setOriginalPersistentState, setRevision, setUpdatedMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.flowable.common.engine.impl.persistence.entity.Entity
getId, getIdPrefix, getOriginalPersistentState, isDeleted, isInserted, isUpdated, setDeleted, setId, setInserted, setOriginalPersistentState, setUpdatedMethods inherited from interface org.flowable.eventsubscription.api.EventSubscription
getIdMethods 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:EntityReturns 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:
getPersistentStatein interfaceEntity
-
getEventType
Description copied from interface:EventSubscriptionReturns the type of subscription, for example signal or message.- Specified by:
getEventTypein interfaceEventSubscription
-
setEventType
- Specified by:
setEventTypein interfaceEventSubscriptionEntity
-
getEventName
Description copied from interface:EventSubscriptionThe event name for the signal or message event.- Specified by:
getEventNamein interfaceEventSubscription
-
setEventName
- Specified by:
setEventNamein interfaceEventSubscriptionEntity
-
getExecutionId
Description copied from interface:EventSubscriptionGets the id of the execution for this event subscription.- Specified by:
getExecutionIdin interfaceEventSubscription
-
setExecutionId
- Specified by:
setExecutionIdin interfaceEventSubscriptionEntity
-
getProcessInstanceId
Description copied from interface:EventSubscriptionId of the process instance for this event subscription.- Specified by:
getProcessInstanceIdin interfaceEventSubscription
-
setProcessInstanceId
- Specified by:
setProcessInstanceIdin interfaceEventSubscriptionEntity
-
getConfiguration
Description copied from interface:EventSubscriptionReturns the configuration with additional info about this event subscription.- Specified by:
getConfigurationin interfaceEventSubscription
-
setConfiguration
- Specified by:
setConfigurationin interfaceEventSubscriptionEntity
-
getActivityId
Description copied from interface:EventSubscriptionGets the activity id of the BPMN definition where this event subscription is defined.- Specified by:
getActivityIdin interfaceEventSubscription
-
setActivityId
- Specified by:
setActivityIdin interfaceEventSubscriptionEntity
-
getCreated
Description copied from interface:EventSubscriptionGets the date/time when this event subscription was created.- Specified by:
getCreatedin interfaceEventSubscription
-
setCreated
- Specified by:
setCreatedin interfaceEventSubscriptionEntity
-
getProcessDefinitionId
Description copied from interface:EventSubscriptionId of the process definition for this event subscription.- Specified by:
getProcessDefinitionIdin interfaceEventSubscription
-
setProcessDefinitionId
- Specified by:
setProcessDefinitionIdin interfaceEventSubscriptionEntity
-
getSubScopeId
Description copied from interface:EventSubscriptionId of the sub scope for this event subscription.- Specified by:
getSubScopeIdin interfaceEventSubscription
-
setSubScopeId
- Specified by:
setSubScopeIdin interfaceEventSubscriptionEntity
-
getScopeId
Description copied from interface:EventSubscriptionId of the scope for this event subscription.- Specified by:
getScopeIdin interfaceEventSubscription
-
setScopeId
- Specified by:
setScopeIdin interfaceEventSubscriptionEntity
-
getScopeDefinitionId
Description copied from interface:EventSubscriptionId of the scope definition for this event subscription.- Specified by:
getScopeDefinitionIdin interfaceEventSubscription
-
setScopeDefinitionId
- Specified by:
setScopeDefinitionIdin interfaceEventSubscriptionEntity
-
getScopeDefinitionKey
Description copied from interface:EventSubscriptionKey of the scope definition for this event subscription.- Specified by:
getScopeDefinitionKeyin interfaceEventSubscription
-
setScopeDefinitionKey
- Specified by:
setScopeDefinitionKeyin interfaceEventSubscriptionEntity
-
getScopeType
Description copied from interface:EventSubscriptionScope type for this event subscription.- Specified by:
getScopeTypein interfaceEventSubscription
-
setScopeType
- Specified by:
setScopeTypein interfaceEventSubscriptionEntity
-
getLockTime
Description copied from interface:EventSubscriptionGets the date/time when this event subscription was locked.- Specified by:
getLockTimein interfaceEventSubscription
-
setLockTime
- Specified by:
setLockTimein interfaceEventSubscriptionEntity
-
getLockOwner
Description copied from interface:EventSubscriptionGets the owner of this event subscription, if it was locked.- Specified by:
getLockOwnerin interfaceEventSubscription
-
setLockOwner
- Specified by:
setLockOwnerin interfaceEventSubscriptionEntity
-
getTenantId
Description copied from interface:EventSubscriptionThe tenant identifier of this process instance- Specified by:
getTenantIdin interfaceEventSubscription
-
setTenantId
- Specified by:
setTenantIdin interfaceEventSubscriptionEntity
-
hashCode
public int hashCode() -
equals
-
toString
-