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:
BTDataCollectionTemplateVisibilityRuleSave(0)
No Spouts
  • Constructor Details

    • DataCollectionTemplateVisibilityRuleSaveEvent

      public DataCollectionTemplateVisibilityRuleSaveEvent(DataCollectionTemplateVisibilityRuleSaveInput input)
      Instantiates a new template visibility rule save event.
      Parameters:
      input - the save input containing header and rows