Class AbstractIndexingDataProducer
- java.lang.Object
-
- com.flowable.platform.engine.impl.indexing.dataproducer.AbstractIndexingDataProducer
-
- Direct Known Subclasses:
ActivityIndexingDataProducer
,CaseInstanceIndexingDataProducer
,ContentItemIndexingDataProducer
,PlanItemIndexingDataProducer
,ProcessInstanceIndexingDataProducer
,TaskIndexingDataProducer
,WorkIndexingDataProducer
public abstract class AbstractIndexingDataProducer extends Object
-
-
Field Summary
Fields Modifier and Type Field Description protected List<PlatformIndexedDataEnhancer>
indexedDataEnhancers
protected IndexingManagerHelperImpl
indexingManagerHelper
protected com.fasterxml.jackson.databind.ObjectMapper
objectMapper
-
Constructor Summary
Constructors Constructor Description AbstractIndexingDataProducer(com.fasterxml.jackson.databind.ObjectMapper objectMapper, IndexManager indexManager, IndexVariableTypes indexVariableTypes, List<PlatformIndexedDataEnhancer> indexedDataEnhancers)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected void
addGroupIdentityLink(String id, String type, String groupId, com.fasterxml.jackson.databind.node.ObjectNode data)
protected void
addIdentityLink(String id, String type, String userId, String groupId, com.fasterxml.jackson.databind.node.ObjectNode data)
protected void
addIdentityLink(HistoricIdentityLinkEntity identityLink, com.fasterxml.jackson.databind.node.ObjectNode data)
protected void
addIdentityLinks(List<HistoricIdentityLinkEntity> identityLinks, com.fasterxml.jackson.databind.node.ObjectNode dataNode)
protected void
addUserIdentityLink(String id, String type, String userId, com.fasterxml.jackson.databind.node.ObjectNode data)
protected com.fasterxml.jackson.databind.node.ObjectNode
createDataNodeForIndexing()
protected BpmnModel
getBpmnModel(String processDefinitionId)
protected abstract JobServiceConfiguration
getJobServiceConfiguration()
protected abstract String
getMappingType()
protected ProcessDefinitionEntity
getProcessDefinition(String processDefinitionId)
-
-
-
Field Detail
-
objectMapper
protected com.fasterxml.jackson.databind.ObjectMapper objectMapper
-
indexingManagerHelper
protected IndexingManagerHelperImpl indexingManagerHelper
-
indexedDataEnhancers
protected List<PlatformIndexedDataEnhancer> indexedDataEnhancers
-
-
Constructor Detail
-
AbstractIndexingDataProducer
public AbstractIndexingDataProducer(com.fasterxml.jackson.databind.ObjectMapper objectMapper, IndexManager indexManager, IndexVariableTypes indexVariableTypes, List<PlatformIndexedDataEnhancer> indexedDataEnhancers)
-
-
Method Detail
-
getJobServiceConfiguration
protected abstract JobServiceConfiguration getJobServiceConfiguration()
-
createDataNodeForIndexing
protected com.fasterxml.jackson.databind.node.ObjectNode createDataNodeForIndexing()
-
getMappingType
protected abstract String getMappingType()
-
addIdentityLinks
protected void addIdentityLinks(List<HistoricIdentityLinkEntity> identityLinks, com.fasterxml.jackson.databind.node.ObjectNode dataNode)
-
addUserIdentityLink
protected void addUserIdentityLink(String id, String type, String userId, com.fasterxml.jackson.databind.node.ObjectNode data)
-
addGroupIdentityLink
protected void addGroupIdentityLink(String id, String type, String groupId, com.fasterxml.jackson.databind.node.ObjectNode data)
-
addIdentityLink
protected void addIdentityLink(HistoricIdentityLinkEntity identityLink, com.fasterxml.jackson.databind.node.ObjectNode data)
-
addIdentityLink
protected void addIdentityLink(String id, String type, String userId, String groupId, com.fasterxml.jackson.databind.node.ObjectNode data)
-
getProcessDefinition
protected ProcessDefinitionEntity getProcessDefinition(String processDefinitionId)
-
-