Interface PlatformReindexService
- All Known Implementing Classes:
PlatformReindexServiceImpl
public interface PlatformReindexService
-
Method Summary
Modifier and TypeMethodDescriptionboolean
isIndexingDisabled
(String index) Checks if indexing is disabled for the provided index.void
Reindex all process activity instances in the database.void
reindexActivity
(String activityInstanceId) Reindex one activity instance.void
reindexCaseInstance
(String caseInstanceId) Reindex one case instance.void
Reindex all case instances in the database.void
reindexContentItem
(String contentItemId) Reindex one content item.void
Reindex all content items in the database.void
reindexPlanItemInstance
(String planItemInstanceId) Reindex one plan item instance.void
Reindex all plan item instances in the database.void
reindexProcessInstance
(String processInstanceId) Reindex one process instance.void
Reindex all process instances in the database.void
reindexTask
(String taskId) Reindex one task.void
Reindex all tasks in the database.void
Reindex 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.
-