Class TranslationsControllerBase
- java.lang.Object
-
- io.imunity.webconsole.translationProfile.TranslationsControllerBase
-
- Direct Known Subclasses:
InputTranslationsController,OutputTranslationsController
public abstract class TranslationsControllerBase extends java.lang.Object
-
-
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<?>>actionsRegistryprotected pl.edu.icm.unity.MessageSourcemsgprotected pl.edu.icm.unity.engine.api.TranslationProfileManagementprofileMan
-
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 voidaddProfile(pl.edu.icm.unity.types.translation.TranslationProfile profile)protected io.imunity.webconsole.tprofile.TranslationProfileEditorgetEditor()protected abstract pl.edu.icm.unity.types.translation.TranslationProfilegetProfile(java.lang.String name)protected abstract java.util.List<pl.edu.icm.unity.types.translation.TranslationProfile>getProfiles()
-
-
-
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
-
-