Interface PlatformReindexService
- All Known Implementing Classes:
PlatformReindexServiceImpl
public interface PlatformReindexService
-
Method Summary
Modifier and TypeMethodDescriptionbooleanisIndexingDisabled(String index) Checks if indexing is disabled for the provided index.voidReindex all process activity instances in the database.voidreindexActivity(String activityInstanceId) Reindex one activity instance.voidreindexCaseInstance(String caseInstanceId) Reindex one case instance.voidReindex all case instances in the database.voidreindexContentItem(String contentItemId) Reindex one content item.voidReindex all content items in the database.voidreindexPlanItemInstance(String planItemInstanceId) Reindex one plan item instance.voidReindex all plan item instances in the database.voidreindexProcessInstance(String processInstanceId) Reindex one process instance.voidReindex all process instances in the database.voidreindexTask(String taskId) Reindex one task.voidReindex all tasks in the database.voidReindex all work instances (i.e.
-
Method Details
-
reindexProcessInstances
void reindexProcessInstances()Reindex all process instances in the database. A new index will be created, filled with the data and the alias is swapped to this new index at the end of the operation This method will return immediately, but the indexing will happen asynchronously on a background thread. -
reindexProcessInstance
Reindex one process instance. This method, contrary toreindexProcessInstance(String)runs synchronously. If the process instance is a root process instance, data changes will be propagated to all children. -
reindexActivities
void reindexActivities()Reindex all process activity instances in the database. A new index will be created, filled with the data and the alias is swapped to this new index at the end of the operation This method will return immediately, but the indexing will happen asynchronously on a background thread. -
reindexActivity
Reindex one activity instance. This method, contrary toreindexCaseInstance(String)runs synchronously. -
reindexTasks
void reindexTasks()Reindex all tasks in the database. A new index will be created, filled with the data and the alias is swapped to this new index at the end of the operation This method will return immediately, but the indexing will happen asynchronously on a background thread. -
reindexTask
Reindex one task. This method, contrary toreindexCaseInstance(String)runs synchronously. -
reindexCaseInstances
void reindexCaseInstances()Reindex all case instances in the database. A new index will be created, filled with the data and the alias is swapped to this new index at the end of the operation This method will return immediately, but the indexing will happen asynchronously on a background thread. -
reindexCaseInstance
Reindex one case instance. This method, contrary toreindexCaseInstance(String)runs synchronously. If the process instance is a root process instance, data changes will be propagated to all children. -
reindexPlanItemInstances
void reindexPlanItemInstances()Reindex all plan item instances in the database. A new index will be created, filled with the data and the alias is swapped to this new index at the end of the operation This method will return immediately, but the indexing will happen asynchronously on a background thread. -
reindexPlanItemInstance
Reindex one plan item instance. This method, contrary toreindexCaseInstance(String)runs synchronously. -
reindexContentItems
void reindexContentItems()Reindex all content items in the database. A new index will be created, filled with the data and the alias is swapped to this new index at the end of the operation This method will return immediately, but the indexing will happen asynchronously on a background thread. -
reindexContentItem
Reindex one content item. This method, contrary toreindexCaseInstance(String)runs synchronously. -
reindexWork
void reindexWork()Reindex all work instances (i.e. root process and case instances) in the database. A new index will be created, filled with the data and the alias is swapped to this new index at the end of the operation This method will return immediately, but the indexing will happen asynchronously on a background thread. There is no 'single work instance' reindex method. This is done by callingreindexProcessInstance(String)orreindexCaseInstance(String), which will update the work index if the instance is a root instance. -
isIndexingDisabled
Checks if indexing is disabled for the provided index. This method runs synchronously.- Parameters:
index-- Returns:
- true if the indexing is disabled.
-