Interface InternalTranslationMessageService
-
- All Superinterfaces:
MessageProducer,Service
- All Known Subinterfaces:
InternalTranslationMessageServiceLocal
public interface InternalTranslationMessageService extends Service, MessageProducer
Contains translation message methods which are intended to be used only by Cyclos itself, not via web services
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TranslationsDatagetAppI18n()Returns the translation messages for the new frontendTranslationsDatagetBySubmodules(Set<Submodule> submodules)Returns all the translation messages for the given submodulesTranslationsDatagetCustomizedKeysBySubmodules(Set<Submodule> submodules)Returns only the customized translation messages for the given submodulesStringmessage(MessageFormat messageFormat, MessageKey key, Object... arguments)Returns a translation message in a given format, for the current user's language, applying the given arguments, if anyStringmessage(MessageKey key, Object... arguments)Returns a translation message for the current user's language, applying the given arguments, if any
-
-
-
Method Detail
-
getAppI18n
TranslationsData getAppI18n() throws FrameworkException
Returns the translation messages for the new frontend- Throws:
FrameworkException
-
getBySubmodules
TranslationsData getBySubmodules(Set<Submodule> submodules) throws FrameworkException
Returns all the translation messages for the given submodules- Throws:
FrameworkException
-
getCustomizedKeysBySubmodules
TranslationsData getCustomizedKeysBySubmodules(Set<Submodule> submodules)
Returns only the customized translation messages for the given submodules
-
message
String message(MessageFormat messageFormat, MessageKey key, Object... arguments) throws FrameworkException
Returns a translation message in a given format, for the current user's language, applying the given arguments, if any- Specified by:
messagein interfaceMessageProducer- Throws:
FrameworkException
-
message
String message(MessageKey key, Object... arguments) throws FrameworkException
Returns a translation message for the current user's language, applying the given arguments, if any- Specified by:
messagein interfaceMessageProducer- Throws:
FrameworkException
-
-