Class BatchInsertEvent<I>
java.lang.Object
overit.geocall.bl.GenericEvent<List<Long>>
overit.geocall.bl.BusinessEvent<List<Long>>
overit.geocall.bl.SimpleBusinessEvent<List<I>,List<Long>>
overit.geocallapp.utilities.core.bl.common.batch.BatchEvent<I,Long>
overit.geocallapp.utilities.core.bl.common.batch.BatchInsertEvent<I>
- Type Parameters:
I- the type of input items containing the data to insert
- Direct Known Subclasses:
AccountInsertBatchEvent,AddressInsertBatchEvent,AssetCharacteristicValueInsertBatchEvent,AssetInsertBatchEvent,MeasureInsertBatchEvent,MeterInsertBatchEvent,MobileErrorLogInsertBatchEvent,WorkOrderOperationInsertBatchEvent,WorkShiftExceptionInsertBatchEvent
Abstract base class for batch insert events.
This class specializes
This class specializes
BatchEvent for insert operations that return the IDs of
newly created records. It processes a collection of input items to create new
records in the system and returns their generated IDs. - Since:
- 1.0
- GCApi:
- event
- No Reactors
- No Spouts
-
Nested Class Summary
Nested classes/interfaces inherited from class overit.geocall.bl.GenericEvent
GenericEvent.Step<O> -
Field Summary
Fields inherited from class overit.geocall.bl.SimpleBusinessEvent
inputFields inherited from class overit.geocall.bl.GenericEvent
executorService, journal, streamJournal -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedBatchInsertEvent(List<I> input) Creates a new batch insert event with the specified list of input items. -
Method Summary
Methods inherited from class overit.geocall.bl.SimpleBusinessEvent
getInputMethods inherited from class overit.geocall.bl.BusinessEvent
doLaunchMethods inherited from class overit.geocall.bl.GenericEvent
clearEvents, defineInterruptor, defineResult, getJournal, getResult, getSpouts, getStreamJournal, isInternal, launch, launch, launchAsync, launchAsync, register, registerSpouts
-
Constructor Details
-
BatchInsertEvent
Creates a new batch insert event with the specified list of input items.- Parameters:
input- the list of input items containing the data to insert
-