Package org.nuclos.api.provider
Class DataLocaleProvider
java.lang.Object
org.nuclos.api.provider.DataLocaleProvider
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic List<NuclosLocale>This method returns all activeNuclosLocale.static NuclosLocaleReturns the system primary (default) data language asNuclosLocale.voidsetDataLocaleService(DataLocaleService service)
-
Constructor Details
-
DataLocaleProvider
DataLocaleProvider()
-
-
Method Details
-
setDataLocaleService
-
getDataLocales
This method returns all activeNuclosLocale. (installation depending)- Returns:
- List of
NuclosLocale - Throws:
BusinessException
-
getPrimaryDataLocale
Returns the system primary (default) data language asNuclosLocale.This is the locale that backs non-localized storage for fields whose declaration is localized only at the generic-BO level: when a value list is applied to a generic BO whose implementation is non-localized, the value for this locale is the one that is persisted. (NUCLOS-11460.)
- Returns:
- the primary data locale, or
nullif no data languages are configured. - Throws:
BusinessException
-