Uses of Enum Class
org.nuclos.api.locale.NuclosLocale
Packages that use NuclosLocale
Package
Description
-
Uses of NuclosLocale in org.nuclos.api
Methods in org.nuclos.api that return NuclosLocale -
Uses of NuclosLocale in org.nuclos.api.authentication
Methods in org.nuclos.api.authentication that return NuclosLocaleModifier and TypeMethodDescriptionAuthenticationResult.getDataLanguage()
AuthenticationResult.getLocale()
Methods in org.nuclos.api.authentication with parameters of type NuclosLocaleModifier and TypeMethodDescriptionAuthenticationResult.Builder.withDataLanguage
(NuclosLocale dataLanguage) Data language for the new session, if in use be the system.AuthenticationResult.Builder.withLocale
(NuclosLocale locale) Default isNuclosLocale.DE_DE
-
Uses of NuclosLocale in org.nuclos.api.context
Methods in org.nuclos.api.context with parameters of type NuclosLocaleModifier and TypeMethodDescriptionstatic void
MessageContext.sendMessage
(boolean translateAndRememberWithGeneratedKey, String message, NuclosLocale sourceLocale) Sends a message to the client with translation option for a specific Nuclos locale.static void
MessageContext.sendMessage
(String key, String message, String title, NuclosLocale sourceLocale) Sends a message with a title to the client using a specific localization key and Nuclos locale.void
MessageContext.WithArgs.sendMessage
(boolean translateAndRememberWithGeneratedKey, String message, NuclosLocale sourceLocale) Sends a message to the client with translation option for a specific Nuclos locale and the configured arguments.void
MessageContext.WithArgs.sendMessage
(String key, String message, String title, NuclosLocale sourceLocale) Sends a message with a title to the client using a specific localization key, Nuclos locale and the configured arguments.static void
MessageContext.sendProgress
(int percent, boolean translateAndRememberWithGeneratedKey, String message, NuclosLocale sourceLocale) Sends a progress update to the client with translation option for a specific Nuclos locale.static void
MessageContext.sendProgress
(int percent, String key, String message, NuclosLocale sourceLocale) Sends a progress update to the client using a specific localization key and Nuclos locale.void
MessageContext.WithArgs.sendProgress
(int percent, boolean translateAndRememberWithGeneratedKey, String message, NuclosLocale sourceLocale) Sends a progress update to the client with translation options, a specific Nuclos locale and the configured arguments.void
MessageContext.WithArgs.sendProgress
(int percent, String key, String message, NuclosLocale sourceLocale) Sends a progress update to the client using a specific localization key, Nuclos locale and the configured arguments.Constructors in org.nuclos.api.context with parameters of type NuclosLocaleModifierConstructorDescriptionInputSpecification
(int type, String key, boolean translateAndRememberWithGeneratedLocalizationKey, String message, String title, NuclosLocale locale) Creates a new InputSpecification with the specified type, key, translation options, message, title, and Nuclos locale.InputSpecification
(int type, String key, String localizationKey, String message, String title, NuclosLocale locale) Creates a new InputSpecification with the specified type, key, localization key, message, title, and Nuclos locale.InputSpecification
(int type, String key, String message, String title, NuclosLocale locale) Creates a new InputSpecification with the specified type, key, message, title, and Nuclos locale. -
Uses of NuclosLocale in org.nuclos.api.exception
Constructors in org.nuclos.api.exception with parameters of type NuclosLocaleModifierConstructorDescriptionBusinessException
(boolean pTranslateAndRememberWithGeneratedKey, String pMessage, NuclosLocale pSourceLocale) Creates a new BusinessException with the specified translation option for a specific Nuclos locale.BusinessException
(boolean pTranslateAndRememberWithGeneratedKey, String pMessage, NuclosLocale pSourceLocale, Throwable pThrowable) Creates a new BusinessException with the specified message, Nuclos locale, and cause.BusinessException
(String pKey, String pMessage, NuclosLocale pSourceLocale) Creates a new BusinessException with the specified localization key, message, and Nuclos locale. -
Uses of NuclosLocale in org.nuclos.api.l10n
Constructors in org.nuclos.api.l10n with parameters of type NuclosLocaleModifierConstructorDescriptionTranslation
(String key, String text, NuclosLocale sourceLocale) Creates a new Translation with the specified localization key, text, and Nuclos source locale.Translation
(String key, String text, NuclosLocale sourceLocale, NuclosLocale targetLocale) Creates a new Translation with the specified localization key, text, Nuclos source locale, and Nuclos target locale.Translation
(String key, String text, NuclosLocale sourceLocale, NuclosLocale targetLocale, int timeoutMillisForTranslatorRequest) Creates a new Translation with the specified localization key, text, Nuclos source locale, Nuclos target locale, and custom timeout.Translation
(String text, NuclosLocale sourceLocale) Creates a new Translation with the specified text and Nuclos source locale.Translation
(String text, NuclosLocale sourceLocale, NuclosLocale targetLocale) Creates a new Translation with the specified text, Nuclos source locale, and Nuclos target locale.Translation
(String text, NuclosLocale sourceLocale, NuclosLocale targetLocale, int timeoutMillisForTranslatorRequest) Creates a new Translation with the specified text, Nuclos source locale, Nuclos target locale, and custom timeout. -
Uses of NuclosLocale in org.nuclos.api.locale
Methods in org.nuclos.api.locale that return NuclosLocaleModifier and TypeMethodDescriptionstatic NuclosLocale
Returns the enum constant of this class with the specified name.static NuclosLocale[]
NuclosLocale.values()
Returns an array containing the constants of this enum class, in the order they are declared. -
Uses of NuclosLocale in org.nuclos.api.provider
Methods in org.nuclos.api.provider that return types with arguments of type NuclosLocaleModifier and TypeMethodDescriptionstatic List<NuclosLocale>
DataLocaleProvider.getDataLocales()
This method returns all activeNuclosLocale
.Methods in org.nuclos.api.provider with parameters of type NuclosLocaleModifier and TypeMethodDescriptionstatic NuclosFile
PrintoutProvider.run
(OutputFormat format, Long boId, Map<String, Object> params, NuclosLocale locale) Providing the parameters this method runs thePrintout
that belongs to the givenOutputFormat
and returns the generatedNuclosFile
containing all localized data in the given locale languagestatic NuclosFile
PrintoutProvider.run
(OutputFormat format, Long boId, NuclosLocale locale) This method runs thePrintout
that belongs to the givenOutputFormat
and returns the generatedNuclosFile
containing all localized data in the given locale languagestatic NuclosFile
ReportProvider.run
(OutputFormat format, Map<String, Object> params, NuclosLocale locale) Providing the parameters this method runs theReport
that belongs to the givenOutputFormat
and returns the generatedNuclosFile
containing all localized data in the given locale languagestatic NuclosFile
ReportProvider.run
(OutputFormat format, NuclosLocale locale) This method runs theReport
that belongs to the givenOutputFormat
and returns the generatedNuclosFile
containing all localized data in the given locale languagestatic NuclosFile
static String
LocalizationProvider.translate
(String key, String text, NuclosLocale sourceLocale) Translates a text using the specified key and Nuclos source locale.static String
LocalizationProvider.translate
(String key, String text, NuclosLocale sourceLocale, NuclosLocale targetLocale) Translates a text using the specified key, Nuclos source locale, and Nuclos target locale.static String
LocalizationProvider.translate
(String key, String text, NuclosLocale sourceLocale, NuclosLocale targetLocale, int timeoutMillisForTranslatorRequest) Translates a text using the specified key, Nuclos source locale, Nuclos target locale, and custom timeout.static String
LocalizationProvider.translate
(String text, NuclosLocale sourceLocale, NuclosLocale targetLocale) Translates a text using the specified Nuclos source and target locales.static String
LocalizationProvider.translate
(String text, NuclosLocale sourceLocale, NuclosLocale targetLocale, int timeoutMillisForTranslatorRequest) Translates a text using the specified Nuclos source and target locales with a custom timeout.static String
LocalizationProvider.translateChecked
(String key, String text, NuclosLocale sourceLocale) Translates a text using the specified key and Nuclos source locale and throws an exception if translation fails.static String
LocalizationProvider.translateChecked
(String key, String text, NuclosLocale sourceLocale, NuclosLocale targetLocale) Translates a text using the specified key, Nuclos source locale, and Nuclos target locale and throws an exception if translation fails.static String
LocalizationProvider.translateChecked
(String key, String text, NuclosLocale sourceLocale, NuclosLocale targetLocale, int timeoutMillisForTranslatorRequest) Translates a text using the specified key, Nuclos source locale, Nuclos target locale, and custom timeout and throws an exception if translation fails.static String
LocalizationProvider.translateChecked
(String text, NuclosLocale sourceLocale, NuclosLocale targetLocale) Translates a text using the specified Nuclos source and target locales and throws an exception if translation fails.static String
LocalizationProvider.translateChecked
(String text, NuclosLocale sourceLocale, NuclosLocale targetLocale, int timeoutMillisForTranslatorRequest) Translates a text using the specified Nuclos source and target locales with a custom timeout and throws an exception if translation fails.static String
LocalizationProvider.translateCheckedInMemory
(String text, NuclosLocale sourceLocale) Translates a text in memory only (not persisted) using the specified Nuclos source locale and throws an exception if translation fails.static String
LocalizationProvider.translateCheckedInMemory
(String text, NuclosLocale sourceLocale, NuclosLocale targetLocale) Translates a text in memory only (not persisted) using the specified Nuclos source and target locales and throws an exception if translation fails.static String
LocalizationProvider.translateCheckedInMemory
(String text, NuclosLocale sourceLocale, NuclosLocale targetLocale, int timeoutMillisForTranslatorRequest) Translates a text in memory only (not persisted) using the specified Nuclos source and target locales with a custom timeout and throws an exception if translation fails.static String
LocalizationProvider.translateInMemory
(String text, NuclosLocale sourceLocale) Translates a text in memory only (not persisted) using the specified Nuclos source locale.static String
LocalizationProvider.translateInMemory
(String text, NuclosLocale sourceLocale, NuclosLocale targetLocale) Translates a text in memory only (not persisted) using the specified Nuclos source and target locales.static String
LocalizationProvider.translateInMemory
(String text, NuclosLocale sourceLocale, NuclosLocale targetLocale, int timeoutMillisForTranslatorRequest) Translates a text in memory only (not persisted) using the specified Nuclos source and target locales with a custom timeout. -
Uses of NuclosLocale in org.nuclos.api.service
Methods in org.nuclos.api.service that return types with arguments of type NuclosLocaleMethods in org.nuclos.api.service with parameters of type NuclosLocaleModifier and TypeMethodDescriptionPrintoutService.run
(OutputFormat format, Long iBusinessObjectId, Map<String, Object> params, NuclosLocale locale) PrintoutService.run
(OutputFormat format, Long iBusinessObjectId, NuclosLocale locale) ReportService.run
(OutputFormat format, Map<String, Object> params, NuclosLocale locale) ReportService.run
(OutputFormat format, NuclosLocale locale)