public class L10nLocale extends de.ipcon.db.core.L10nLocaleBase implements java.lang.Comparable, XMLExportableI
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
ISOFORMAT_FULL |
static java.lang.String |
ISOFORMAT_LANG |
static java.lang.String |
ISOFORMAT_LANG_COUNTRY |
ATT_Available, ATT_AvailableForUserInterface, ATT_Benutzer, ATT_Children, ATT_DisplayCountry, ATT_DisplayCountrySelf, ATT_DisplayLanguage, ATT_DisplayLanguageSelf, ATT_DisplayName, ATT_DisplayNameSelf, ATT_DisplayVariant, ATT_DisplayVariantSelf, ATT_Entries, ATT_ISO2TLanguage, ATT_ISOCountry, ATT_ISOLanguage, ATT_ISONameFull, ATT_ISOVariant, ATT_MoeglichInReports, ATT_MyTISMAdressen, ATT_MyTISMBenachrichtigungsAuftraege, ATT_MyTISMBenachrichtigungsVorlagen, ATT_Parent, ATT_StandardVonReports, ENT_L10nLocaleATT_AlsAntwortAnBeiAuftraegen, ATT_AlsBenachrichtigungsanhangVia, ATT_AlsEmpfaengerBCCBeiAuftraegen, ATT_AlsEmpfaengerBeiAuftraegen, ATT_AlsEmpfaengerCCBeiAuftraegen, ATT_AlsKontextBOBeiAuftraegen, ATT_WirdAlsAntwortAnVerwendetBeiAlarmen, ATT_WirdBenachrichtigtBCCBeiAlarm, ATT_WirdBenachrichtigtBeiAlarm, ATT_WirdBenachrichtigtCCBeiAlarm, ENT_CoreBOBLOB_KEY, CANCEL_RECALC_CALLED, D_0, D_1, D_10, D_100, D_1000, D_10000, D_5, D_MINUS_1, D_MINUS_ONE, D_ONE, D_ZERO, doExWriteLRMFunction, EMPTY_ARRAY, F_0, F_1, L_0, L10N_KEY_BO_INSTANTIATION, L10N_KEY_BO_WITH_PROTECTED_CONSTRUCTOR, NULL_AGGREGATE, NULL_ITERATORATT_Badge, ATT_Badge2, ATT_Badge3, ATT_Badge4, ATT_BLOBCreatedBy, ATT_BLOBCreatedOn, ATT_BLOBDeletedBy, ATT_BLOBDeletedOn, ATT_BLOBLastModifiedBy, ATT_BLOBLastModifiedOn, ATT_Bot, ATT_Crea, ATT_CreatedBy, ATT_CreatedModifiedText, ATT_Id, ATT_InvolvedInProcs, ATT_LastModifiedBy, ATT_Ldel, ATT_Lmod, ATT_Procs, EMPTY_ARRAY, ENT_BO| Constructor and Description |
|---|
L10nLocale() |
| Modifier and Type | Method and Description |
|---|---|
static L10nLocale |
byLocale(java.util.Locale l)
Returns the fitting L10nLocale for a given Locale.
|
static L10nLocale |
byLocale(java.util.Locale l,
boolean nullIfNotFound) |
static L10nLocale |
byLocale(java.util.Locale l,
boolean nullIfNotFound,
boolean notAvailableToo) |
static L10nLocale |
byLocale(java.util.Locale l,
boolean nullIfNotFound,
boolean notAvailableToo,
BOLoaderI _bol) |
int |
compareTo(java.lang.Object _obj) |
boolean |
fits(L10nLocale l)
returns true, if this L10nLocale fits the passed L10nLocale,
i.e. if it is the same or a broader but still fitting locale
Example: de.fits(de) is true, as is de.fits(de_DE), but de_DE.fits(de) is false
|
static void |
flushCaches() |
static java.util.List<L10nLocale> |
getAvailableL10nLocales()
Retrieves all available localization locales using the default cache loader.
|
static java.util.List<L10nLocale> |
getAvailableL10nLocales(BOLoaderI bol)
Retrieves all available localization locales using the provided loader.
|
static java.util.List<L10nLocale> |
getAvailableL10nLocales(BOLoaderI bol,
boolean sortPreferredLocalesToTop)
Retrieves all available localization locales, optionally sorting English and French to the top.
|
static java.util.List<L10nLocale> |
getAvailableL10nLocalesForUserInterface()
Retrieves all localization locales marked as available for user interface localization
using the default cache loader.
|
static java.util.List<L10nLocale> |
getAvailableL10nLocalesForUserInterface(BOLoaderI bol)
Retrieves all localization locales marked as available for user interface localization
using the provided loader.
|
static java.util.List<L10nLocale> |
getAvailableL10nLocalesForUserInterface(BOLoaderI bol,
boolean sortPreferredLocalesToTop)
Retrieves all localization locales marked as available for user interface localization,
optionally sorting English and French to the top.
|
static BOLoaderI |
getCacheLoader() |
static L10nLocale |
getDefaultLocale() |
static L10nLocale |
getDefaultLocale(java.util.List plocales) |
static L10nLocale |
getDefaultLocale(java.util.List plocales,
BOLoaderI _bol) |
java.lang.String |
getDisplayCountry() |
java.lang.String |
getDisplayCountry(java.util.Locale _l) |
java.lang.String |
getDisplayCountrySelf() |
java.lang.String |
getDisplayLanguage() |
java.lang.String |
getDisplayLanguage(java.util.Locale _l) |
java.lang.String |
getDisplayLanguageSelf() |
java.lang.String |
getDisplayName() |
java.lang.String |
getDisplayName(java.util.Locale _l) |
java.lang.String |
getDisplayNameSelf() |
java.lang.String |
getDisplayVariant() |
java.lang.String |
getDisplayVariant(java.util.Locale _l) |
java.lang.String |
getDisplayVariantSelf() |
static L10nLocale |
getInstance(java.util.Locale l)
Deprecated.
replaced by
byLocale(Locale, boolean, boolean, BOLoaderI) |
static L10nLocale |
getInstance(java.util.Locale l,
boolean nullIfNotFound) |
static L10nLocale |
getInstance(java.util.Locale l,
boolean nullIfNotFound,
boolean notAvailableToo) |
static L10nLocale |
getInstance(java.util.Locale l,
boolean nullIfNotFound,
boolean notAvailableToo,
BOLoaderI _bol) |
java.lang.String |
getISONameFull() |
java.util.Locale |
getLocale() |
java.text.MessageFormat |
getMessageFormat(java.lang.String pattern) |
PairStorage |
getPairStorage(electric.xml.Element _el)
Creates and returns an PairStorage out of the info from Element _el.
|
static boolean |
hasMultipleAvailableL10nLocales()
Checks whether more than one localization locale is available using the default cache loader.
|
static boolean |
hasMultipleAvailableL10nLocales(BOLoaderI bol)
Checks whether more than one localization locale is available using the provided loader.
|
static boolean |
hasMultipleAvailableL10nLocalesForUserInterface()
Checks whether more than one localization locale marked as available for user interface localization
exists, using the default cache loader.
|
static boolean |
hasMultipleAvailableL10nLocalesForUserInterface(BOLoaderI bol)
Checks whether more than one localization locale marked as available for user interface localization
exists, using the provided loader.
|
static void |
initEnvironment(BOLoaderI rcl) |
static void |
initEnvironment(Transaction tx) |
static void |
initEnvironment(Transaction tx,
boolean authoritative) |
void |
invalidateCachedInstances() |
void |
outputIntoElement(electric.xml.Element root) |
void |
outputIntoElement(electric.xml.Element root,
boolean _withBotName) |
static void |
setDefaultLocale(L10nLocale l) |
void |
setISOCountry(java.lang.String s) |
void |
setISOLanguage(java.lang.String s) |
void |
setISOVariant(java.lang.String s) |
java.lang.String |
toString() |
void |
verifyOnClient(de.ipcon.db.core.BasicClientContextI _ctx) |
addBenutzer, addChild, addEntry, addMoeglichInReport, addMyTISMAdresse, addMyTISMBenachrichtigungsAuftrag, addMyTISMBenachrichtigungsVorlage, addStandardVonReport, copyFrom, copyFrom, equalPayload, getAvailable, getAvailableForUserInterface, getAvailableForUserInterfaceNN, getAvailableForUserInterfaceNN, getAvailableNN, getAvailableNN, getBenutzer, getBenutzerIterator, getChildren, getChildrenIterator, getDisplayCountryNE, getDisplayCountryNN, getDisplayCountryNN, getDisplayCountrySelfNE, getDisplayCountrySelfNN, getDisplayCountrySelfNN, getDisplayLanguageNE, getDisplayLanguageNN, getDisplayLanguageNN, getDisplayLanguageSelfNE, getDisplayLanguageSelfNN, getDisplayLanguageSelfNN, getDisplayNameNE, getDisplayNameNN, getDisplayNameNN, getDisplayNameSelfNE, getDisplayNameSelfNN, getDisplayNameSelfNN, getDisplayVariantNE, getDisplayVariantNN, getDisplayVariantNN, getDisplayVariantSelfNE, getDisplayVariantSelfNN, getDisplayVariantSelfNN, getEntries, getEntriesIterator, getISO2TLanguage, getISO2TLanguageNE, getISO2TLanguageNN, getISO2TLanguageNN, getISOCountry, getISOCountryNE, getISOCountryNN, getISOCountryNN, getISOLanguage, getISOLanguageNE, getISOLanguageNN, getISOLanguageNN, getISONameFullNE, getISONameFullNN, getISONameFullNN, getISOVariant, getISOVariantNE, getISOVariantNN, getISOVariantNN, getMoeglichInReports, getMoeglichInReportsIterator, getMyTISMAdressen, getMyTISMAdressenIterator, getMyTISMBenachrichtigungsAuftraege, getMyTISMBenachrichtigungsAuftraegeIterator, getMyTISMBenachrichtigungsVorlagen, getMyTISMBenachrichtigungsVorlagenIterator, getParent, getStandardVonReports, getStandardVonReportsIterator, istAvailable, istAvailableForUserInterface, needAvailable, needAvailableForUserInterface, needDisplayCountry, needDisplayCountrySelf, needDisplayLanguage, needDisplayLanguageSelf, needDisplayName, needDisplayNameSelf, needDisplayVariant, needDisplayVariantSelf, needISO2TLanguage, needISOCountry, needISOLanguage, needISONameFull, needISOVariant, needParent, needPopulatedBenutzer, needPopulatedChildren, needPopulatedEntries, needPopulatedMoeglichInReports, needPopulatedMyTISMAdressen, needPopulatedMyTISMBenachrichtigungsAuftraege, needPopulatedMyTISMBenachrichtigungsVorlagen, needPopulatedStandardVonReports, pgetBenutzerLazy, pgetChildrenLazy, pgetEntriesLazy, pgetMoeglichInReportsLazy, pgetMyTISMAdressenLazy, pgetMyTISMBenachrichtigungsAuftraegeLazy, pgetMyTISMBenachrichtigungsVorlagenLazy, pgetStandardVonReportsLazy, readExternal, removeBenutzer, removeChild, removeEntry, removeMoeglichInReport, removeMyTISMAdresse, removeMyTISMBenachrichtigungsAuftrag, removeMyTISMBenachrichtigungsVorlage, removeStandardVonReport, setAvailable, setAvailableForUserInterface, setBenutzer, setBOLoader, setChildren, setEntries, setISO2TLanguage, setMoeglichInReports, setMyTISMAdressen, setMyTISMBenachrichtigungsAuftraege, setMyTISMBenachrichtigungsVorlagen, setParent, setStandardVonReports, slim, slim, writeExternaladdAlsAntwortAnBeiAuftrag, addAlsBenachrichtigungsanhangVia, addAlsEmpfaengerBCCBeiAuftrag, addAlsEmpfaengerBeiAuftrag, addAlsEmpfaengerCCBeiAuftrag, addAlsKontextBOBeiAuftrag, addWirdAlsAntwortAnVerwendetBeiAlarm, addWirdBenachrichtigtBCCBeiAlarm, addWirdBenachrichtigtBeiAlarm, addWirdBenachrichtigtCCBeiAlarm, getAlsAntwortAnBeiAuftraegen, getAlsAntwortAnBeiAuftraegenIterator, getAlsBenachrichtigungsanhangVia, getAlsBenachrichtigungsanhangViaIterator, getAlsEmpfaengerBCCBeiAuftraegen, getAlsEmpfaengerBCCBeiAuftraegenIterator, getAlsEmpfaengerBeiAuftraegen, getAlsEmpfaengerBeiAuftraegenIterator, getAlsEmpfaengerCCBeiAuftraegen, getAlsEmpfaengerCCBeiAuftraegenIterator, getAlsKontextBOBeiAuftraegen, getAlsKontextBOBeiAuftraegenIterator, getWirdAlsAntwortAnVerwendetBeiAlarmen, getWirdAlsAntwortAnVerwendetBeiAlarmenIterator, getWirdBenachrichtigtBCCBeiAlarm, getWirdBenachrichtigtBCCBeiAlarmIterator, getWirdBenachrichtigtBeiAlarm, getWirdBenachrichtigtBeiAlarmIterator, getWirdBenachrichtigtCCBeiAlarm, getWirdBenachrichtigtCCBeiAlarmIterator, needPopulatedAlsAntwortAnBeiAuftraegen, needPopulatedAlsBenachrichtigungsanhangVia, needPopulatedAlsEmpfaengerBCCBeiAuftraegen, needPopulatedAlsEmpfaengerBeiAuftraegen, needPopulatedAlsEmpfaengerCCBeiAuftraegen, needPopulatedAlsKontextBOBeiAuftraegen, needPopulatedWirdAlsAntwortAnVerwendetBeiAlarmen, needPopulatedWirdBenachrichtigtBCCBeiAlarm, needPopulatedWirdBenachrichtigtBeiAlarm, needPopulatedWirdBenachrichtigtCCBeiAlarm, pgetAlsAntwortAnBeiAuftraegenLazy, pgetAlsBenachrichtigungsanhangViaLazy, pgetAlsEmpfaengerBCCBeiAuftraegenLazy, pgetAlsEmpfaengerBeiAuftraegenLazy, pgetAlsEmpfaengerCCBeiAuftraegenLazy, pgetAlsKontextBOBeiAuftraegenLazy, pgetWirdAlsAntwortAnVerwendetBeiAlarmenLazy, pgetWirdBenachrichtigtBCCBeiAlarmLazy, pgetWirdBenachrichtigtBeiAlarmLazy, pgetWirdBenachrichtigtCCBeiAlarmLazy, removeAlsAntwortAnBeiAuftrag, removeAlsBenachrichtigungsanhangVia, removeAlsEmpfaengerBCCBeiAuftrag, removeAlsEmpfaengerBeiAuftrag, removeAlsEmpfaengerCCBeiAuftrag, removeAlsKontextBOBeiAuftrag, removeWirdAlsAntwortAnVerwendetBeiAlarm, removeWirdBenachrichtigtBCCBeiAlarm, removeWirdBenachrichtigtBeiAlarm, removeWirdBenachrichtigtCCBeiAlarm, setAlsAntwortAnBeiAuftraegen, setAlsBenachrichtigungsanhangVia, setAlsEmpfaengerBCCBeiAuftraegen, setAlsEmpfaengerBeiAuftraegen, setAlsEmpfaengerCCBeiAuftraegen, setAlsKontextBOBeiAuftraegen, setWirdAlsAntwortAnVerwendetBeiAlarmen, setWirdBenachrichtigtBCCBeiAlarm, setWirdBenachrichtigtBeiAlarm, setWirdBenachrichtigtCCBeiAlarm_set, $, $, $, $$, $$bo, $$o, $$r, $$ri, $$ri, acquireTxWriteLock, add, afterSaveOnClient, afterSaveOnServer, afterVerifyOnClient, afterVerifyOnServer, aggregate, aggregate, aggregate, aggregate, badge, badge, beforeVerifyOnClient, beforeVerifyOnServer, bumpVersion, cacheLocally, cacheLocally, cacheLocallyAndThrowUnwrappedCause, cacheLocallyAndThrowUnwrappedCause, cacheLocallyAndThrowUnwrappedUncheckedCause, cacheLocallyAndThrowUnwrappedUncheckedCause, cancelCheckConstraints, cancelRecalc, cancelRecalcViaLoadingTransaction, clone, commitTransaction, computeTransientPropertyIfAbsent, conciseDesc, conciseDesc, conciseDesc, conciseDesc, conciseDesc, conciseDesc, conciseDesc, conciseDesc, consumeAndAssureTransientPropertyExists, copyBLOBFrom, createCopy, createCopy, deepClone, deepClone, delete, describe, describe, describe, describe, describe, describe, describe, describe, describe, describe, describeId, describeId, describeId, describeId, describeId, describeId, describeId, describeId, describeNE, describeNE, describeNE, describeNE, describeNE, destub, equalPayload, equalPayload, equalPayload, equalPayload, equals, equalsBO, equalsBO, equalsRegardingAttrs, exportBLOB, exReadString, exWriteString, forgetTransientBLOBHandle, frap, getAsBOInIssueReports, getAsBOInIssueReportsIterator, getAsString, getBackendBOLoaderWithPersistenceHandler, getBadge, getBadge, getBadge2, getBadge3, getBadge4, getBLOB, getBLOB, getBLOB, getBLOB, getBLOB, getBLOBAsDataInput, getBLOBAsEncodedString, getBLOBAsEncodedString, getBLOBAsInputStream, getBLOBAsUTF8EncodedString, getBLOBCreatedBy, getBLOBCreatedOn, getBLOBDeletedBy, getBLOBDeletedOn, getBLOBInfo, getBLOBLastModifiedBy, getBLOBLastModifiedOn, getBOLoader, getBot, getBOVersion, getBytes, getCache, getCache, getCache, getCache, getCache, getCache, getCache, getCache, getCache, getCache, getCache, getCache, getCacheNT, getCacheNT, getCacheNT, getCacheNT, getCacheNT, getCacheNT, getCacheNT, getCacheProvider, getCacheProvider, getClazz, getCreatedBy, getCreatedModifiedText, getDefaultScriptImportsList, getDefaultScriptImportsList, getDefaultScriptImportsList, getDescribingBOWrapper, getDescribingBOWrapper, getEventProvider, getEventProvider, getId, getInvolvedInProcs, getInvolvedInProcsIterator, getLastModifiedBy, getLazyData, getLoadingTransaction, getNullIterator, getOrCreate, getOrCreate, getOrCreate, getOrCreate, getOrCreate, getOrCreate, getOrCreate, getPermissionHandler, getProcs, getProcsIterator, getRootLoaderSchema, getSchema, getSizeFast, getTransaction, getTransientProperty, getTransientProperty, getWrappedTransientProperty, hasActiveTransaction, hasBLOB, hasBLOBOnServerSide, hasBOAssignedTempId, hashCode, hasRelationObjects, hasRelationObjects, hasSessionAssignedTempId, hasTempId, hasTempIdForNewBOs, hasTransientProperty, hasTransientPropertyUnfiltered, includeAllowed, includeInTransaction, invalidateBLOBCache, isBOAssignedTempId, isCompoundChangeInProgress, isCurrentTransactionUnderAdminControl, isIgnoreModificationConstraints, isMandatory, isNew, isReadOnly, isServerSideAndLoadedReadOnly, isSessionAssignedTempId, isStub, isTempId, isTempIdForNewInstance, isTemporary, isVisible, isWriteable, markCompoundChangeInProgress, markDelete, markUndelete, needLoadingTransaction, needsReload, needTransactionInclusion, newInstance, newInstance, newInstance, newInstance, newInstance, newInstance, nextTempId, notifyMessageBus, notifyMessageBus, notifyMessageBus, notifyMessageBus, notifyMessageBus, notifyMessageBus, notifyMessageBusOfAdd, notifyMessageBusOfRemove, nullSafeCompareTo, nullSafeCompareTo, nullSafeContainsBO, nullSafeContainsBO, nullSafeEquals, nullSafeEqualsBO, nullSafeEqualsBO, ofStub, propertyMissing, propertyMissing, releaseCompoundChangeInProgress, releaseTxWriteLock, remove, removeBLOB, requireNonEmptyRelation, requireNonNullAttribute, requireNonNullAttributes, requireNonNullAttributes, requireNonNullAttributes, requireNonNullAttributes, requireNonNullAttributes, requireNonNullAttributes, requireNonNullAttributes, setAsString, setBadge, setBadge, setBadge2, setBadge3, setBadge4, setBOLoaderNoCascade, setBOLoaderNoCascade, setBot, setId, setId, setIgnoreModificationConstraints, setLazyData, setTempId, setTransientProperty, setTransientProperty, setTransientProperty, setTransientProperty, setTransientProperty, setTransientProperty, slim, slim, storeBLOB, storeBLOB, storeBLOB, storeBLOB, storeBLOB, stub, toMap, toMap, toMap, toMap, toMap, toMap, toMap, toMap, toMap, toMap, toMap, toMap, toRelationMapRO, toRelationMapRO, toRelationMapRO, toRelationMapRO, toRelationMapRO, toRelationMapRO, toRelationMapRO, toRelationMapRO, undelete, verifyOnServer, wrapIfGroovygetCrea, getLdel, getLmod, isDeleted, isLdel, setCrea, setLdel, setLdel, setLmodgetInstanceSpecificLocale, getInstanceSpecificPaths, l10n, l10n, l10n, l10n, l10n, l10n, l10nbumpVersion, cancelCheckConstraints, consumeAndAssureTransientPropertyExists, contains, delete, equalsBO, equalsBO, filterDeleted, filterDeleted, filterDeleted, filterDeleted, filterDeletedAndReturnMap, filterDeletedAndReturnMap, getAttribute, getAttribute, getBLOB, getBLOB, getBOVersion, getClazz, getCrea, getEntity, getEntity, getRootLoaderSchema, getSchema, getTransientProperty, hasActiveTransaction, hasBLOB, hasTransientProperty, hasTransientPropertyUnfiltered, isDeleted, isMandatory, isNew, isReadOnly, isSubEntityOf, isSubEntityOf, isTemporary, isVisible, setTransientProperty, toRelationMapROcollectIds, collectIds, getCommaSeparatedIdList, getId, hasTempId, toMap, toMapcollectDescribe, collectDescribe, conciseDesc, conciseDesc, conciseDesc, conciseDesc, conciseDesc, conciseDesc, conciseDesc, conciseDesc, describe, describe, describe, describe, describeAndConciseDesc, describeAndConciseDesc, describeAndConciseDesc, describeAndConciseDesc, describeAndConciseDesc, describeNE, describeNE, join, join, join, notEmptyDescriptionpublic static final java.lang.String ISOFORMAT_FULL
public static final java.lang.String ISOFORMAT_LANG_COUNTRY
public static final java.lang.String ISOFORMAT_LANG
public void verifyOnClient(de.ipcon.db.core.BasicClientContextI _ctx)
verifyOnClient in interface SaveVetoIverifyOnClient in class BOpublic static void flushCaches()
public int compareTo(java.lang.Object _obj)
compareTo in interface java.lang.Comparablepublic void setISOLanguage(java.lang.String s)
setISOLanguage in class de.ipcon.db.core.L10nLocaleBasepublic void setISOCountry(java.lang.String s)
setISOCountry in class de.ipcon.db.core.L10nLocaleBasepublic void setISOVariant(java.lang.String s)
setISOVariant in class de.ipcon.db.core.L10nLocaleBasepublic void invalidateCachedInstances()
public java.util.Locale getLocale()
public java.lang.String getDisplayLanguage()
getDisplayLanguage in class de.ipcon.db.core.L10nLocaleBasepublic java.lang.String getDisplayLanguage(java.util.Locale _l)
public java.lang.String getDisplayLanguageSelf()
getDisplayLanguageSelf in class de.ipcon.db.core.L10nLocaleBasepublic java.lang.String getDisplayCountry()
getDisplayCountry in class de.ipcon.db.core.L10nLocaleBasepublic java.lang.String getDisplayCountry(java.util.Locale _l)
public java.lang.String getDisplayCountrySelf()
getDisplayCountrySelf in class de.ipcon.db.core.L10nLocaleBasepublic java.lang.String getDisplayVariant()
getDisplayVariant in class de.ipcon.db.core.L10nLocaleBasepublic java.lang.String getDisplayVariant(java.util.Locale _l)
public java.lang.String getDisplayVariantSelf()
getDisplayVariantSelf in class de.ipcon.db.core.L10nLocaleBasepublic java.lang.String getDisplayName()
getDisplayName in class de.ipcon.db.core.L10nLocaleBasepublic java.lang.String getDisplayName(java.util.Locale _l)
public java.lang.String getDisplayNameSelf()
getDisplayNameSelf in class de.ipcon.db.core.L10nLocaleBasepublic static boolean hasMultipleAvailableL10nLocales()
true if more than one available locale exists; false otherwisepublic static boolean hasMultipleAvailableL10nLocales(BOLoaderI bol)
bol - the business object loader or transaction context;
if null, the default cache loader is usedtrue if more than one available locale exists; false otherwisepublic static java.util.List<L10nLocale> getAvailableL10nLocales()
L10nLocale instancespublic static java.util.List<L10nLocale> getAvailableL10nLocales(BOLoaderI bol)
bol - the business object loader or transaction context;
if null, the default cache loader is usedL10nLocale instancespublic static java.util.List<L10nLocale> getAvailableL10nLocales(BOLoaderI bol, boolean sortPreferredLocalesToTop)
bol - the business object loader or transaction context;
if null, the default cache loader is usedsortPreferredLocalesToTop - whether to sort English and French to the beginning of the listL10nLocale instancespublic static boolean hasMultipleAvailableL10nLocalesForUserInterface()
true if more than one UI-available locale exists; false otherwisepublic static boolean hasMultipleAvailableL10nLocalesForUserInterface(BOLoaderI bol)
bol - the business object loader or transaction context;
if null, the default cache loader is usedtrue if more than one UI-available locale exists; false otherwisepublic static java.util.List<L10nLocale> getAvailableL10nLocalesForUserInterface()
L10nLocale instances available for user interface localizationpublic static java.util.List<L10nLocale> getAvailableL10nLocalesForUserInterface(BOLoaderI bol)
bol - the business object loader or transaction context;
if null, the default cache loader is usedL10nLocale instances available for user interface localizationpublic static java.util.List<L10nLocale> getAvailableL10nLocalesForUserInterface(BOLoaderI bol, boolean sortPreferredLocalesToTop)
bol - the business object loader or transaction context;
if null, the default cache loader is usedsortPreferredLocalesToTop - whether to sort the preferred locales to the beginning of the listL10nLocale instances available for user interface localizationpublic static void initEnvironment(Transaction tx)
public static void initEnvironment(Transaction tx, boolean authoritative)
public static void initEnvironment(BOLoaderI rcl)
public java.text.MessageFormat getMessageFormat(java.lang.String pattern)
public static void setDefaultLocale(L10nLocale l)
public static L10nLocale getDefaultLocale()
public static L10nLocale getDefaultLocale(java.util.List plocales)
public static L10nLocale getDefaultLocale(java.util.List plocales, BOLoaderI _bol)
@Deprecated public static L10nLocale getInstance(java.util.Locale l)
byLocale(Locale, boolean, boolean, BOLoaderI)public static L10nLocale getInstance(java.util.Locale l, boolean nullIfNotFound)
public static L10nLocale getInstance(java.util.Locale l, boolean nullIfNotFound, boolean notAvailableToo)
public static L10nLocale getInstance(java.util.Locale l, boolean nullIfNotFound, boolean notAvailableToo, BOLoaderI _bol)
public static L10nLocale byLocale(java.util.Locale l)
l - the Locale for which an L10nLocale shall be returnednullIfNotFound - a boolean, if true specifying that null shall be returned if no L10nLocale is found,
if false that the fallbackLocale shall be returned insteadnotAvailableToo - a boolean specifying if marked as unavailable L10nLocale-s shall be searched and returned, too;
please note that if no available L10nLocale-s are found, unavailable L10nLocale-s will be searched and returned
nonetheless_bol - a BOLoaderI (optional) that shall be used as loader for the L10nLocale objectsjava.lang.IllegalArgumentException - if no L10nLocale-s are present / available at allpublic static L10nLocale byLocale(java.util.Locale l, boolean nullIfNotFound)
public static L10nLocale byLocale(java.util.Locale l, boolean nullIfNotFound, boolean notAvailableToo)
public static L10nLocale byLocale(java.util.Locale l, boolean nullIfNotFound, boolean notAvailableToo, BOLoaderI _bol)
public static BOLoaderI getCacheLoader()
public java.lang.String getISONameFull()
getISONameFull in class de.ipcon.db.core.L10nLocaleBasepublic boolean fits(L10nLocale l)
public void outputIntoElement(electric.xml.Element root)
outputIntoElement in interface XMLExportableIpublic void outputIntoElement(electric.xml.Element root,
boolean _withBotName)
outputIntoElement in interface XMLExportableIpublic PairStorage getPairStorage(electric.xml.Element _el)
XMLExportableIgetPairStorage in interface XMLExportableICopyright © 2000-2026 OAshi S.à r.l. All Rights Reserved.