public class EventSubscriptionManager extends AbstractManager
Modifier and Type | Field and Description |
---|---|
protected List<EventSubscriptionEntity> |
createdSignalSubscriptions
keep track of subscriptions created in the current command
|
protected static EnginePersistenceLogger |
LOG |
Constructor and Description |
---|
EventSubscriptionManager() |
checkAuthorization, close, configureQuery, delete, deleteAuthorizations, deleteAuthorizationsForGroup, deleteAuthorizationsForUser, deleteDefaultAuthorizations, flush, getAttachmentManager, getAuthorizationManager, getBatchManager, getByteArrayManager, getCaseDefinitionManager, getCaseExecutionManager, getCaseInstanceManager, getCommandContext, getCurrentAuthentication, getDbEntityManager, getDbSqlSession, getDecisionDefinitionManager, getDeploymentManager, getEventSubscriptionManager, getHistoricActivityInstanceManager, getHistoricBatchManager, getHistoricCaseActivityInstanceManager, getHistoricCaseInstanceManager, getHistoricDecisionInstanceManager, getHistoricDetailManager, getHistoricIdentityLinkManager, getHistoricIncidentManager, getHistoricJobLogManager, getHistoricProcessInstanceManager, getHistoricReportManager, getHistoricTaskInstanceManager, getHistoricVariableInstanceManager, getIdentityInfoManager, getIdentityLinkManager, getJobDefinitionManager, getJobManager, getProcessDefinitionManager, getProcessInstanceManager, getResourceAuthorizationProvider, getResourceManager, getSession, getTaskManager, getTaskReportManager, getTenantManager, getUserOperationLogManager, getVariableInstanceManager, insert, isAuthorizationEnabled, saveDefaultAuthorizations
protected static final EnginePersistenceLogger LOG
protected List<EventSubscriptionEntity> createdSignalSubscriptions
public void insert(EventSubscriptionEntity persistentObject)
public void deleteEventSubscription(EventSubscriptionEntity persistentObject)
public void deleteAndFlushEventSubscription(EventSubscriptionEntity persistentObject)
public EventSubscriptionEntity findEventSubscriptionById(String id)
public long findEventSubscriptionCountByQueryCriteria(EventSubscriptionQueryImpl eventSubscriptionQueryImpl)
public List<EventSubscription> findEventSubscriptionsByQueryCriteria(EventSubscriptionQueryImpl eventSubscriptionQueryImpl, Page page)
public List<EventSubscriptionEntity> findSignalEventSubscriptionsByEventName(String eventName)
public List<EventSubscriptionEntity> findSignalEventSubscriptionsByEventNameAndTenantId(String eventName, String tenantId)
public List<EventSubscriptionEntity> findSignalEventSubscriptionsByEventNameAndTenantIdIncludeWithoutTenantId(String eventName, String tenantId)
protected boolean hasTenantId(EventSubscriptionEntity entity, String tenantId)
public List<EventSubscriptionEntity> findSignalEventSubscriptionsByExecution(String executionId)
public List<EventSubscriptionEntity> findSignalEventSubscriptionsByNameAndExecution(String name, String executionId)
public List<EventSubscriptionEntity> findEventSubscriptionsByExecutionAndType(String executionId, String type, boolean lockResult)
public List<EventSubscriptionEntity> findEventSubscriptionsByExecution(String executionId)
public List<EventSubscriptionEntity> findEventSubscriptions(String executionId, String type, String activityId)
public List<EventSubscriptionEntity> findEventSubscriptionsByConfiguration(String type, String configuration)
public List<EventSubscriptionEntity> findEventSubscriptionsByNameAndTenantId(String type, String eventName, String tenantId)
public List<EventSubscriptionEntity> findEventSubscriptionsByNameAndExecution(String type, String eventName, String executionId, boolean lockResult)
public List<EventSubscriptionEntity> findEventSubscriptionsByProcessInstanceId(String processInstanceId)
public List<EventSubscriptionEntity> findMessageStartEventSubscriptionByName(String messageName)
findMessageStartEventSubscriptionByNameAndTenantId(String, String)
public EventSubscriptionEntity findMessageStartEventSubscriptionByNameAndTenantId(String messageName, String tenantId)
findMessageStartEventSubscriptionByName(String)
protected void configureQuery(EventSubscriptionQueryImpl query)
protected ListQueryParameterObject configureParameterizedQuery(Object parameter)
protected boolean matchesSubscription(EventSubscriptionEntity subscription, String type, String eventName)
Copyright © 2018. All rights reserved.