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

public class MessageCreateEvent extends BusinessEvent<List<DTOMessage>>
Event to launch to create messages associated to an business event. The input is an event id. Return a list of messages.
  • Constructor Details

    • MessageCreateEvent

      public MessageCreateEvent()
  • Method Details

    • getEventId

      public Long getEventId()
    • setEventId

      public void setEventId(Long eventId)
    • getValues

      public Map<String,Object> getValues()
    • setValues

      public void setValues(Map<String,Object> values)
    • getLanguage

      public String getLanguage()
    • setLanguage

      public void setLanguage(String language)
    • defineResult

      protected Function<Journal<List<DTOMessage>>,List<DTOMessage>> defineResult()
      Description copied from class: GenericEvent
      Function used to define which Object should be considered as the event result from the ones contained into the Journal. By default the last object added to the journal will be considered as the result.
      Overrides:
      defineResult in class GenericEvent<List<DTOMessage>>
      Returns:
      the function used to define which Object should be considered as the event result from the ones contained into the Journal.