Class DataCollectionTemplateVisibilityRuleSaveEvent
java.lang.Object
overit.geocall.bl.GenericEvent<Void>
overit.geocall.bl.BusinessEvent<Void>
overit.geocall.bl.SimpleBusinessEvent<DataCollectionTemplateVisibilityRuleSaveInput,Void>
overit.geocallapp.wfm.mobileforms.bl.template.visibilityrules.event.DataCollectionTemplateVisibilityRuleSaveEvent
public class DataCollectionTemplateVisibilityRuleSaveEvent
extends SimpleBusinessEvent<DataCollectionTemplateVisibilityRuleSaveInput,Void>
Event for saving a template visibility rule with all its rows.
This event takes a DataCollectionTemplateVisibilityRuleSaveInput containing
the rule header and its rows, and saves them in a single transaction.
For new rules (header without id), it inserts the header and all rows. For existing rules (header with id), it updates the header and synchronizes the rows (deleting removed rows and inserting new ones).
- Since:
- 22.0
- GCApi:
- event
- Reactors:
- No Spouts
BTDataCollectionTemplateVisibilityRuleSave(0)-
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
ConstructorsConstructorDescriptionInstantiates a new template visibility rule save event. -
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
-
DataCollectionTemplateVisibilityRuleSaveEvent
public DataCollectionTemplateVisibilityRuleSaveEvent(DataCollectionTemplateVisibilityRuleSaveInput input) Instantiates a new template visibility rule save event.- Parameters:
input- the save input containing header and rows
-