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:
- No Spouts
BTDataCollectionTemplateVisibleForUserSearch(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 DC template generable on mobile search 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
-
DataCollectionTemplateVisibleForUserSearchEvent
Instantiates a new DC template generable on mobile search event.- Parameters:
userId- the ID of the user for which to search generable templates
-