Interface PlatformReindexService

All Known Implementing Classes:
PlatformReindexServiceImpl

public interface PlatformReindexService
  • 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

      void reindexProcessInstance(String processInstanceId)
      Reindex one process instance. This method, contrary to reindexProcessInstance(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

      void reindexActivity(String activityInstanceId)
      Reindex one activity instance. This method, contrary to reindexCaseInstance(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

      void reindexTask(String taskId)
      Reindex one task. This method, contrary to reindexCaseInstance(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

      void reindexCaseInstance(String caseInstanceId)
      Reindex one case instance. This method, contrary to reindexCaseInstance(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

      void reindexPlanItemInstance(String planItemInstanceId)
      Reindex one plan item instance. This method, contrary to reindexCaseInstance(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

      void reindexContentItem(String contentItemId)
      Reindex one content item. This method, contrary to reindexCaseInstance(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 calling reindexProcessInstance(String) or reindexCaseInstance(String), which will update the work index if the instance is a root instance.
    • isIndexingDisabled

      boolean isIndexingDisabled(String index)
      Checks if indexing is disabled for the provided index. This method runs synchronously.
      Parameters:
      index -
      Returns:
      true if the indexing is disabled.