Interface ActivityIndexingService


public interface ActivityIndexingService
Enables indexing of activities
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    appendIndexAllActivitiesAsync(org.enhydra.shark.api.SharkTransaction sharkTransaction, String processId, boolean forceSharkService)
    Appends all activities in process to queue (async) as shark transaction synchronization.
    void
    appendIndexAsync(org.enhydra.shark.api.SharkTransaction sharkTransaction, String processId, String activityId)
    Appends adding activity indexing to queue (async) as shark transaction synchronization.
    void
    appendIndexAsync(org.enhydra.shark.api.SharkTransaction sharkTransaction, String processId, String activityId, boolean forceSharkService)
    Appends adding activity indexing to queue (async) as shark transaction synchronization.
    void
    indexAsync(String processId, String activityId)
    Adds activity to the indexing queue (async)
    void
    indexAsync(String processId, String activityId, boolean forceSharkService)
    Adds activity to the indexing queue (async)
    void
    indexSync(String processId, String activityId, boolean forceSharkService, boolean checkProcessing)
    Index activity without queue (sync)
    void
    indexSync(Map<String,List<String>> activityIds, boolean forceSharkService)
    Index map of activities without queue (sync)
  • Method Details

    • indexAsync

      void indexAsync(String processId, String activityId)
      Adds activity to the indexing queue (async)
      Parameters:
      processId - id of process
      activityId - id of activity
    • indexAsync

      void indexAsync(String processId, String activityId, boolean forceSharkService)
      Adds activity to the indexing queue (async)
      Parameters:
      processId - id of process
      activityId - id of activity
      forceSharkService - force use shark service to retrieve activity data
    • appendIndexAsync

      void appendIndexAsync(org.enhydra.shark.api.SharkTransaction sharkTransaction, String processId, String activityId)
      Appends adding activity indexing to queue (async) as shark transaction synchronization.
      Parameters:
      sharkTransaction - shark transaction
      processId - id of process
      activityId - id of activity
    • appendIndexAsync

      void appendIndexAsync(org.enhydra.shark.api.SharkTransaction sharkTransaction, String processId, String activityId, boolean forceSharkService)
      Appends adding activity indexing to queue (async) as shark transaction synchronization.
      Parameters:
      sharkTransaction - shark transaction
      processId - id of process
      activityId - id of activity
      forceSharkService - force use shark service to retrieve activity data
    • appendIndexAllActivitiesAsync

      void appendIndexAllActivitiesAsync(org.enhydra.shark.api.SharkTransaction sharkTransaction, String processId, boolean forceSharkService)
      Appends all activities in process to queue (async) as shark transaction synchronization.
      Parameters:
      sharkTransaction - shark transaction
      processId - id of process
      forceSharkService - force use shark service to retrieve process data
    • indexSync

      void indexSync(String processId, String activityId, boolean forceSharkService, boolean checkProcessing)
      Index activity without queue (sync)
      Parameters:
      processId - id of process
      activityId - id of activity
      forceSharkService - force use shark service to retrieve activity data
      checkProcessing - checking if the activity has no processing status
    • indexSync

      void indexSync(Map<String,List<String>> activityIds, boolean forceSharkService)
      Index map of activities without queue (sync)
      Parameters:
      activityIds - map of process id keys with list of activity ids
      forceSharkService - force use shark service to retrieve activity data