@Component public class ActivityIndexingWrapper extends Object
ActivityIndexingService
Constructor and Description |
---|
ActivityIndexingWrapper() |
Modifier and Type | Method and Description |
---|---|
void |
appendIndexAllActivitiesAsync(org.enhydra.shark.api.SharkTransaction sharkTransaction,
String processId,
boolean forceSharkService)
Appends index function call in
ActivityIndexingService to shark transaction. |
void |
appendIndexAsync(org.enhydra.shark.api.SharkTransaction sharkTransaction,
String processId,
String activityId)
Appends index function call in
ActivityIndexingService to shark transaction. |
void |
appendIndexAsync(org.enhydra.shark.api.SharkTransaction sharkTransaction,
String processId,
String activityId,
boolean forceSharkService)
Appends index function call in
ActivityIndexingService to shark transaction. |
static ActivityIndexingWrapper |
get() |
void |
indexAsync(String processId,
String activityId)
Calls async index function in
ActivityIndexingService |
void |
indexAsync(String processId,
String activityId,
boolean forceSharkService)
Calls async index function in
ActivityIndexingService |
void |
indexSync(Map<String,List<String>> activityIds,
boolean forceSharkService)
Calls sync index function in
ActivityIndexingService |
void |
indexSync(String processId,
String activityId,
boolean forceSharkService,
boolean checkProcessing)
Calls sync index function in
ActivityIndexingService |
public static ActivityIndexingWrapper get()
public void indexAsync(String processId, String activityId)
ActivityIndexingService
processId
- id of processactivityId
- id of activitypublic void indexAsync(String processId, String activityId, boolean forceSharkService)
ActivityIndexingService
processId
- id of processactivityId
- id of activityforceSharkService
- force use shark service to retrieve activity datapublic void appendIndexAsync(org.enhydra.shark.api.SharkTransaction sharkTransaction, String processId, String activityId)
ActivityIndexingService
to shark transaction.processId
- id of processactivityId
- id of activitypublic void appendIndexAsync(org.enhydra.shark.api.SharkTransaction sharkTransaction, String processId, String activityId, boolean forceSharkService)
ActivityIndexingService
to shark transaction.processId
- id of processactivityId
- id of activityforceSharkService
- force use shark service to retrieve activity datapublic void appendIndexAllActivitiesAsync(org.enhydra.shark.api.SharkTransaction sharkTransaction, String processId, boolean forceSharkService)
ActivityIndexingService
to shark transaction.sharkTransaction
- shark transactionprocessId
- id of processforceSharkService
- force use shark service to retrieve process datapublic void indexSync(String processId, String activityId, boolean forceSharkService, boolean checkProcessing)
ActivityIndexingService
processId
- id of processactivityId
- id of activityforceSharkService
- force use shark service to retrieve activity datacheckProcessing
- checking if the activity has no processing statuspublic void indexSync(Map<String,List<String>> activityIds, boolean forceSharkService)
ActivityIndexingService
activityIds
- map of process id keys with list of activity idsforceSharkService
- force use shark service to retrieve activity dataCopyright © 2025 Suncode. All rights reserved.