Interface ActivityIndexingService
public interface ActivityIndexingService
Enables indexing of activities
-
Method Summary
Modifier and TypeMethodDescriptionvoid
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
Index activity without queue (sync)void
Index map of activities without queue (sync)
-
Method Details
-
indexAsync
Adds activity to the indexing queue (async)- Parameters:
processId
- id of processactivityId
- id of activity
-
indexAsync
Adds activity to the indexing queue (async)- Parameters:
processId
- id of processactivityId
- id of activityforceSharkService
- 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 transactionprocessId
- id of processactivityId
- 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 transactionprocessId
- id of processactivityId
- id of activityforceSharkService
- 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 transactionprocessId
- id of processforceSharkService
- 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 processactivityId
- id of activityforceSharkService
- force use shark service to retrieve activity datacheckProcessing
- checking if the activity has no processing status
-
indexSync
Index map of activities without queue (sync)- Parameters:
activityIds
- map of process id keys with list of activity idsforceSharkService
- force use shark service to retrieve activity data
-