Class ProcessIndexingWrapper

java.lang.Object
com.suncode.pwfl.workflow.process.indexer.ProcessIndexingWrapper

@Component public class ProcessIndexingWrapper extends Object
Helper class to wrap functions in ProcessIndexingService
  • Constructor Details

    • ProcessIndexingWrapper

      public ProcessIndexingWrapper()
  • Method Details

    • get

      public static ProcessIndexingWrapper get()
      Returns:
      Instance of class
    • indexAsync

      public void indexAsync(String processId, boolean forceSharkService)
      Calls index function in ProcessIndexingService
      Parameters:
      processId - id of process
      forceSharkService - force use shark service to retrieve process data
    • appendIndexAsync

      public void appendIndexAsync(org.enhydra.shark.api.SharkTransaction sharkTransaction, String processId)
      Appends index function call in ProcessIndexingService to shark transaction.
      Parameters:
      processId - id of process