Class TranslationsControllerBase

    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected pl.edu.icm.unity.engine.api.utils.TypesRegistryBase<? extends pl.edu.icm.unity.engine.api.translation.TranslationActionFactory<?>> actionsRegistry  
      protected pl.edu.icm.unity.MessageSource msg  
      protected pl.edu.icm.unity.engine.api.TranslationProfileManagement profileMan  
    • Constructor Summary

      Constructors 
      Constructor Description
      TranslationsControllerBase​(pl.edu.icm.unity.MessageSource msg, pl.edu.icm.unity.engine.api.TranslationProfileManagement profileMan, pl.edu.icm.unity.engine.api.utils.TypesRegistryBase<? extends pl.edu.icm.unity.engine.api.translation.TranslationActionFactory<?>> actionsRegistry, io.imunity.webconsole.tprofile.ActionParameterComponentProvider actionComponentFactory, pl.edu.icm.unity.types.translation.ProfileType type)  
    • Method Summary

      All Methods Instance Methods Abstract Methods Concrete Methods 
      Modifier and Type Method Description
      protected void addProfile​(pl.edu.icm.unity.types.translation.TranslationProfile profile)  
      protected io.imunity.webconsole.tprofile.TranslationProfileEditor getEditor()  
      protected abstract pl.edu.icm.unity.types.translation.TranslationProfile getProfile​(java.lang.String name)  
      protected abstract java.util.List<pl.edu.icm.unity.types.translation.TranslationProfile> getProfiles()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • msg

        protected pl.edu.icm.unity.MessageSource msg
      • profileMan

        protected pl.edu.icm.unity.engine.api.TranslationProfileManagement profileMan
      • actionsRegistry

        protected pl.edu.icm.unity.engine.api.utils.TypesRegistryBase<? extends pl.edu.icm.unity.engine.api.translation.TranslationActionFactory<?>> actionsRegistry
    • Constructor Detail

      • TranslationsControllerBase

        @Autowired
        public TranslationsControllerBase​(pl.edu.icm.unity.MessageSource msg,
                                          pl.edu.icm.unity.engine.api.TranslationProfileManagement profileMan,
                                          pl.edu.icm.unity.engine.api.utils.TypesRegistryBase<? extends pl.edu.icm.unity.engine.api.translation.TranslationActionFactory<?>> actionsRegistry,
                                          io.imunity.webconsole.tprofile.ActionParameterComponentProvider actionComponentFactory,
                                          pl.edu.icm.unity.types.translation.ProfileType type)
    • Method Detail

      • getProfiles

        protected abstract java.util.List<pl.edu.icm.unity.types.translation.TranslationProfile> getProfiles()
                                                                                                      throws pl.edu.icm.unity.webui.exceptions.ControllerException
        Throws:
        pl.edu.icm.unity.webui.exceptions.ControllerException
      • getProfile

        protected abstract pl.edu.icm.unity.types.translation.TranslationProfile getProfile​(java.lang.String name)
                                                                                     throws pl.edu.icm.unity.webui.exceptions.ControllerException
        Throws:
        pl.edu.icm.unity.webui.exceptions.ControllerException
      • getEditor

        protected io.imunity.webconsole.tprofile.TranslationProfileEditor getEditor()
                                                                             throws pl.edu.icm.unity.webui.exceptions.ControllerException
        Throws:
        pl.edu.icm.unity.webui.exceptions.ControllerException
      • addProfile

        protected void addProfile​(pl.edu.icm.unity.types.translation.TranslationProfile profile)
                           throws pl.edu.icm.unity.webui.exceptions.ControllerException
        Throws:
        pl.edu.icm.unity.webui.exceptions.ControllerException