Class IdmIndexingSchedulerImpl
java.lang.Object
com.flowable.idm.engine.impl.indexing.IdmIndexingSchedulerImpl
- All Implemented Interfaces:
IdmIndexingScheduler
-
Field Summary
Modifier and TypeFieldDescriptionprotected CoreIdmEngineConfiguration
protected com.flowable.indexing.api.IndexingService
static final String
protected com.fasterxml.jackson.databind.ObjectMapper
-
Constructor Summary
ConstructorDescriptionIdmIndexingSchedulerImpl
(com.flowable.indexing.api.IndexingService indexingService, com.fasterxml.jackson.databind.ObjectMapper objectMapper, CoreIdmEngineConfiguration idmEngineConfiguration) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
addOrReplaceHistoricData
(com.fasterxml.jackson.databind.node.ObjectNode dataNode, String tenantId) protected void
executeMembershipUpdate
(PlatformUserEntity platformUserEntity, String groupId, boolean addGroup) protected UserDefinitionService
boolean
void
scheduleMembershipAddedIndexing
(PlatformUserEntity platformUserEntity, String groupId) void
scheduleMembershipDeletedIndexing
(PlatformUserEntity platformUserEntity, String groupId) void
scheduleUserIndexDeletion
(String userId) void
scheduleUserIndexing
(PlatformUserEntity platformUserEntity) void
scheduleUserIndexing
(PlatformUserEntity platformUserEntity, String index) void
scheduleUserIndexing
(PlatformUserEntity platformUserEntity, List<String> newGroupIds) Schedules the indexing of a user.void
scheduleUserIndexing
(PlatformUserEntity platformUserEntity, List<String> newGroupIds, String index)
-
Field Details
-
MAPPING_TYPE_USER
- See Also:
-
indexingService
protected com.flowable.indexing.api.IndexingService indexingService -
objectMapper
protected com.fasterxml.jackson.databind.ObjectMapper objectMapper -
idmEngineConfiguration
-
-
Constructor Details
-
IdmIndexingSchedulerImpl
public IdmIndexingSchedulerImpl(com.flowable.indexing.api.IndexingService indexingService, com.fasterxml.jackson.databind.ObjectMapper objectMapper, CoreIdmEngineConfiguration idmEngineConfiguration)
-
-
Method Details
-
scheduleUserIndexDeletion
- Specified by:
scheduleUserIndexDeletion
in interfaceIdmIndexingScheduler
-
scheduleUserIndexing
- Specified by:
scheduleUserIndexing
in interfaceIdmIndexingScheduler
-
scheduleUserIndexing
- Specified by:
scheduleUserIndexing
in interfaceIdmIndexingScheduler
-
scheduleUserIndexing
Description copied from interface:IdmIndexingScheduler
Schedules the indexing of a user.- Specified by:
scheduleUserIndexing
in interfaceIdmIndexingScheduler
newGroupIds
- Optional list of groups that are created in the same transaction as the user. When wanting simply a reindexing of a user, pass an empty optional.
-
scheduleUserIndexing
public void scheduleUserIndexing(PlatformUserEntity platformUserEntity, List<String> newGroupIds, String index) - Specified by:
scheduleUserIndexing
in interfaceIdmIndexingScheduler
-
scheduleMembershipAddedIndexing
- Specified by:
scheduleMembershipAddedIndexing
in interfaceIdmIndexingScheduler
-
scheduleMembershipDeletedIndexing
public void scheduleMembershipDeletedIndexing(PlatformUserEntity platformUserEntity, String groupId) - Specified by:
scheduleMembershipDeletedIndexing
in interfaceIdmIndexingScheduler
-
executeMembershipUpdate
protected void executeMembershipUpdate(PlatformUserEntity platformUserEntity, String groupId, boolean addGroup) -
getUserDefinitionService
-
isIndexingEnabled
public boolean isIndexingEnabled() -
addOrReplaceHistoricData
protected void addOrReplaceHistoricData(com.fasterxml.jackson.databind.node.ObjectNode dataNode, String tenantId)
-