Class DataCollectionTemplateVisibleForUserSearchEvent

java.lang.Object
overit.geocall.bl.GenericEvent<Collection<Long>>
overit.geocall.bl.BusinessEvent<Collection<Long>>
overit.geocall.bl.SimpleBusinessEvent<Long,Collection<Long>>
overit.geocallapp.wfm.mobileforms.bl.template.visibilityrules.event.DataCollectionTemplateVisibleForUserSearchEvent

public class DataCollectionTemplateVisibleForUserSearchEvent extends SimpleBusinessEvent<Long,Collection<Long>>
Event for searching generable templates on mobile.

This event is used in the replication process to return all the DC template IDs that the mobile user can use for generating Data Collections.

The event takes in input the ID of the user (real user of the sync) and returns the IDs of the templates for which either:

  • There isn't any visibility rule configured, OR
  • There is a rule row that matches the user profile (user type, operation center, structure, or area)
Since:
22.0
GCApi:
event
Reactors:
BTDataCollectionTemplateVisibleForUserSearch(0)
No Spouts
  • Constructor Details

    • DataCollectionTemplateVisibleForUserSearchEvent

      public DataCollectionTemplateVisibleForUserSearchEvent(Long userId)
      Instantiates a new DC template generable on mobile search event.
      Parameters:
      userId - the ID of the user for which to search generable templates