public abstract class EventSubscriptionEntity extends Object implements EventSubscription, PersistentObject, HasRevision, Serializable
| Modifier and Type | Field and Description |
|---|---|
protected ActivityImpl |
activity |
protected String |
activityId |
protected String |
configuration |
protected Date |
created |
protected String |
eventName |
protected String |
eventType |
protected ExecutionEntity |
execution |
protected String |
executionId |
protected String |
id |
protected String |
processInstanceId |
protected int |
revision |
| Constructor and Description |
|---|
EventSubscriptionEntity() |
EventSubscriptionEntity(ExecutionEntity executionEntity) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addToExecution() |
void |
delete() |
boolean |
equals(Object obj) |
void |
eventReceived(Serializable payload,
boolean processASync) |
ActivityImpl |
getActivity() |
String |
getActivityId()
The identifier of the activity that this event subscription belongs to.
|
String |
getConfiguration() |
Date |
getCreated()
The time this event subscription was created.
|
String |
getEventName()
The name of the event this subscription belongs to as defined in the process model.
|
String |
getEventType()
The event subscriptions type.
|
ExecutionEntity |
getExecution() |
String |
getExecutionId()
The execution that is subscribed on the referenced event.
|
String |
getId()
The unique identifier of the event subscription.
|
Object |
getPersistentState()
Returns a representation of the object,
as would be stored in the database.
|
String |
getProcessInstanceId()
The process instance this subscription belongs to.
|
int |
getRevision() |
int |
getRevisionNext() |
int |
hashCode() |
void |
insert() |
protected void |
processEventSync(Object payload) |
protected void |
removeFromExecution() |
protected void |
scheduleEventAsync(Serializable payload) |
void |
setActivity(ActivityImpl activity) |
void |
setActivityId(String activityId) |
void |
setConfiguration(String configuration) |
void |
setCreated(Date created) |
void |
setEventName(String eventName) |
void |
setEventType(String eventType) |
void |
setExecution(ExecutionEntity execution) |
void |
setExecutionId(String executionId) |
void |
setId(String id) |
void |
setProcessInstanceId(String processInstanceId) |
void |
setRevision(int revision) |
String |
toString() |
protected String id
protected int revision
protected String eventType
protected String eventName
protected String executionId
protected String processInstanceId
protected String activityId
protected String configuration
protected Date created
protected ExecutionEntity execution
protected ActivityImpl activity
public EventSubscriptionEntity()
public EventSubscriptionEntity(ExecutionEntity executionEntity)
public void eventReceived(Serializable payload, boolean processASync)
protected void processEventSync(Object payload)
protected void scheduleEventAsync(Serializable payload)
public void delete()
public void insert()
protected void addToExecution()
protected void removeFromExecution()
public Object getPersistentState()
PersistentObjectgetPersistentState in interface PersistentObjectpublic ExecutionEntity getExecution()
public void setExecution(ExecutionEntity execution)
public ActivityImpl getActivity()
public void setActivity(ActivityImpl activity)
public String getId()
EventSubscriptiongetId in interface PersistentObjectgetId in interface EventSubscriptionpublic void setId(String id)
setId in interface PersistentObjectpublic int getRevision()
getRevision in interface HasRevisionpublic void setRevision(int revision)
setRevision in interface HasRevisionpublic int getRevisionNext()
getRevisionNext in interface HasRevisionpublic String getEventType()
EventSubscriptiongetEventType in interface EventSubscriptionpublic void setEventType(String eventType)
public String getEventName()
EventSubscriptiongetEventName in interface EventSubscriptionpublic void setEventName(String eventName)
public String getExecutionId()
EventSubscriptiongetExecutionId in interface EventSubscriptionpublic void setExecutionId(String executionId)
public String getProcessInstanceId()
EventSubscriptiongetProcessInstanceId in interface EventSubscriptionpublic void setProcessInstanceId(String processInstanceId)
public String getConfiguration()
public void setConfiguration(String configuration)
public String getActivityId()
EventSubscriptiongetActivityId in interface EventSubscriptionpublic void setActivityId(String activityId)
public Date getCreated()
EventSubscriptiongetCreated in interface EventSubscriptionpublic void setCreated(Date created)
Copyright © 2015. All rights reserved.