Class MessageCreateEvent
java.lang.Object
overit.geocall.bl.GenericEvent<List<DTOMessage>>
overit.geocall.bl.BusinessEvent<List<DTOMessage>>
overit.geocallapp.wfm.cee.bl.message.be.MessageCreateEvent
Event to launch to create messages associated to an business event.
The input is an event id.
Return a list of messages.
-
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.GenericEvent
executorService, journal, streamJournal -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected Function<Journal<List<DTOMessage>>, List<DTOMessage>> Function used to define which Object should be considered as the event result from the ones contained into theJournal.voidsetEventId(Long eventId) voidsetLanguage(String language) voidMethods inherited from class overit.geocall.bl.BusinessEvent
doLaunchMethods inherited from class overit.geocall.bl.GenericEvent
clearEvents, defineInterruptor, getJournal, getResult, getSpouts, getStreamJournal, isInternal, launch, launch, launchAsync, launchAsync, register, registerSpouts
-
Constructor Details
-
MessageCreateEvent
public MessageCreateEvent()
-
-
Method Details
-
getEventId
-
setEventId
-
getValues
-
setValues
-
getLanguage
-
setLanguage
-
defineResult
Description copied from class:GenericEventFunction used to define which Object should be considered as the event result from the ones contained into theJournal. By default the last object added to the journal will be considered as the result.- Overrides:
defineResultin classGenericEvent<List<DTOMessage>>- Returns:
- the function used to define which Object should be considered as the event result from the ones contained
into the
Journal.
-