Class ActivityIndexingWrapper
java.lang.Object
com.suncode.pwfl.workflow.activity.indexer.ActivityIndexingWrapper
Helper class to wrap functions in
ActivityIndexingService
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
appendIndexAllActivitiesAsync
(org.enhydra.shark.api.SharkTransaction sharkTransaction, String processId, boolean forceSharkService) Appends index function call inActivityIndexingService
to shark transaction.void
appendIndexAsync
(org.enhydra.shark.api.SharkTransaction sharkTransaction, String processId, String activityId) Appends index function call inActivityIndexingService
to shark transaction.void
appendIndexAsync
(org.enhydra.shark.api.SharkTransaction sharkTransaction, String processId, String activityId, boolean forceSharkService) Appends index function call inActivityIndexingService
to shark transaction.static ActivityIndexingWrapper
get()
void
indexAsync
(String processId, String activityId) Calls async index function inActivityIndexingService
void
indexAsync
(String processId, String activityId, boolean forceSharkService) Calls async index function inActivityIndexingService
void
Calls sync index function inActivityIndexingService
void
Calls sync index function inActivityIndexingService
-
Constructor Details
-
ActivityIndexingWrapper
public ActivityIndexingWrapper()
-
-
Method Details
-
get
- Returns:
- Instance of class
-
indexAsync
Calls async index function inActivityIndexingService
- Parameters:
processId
- id of processactivityId
- id of activity
-
indexAsync
Calls async index function inActivityIndexingService
- Parameters:
processId
- id of processactivityId
- id of activityforceSharkService
- force use shark service to retrieve activity data
-
appendIndexAsync
public void appendIndexAsync(org.enhydra.shark.api.SharkTransaction sharkTransaction, String processId, String activityId) Appends index function call inActivityIndexingService
to shark transaction.- Parameters:
processId
- id of processactivityId
- id of activity
-
appendIndexAsync
public void appendIndexAsync(org.enhydra.shark.api.SharkTransaction sharkTransaction, String processId, String activityId, boolean forceSharkService) Appends index function call inActivityIndexingService
to shark transaction.- Parameters:
processId
- id of processactivityId
- id of activityforceSharkService
- force use shark service to retrieve activity data
-
appendIndexAllActivitiesAsync
public void appendIndexAllActivitiesAsync(org.enhydra.shark.api.SharkTransaction sharkTransaction, String processId, boolean forceSharkService) Appends index function call inActivityIndexingService
to shark transaction.- Parameters:
sharkTransaction
- shark transactionprocessId
- id of processforceSharkService
- force use shark service to retrieve process data
-
indexSync
public void indexSync(String processId, String activityId, boolean forceSharkService, boolean checkProcessing) Calls sync index function inActivityIndexingService
- Parameters:
processId
- id of processactivityId
- id of activityforceSharkService
- force use shark service to retrieve activity datacheckProcessing
- checking if the activity has no processing status
-
indexSync
Calls sync index function inActivityIndexingService
- Parameters:
activityIds
- map of process id keys with list of activity idsforceSharkService
- force use shark service to retrieve activity data
-