Class BTAssetInsertBatch
java.lang.Object
overit.geocall.bl.BusinessTask<AssetInsertBatchEvent>
overit.geocallapp.utilities.core.bl.common.validexecution.ValidExecutionBusinessTask<AssetInsertBatchEvent>
overit.geocallapp.utilities.core.bl.common.validexecution.ValidPermissionBusinessTask<AssetInsertBatchEvent>
overit.geocallapp.utilities.core.bl.common.batch.task.BTBatch<AssetInsertInput,Long,AssetInsertEvent,AssetInsertBatchEvent>
overit.geocallapp.wfm.assets.bl.task.BTAssetInsertBatch
- All Implemented Interfaces:
Serializable,Tool,ValidExecution
@Event(AssetInsertBatchEvent.class)
public class BTAssetInsertBatch
extends BTBatch<AssetInsertInput,Long,AssetInsertEvent,AssetInsertBatchEvent>
Business task in order to insert a list of
For each insert the base event
The output will be built as a list containing the return types of the base event
BOAsset. For each insert the base event
AssetInsertEvent is called and as input it will receive a AssetInsertInput
from the list of AssetInsertInput as input. The output will be built as a list containing the return types of the base event
AssetInsertEvent. - Since:
- 17.0
- See Also:
- GCApi:
- task
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the class of the business event to be used for processing each input item.Methods inherited from class overit.geocallapp.utilities.core.bl.common.batch.task.BTBatch
execute, executeEvent, getEventConstructor, isValidExecutionMethods inherited from class overit.geocallapp.utilities.core.bl.common.validexecution.ValidPermissionBusinessTask
checkValidExecution, getException, throwExceptionIfInvalidMethods inherited from class overit.geocallapp.utilities.core.bl.common.validexecution.ValidExecutionBusinessTask
body, getEventMethods inherited from class overit.geocall.bl.BusinessTask
start, start, startAlone, startInBackground
-
Constructor Details
-
BTAssetInsertBatch
public BTAssetInsertBatch()
-
-
Method Details
-
getBusinessEventClass
Description copied from class:BTBatchReturns the class of the business event to be used for processing each input item. This method must be implemented by subclasses to specify which business event class should be instantiated for each input item in the batch.- Specified by:
getBusinessEventClassin classBTBatch<AssetInsertInput,Long, AssetInsertEvent, AssetInsertBatchEvent> - Returns:
- the class object representing the business event type
-