Class TranslationsCreateEvent

java.lang.Object
overit.geocall.bl.GenericEvent<Void>
overit.geocall.bl.BusinessEvent<Void>
overit.geocall.basic.bl.dictionary.event.TranslationsCreateEvent

public class TranslationsCreateEvent extends BusinessEvent<Void>
Event that will be called to request the creation of the translations in a dictionary.
  • Field Details

    • dictionaryId

      protected final String dictionaryId
    • translationsContent

      protected final String translationsContent
  • Constructor Details

    • TranslationsCreateEvent

      public TranslationsCreateEvent(String dictionaryId, String translationsContent)
      Create a new event that will be called to request the creation of the translations in a dictionary.
      Parameters:
      dictionaryId - the id of the dictionary where the translation will be put.
      translationsContent - the content of the translation that will be put in the dictionary.
  • Method Details

    • getDictionaryId

      public String getDictionaryId()
      Gets the id of the dictionary where the translation content will be put.
      Returns:
      the id of the dictionary where the translation content will be put.
    • getTranslationsContent

      public String getTranslationsContent()
      Gets the content of the translation that will be put in the dictionary.
      Returns:
      the content of the translation that will be put in the dictionary.