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_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_MyTISMBenachrichtigungsAuftraege, ATT_Parent, ATT_StandardVonReports, ENT_L10nLocale
ATT_AlsAntwortAnBeiAuftraegen, ATT_AlsEmpfaengerBCCBeiAuftraegen, ATT_AlsEmpfaengerBeiAuftraegen, ATT_AlsEmpfaengerCCBeiAuftraegen, ATT_AlsKontextBOBeiAuftraegen, ATT_WirdAlsAntwortAnVerwendetBeiAlarmen, ATT_WirdBenachrichtigtBCCBeiAlarm, ATT_WirdBenachrichtigtBeiAlarm, ATT_WirdBenachrichtigtCCBeiAlarm, ENT_CoreBO
BLOB_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_ITERATOR
ATT_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 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 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) |
void |
verifyOnClient(BasicClientContextI _ctx) |
addChild, addEntry, addMoeglichInReport, addMyTISMBenachrichtigungsAuftrag, addStandardVonReport, copyFrom, copyFrom, equalPayload, getAvailable, getAvailableForUserInterface, getAvailableForUserInterfaceNN, getAvailableForUserInterfaceNN, getAvailableNN, getAvailableNN, 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, getMyTISMBenachrichtigungsAuftraege, getMyTISMBenachrichtigungsAuftraegeIterator, getParent, getStandardVonReports, getStandardVonReportsIterator, istAvailable, istAvailableForUserInterface, needAvailable, needAvailableForUserInterface, needDisplayCountry, needDisplayCountrySelf, needDisplayLanguage, needDisplayLanguageSelf, needDisplayName, needDisplayNameSelf, needDisplayVariant, needDisplayVariantSelf, needISO2TLanguage, needISOCountry, needISOLanguage, needISONameFull, needISOVariant, needParent, needPopulatedChildren, needPopulatedEntries, needPopulatedMoeglichInReports, needPopulatedMyTISMBenachrichtigungsAuftraege, needPopulatedStandardVonReports, pgetChildrenLazy, pgetEntriesLazy, pgetMoeglichInReportsLazy, pgetMyTISMBenachrichtigungsAuftraegeLazy, pgetStandardVonReportsLazy, readExternal, removeChild, removeEntry, removeMoeglichInReport, removeMyTISMBenachrichtigungsAuftrag, removeStandardVonReport, setAvailable, setAvailableForUserInterface, setBOLoader, setChildren, setEntries, setISO2TLanguage, setMoeglichInReports, setMyTISMBenachrichtigungsAuftraege, setParent, setStandardVonReports, slim, slim, writeExternal
addAlsAntwortAnBeiAuftrag, addAlsEmpfaengerBCCBeiAuftrag, addAlsEmpfaengerBeiAuftrag, addAlsEmpfaengerCCBeiAuftrag, addAlsKontextBOBeiAuftrag, addWirdAlsAntwortAnVerwendetBeiAlarm, addWirdBenachrichtigtBCCBeiAlarm, addWirdBenachrichtigtBeiAlarm, addWirdBenachrichtigtCCBeiAlarm, getAlsAntwortAnBeiAuftraegen, getAlsAntwortAnBeiAuftraegenIterator, getAlsEmpfaengerBCCBeiAuftraegen, getAlsEmpfaengerBCCBeiAuftraegenIterator, getAlsEmpfaengerBeiAuftraegen, getAlsEmpfaengerBeiAuftraegenIterator, getAlsEmpfaengerCCBeiAuftraegen, getAlsEmpfaengerCCBeiAuftraegenIterator, getAlsKontextBOBeiAuftraegen, getAlsKontextBOBeiAuftraegenIterator, getWirdAlsAntwortAnVerwendetBeiAlarmen, getWirdAlsAntwortAnVerwendetBeiAlarmenIterator, getWirdBenachrichtigtBCCBeiAlarm, getWirdBenachrichtigtBCCBeiAlarmIterator, getWirdBenachrichtigtBeiAlarm, getWirdBenachrichtigtBeiAlarmIterator, getWirdBenachrichtigtCCBeiAlarm, getWirdBenachrichtigtCCBeiAlarmIterator, needPopulatedAlsAntwortAnBeiAuftraegen, needPopulatedAlsEmpfaengerBCCBeiAuftraegen, needPopulatedAlsEmpfaengerBeiAuftraegen, needPopulatedAlsEmpfaengerCCBeiAuftraegen, needPopulatedAlsKontextBOBeiAuftraegen, needPopulatedWirdAlsAntwortAnVerwendetBeiAlarmen, needPopulatedWirdBenachrichtigtBCCBeiAlarm, needPopulatedWirdBenachrichtigtBeiAlarm, needPopulatedWirdBenachrichtigtCCBeiAlarm, pgetAlsAntwortAnBeiAuftraegenLazy, pgetAlsEmpfaengerBCCBeiAuftraegenLazy, pgetAlsEmpfaengerBeiAuftraegenLazy, pgetAlsEmpfaengerCCBeiAuftraegenLazy, pgetAlsKontextBOBeiAuftraegenLazy, pgetWirdAlsAntwortAnVerwendetBeiAlarmenLazy, pgetWirdBenachrichtigtBCCBeiAlarmLazy, pgetWirdBenachrichtigtBeiAlarmLazy, pgetWirdBenachrichtigtCCBeiAlarmLazy, removeAlsAntwortAnBeiAuftrag, removeAlsEmpfaengerBCCBeiAuftrag, removeAlsEmpfaengerBeiAuftrag, removeAlsEmpfaengerCCBeiAuftrag, removeAlsKontextBOBeiAuftrag, removeWirdAlsAntwortAnVerwendetBeiAlarm, removeWirdBenachrichtigtBCCBeiAlarm, removeWirdBenachrichtigtBeiAlarm, removeWirdBenachrichtigtCCBeiAlarm, setAlsAntwortAnBeiAuftraegen, setAlsEmpfaengerBCCBeiAuftraegen, setAlsEmpfaengerBeiAuftraegen, setAlsEmpfaengerCCBeiAuftraegen, setAlsKontextBOBeiAuftraegen, setWirdAlsAntwortAnVerwendetBeiAlarmen, setWirdBenachrichtigtBCCBeiAlarm, setWirdBenachrichtigtBeiAlarm, setWirdBenachrichtigtCCBeiAlarm
_set, $, $, $, $$, $$bo, $$o, $$r, $$ri, $$ri, acquireTxWriteLock, add, afterSaveOnClient, afterSaveOnServer, afterVerifyOnClient, afterVerifyOnServer, 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, filterDeleted, filterDeleted, filterDeleted, 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, 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, toString, undelete, verifyOnServer, wrapIfGroovy
getCrea, getLdel, getLmod, isDeleted, isLdel, setCrea, setLdel, setLdel, setLmod
getInstanceSpecificLocale, getInstanceSpecificPaths, l10n, l10n, l10n, l10n, l10n, l10n, l10n
bumpVersion, cancelCheckConstraints, consumeAndAssureTransientPropertyExists, contains, equalsBO, equalsBO, getAttribute, getAttribute, getBLOB, getBLOB, getBOVersion, getClazz, getCrea, getEntity, getEntity, getRootLoaderSchema, getSchema, getTransientProperty, hasBLOB, hasTransientProperty, hasTransientPropertyUnfiltered, isDeleted, isMandatory, isNew, isReadOnly, isSubEntityOf, isSubEntityOf, isTemporary, isVisible, setTransientProperty, toRelationMapRO
collectIds, collectIds, getCommaSeparatedIdList, getId, toMap, toMap
collectDescribe, collectDescribe, conciseDesc, conciseDesc, conciseDesc, conciseDesc, conciseDesc, conciseDesc, conciseDesc, conciseDesc, describe, describe, describe, describe, describeAndConciseDesc, describeAndConciseDesc, describeAndConciseDesc, describeAndConciseDesc, describeAndConciseDesc, describeNE, describeNE, join, join, join, notEmptyDescription
public 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(BasicClientContextI _ctx)
verifyOnClient
in interface SaveVetoI
verifyOnClient
in class BO
public int compareTo(java.lang.Object _obj)
compareTo
in interface java.lang.Comparable
public void setISOLanguage(java.lang.String s)
setISOLanguage
in class de.ipcon.db.core.L10nLocaleBase
public void setISOCountry(java.lang.String s)
setISOCountry
in class de.ipcon.db.core.L10nLocaleBase
public void setISOVariant(java.lang.String s)
setISOVariant
in class de.ipcon.db.core.L10nLocaleBase
public void invalidateCachedInstances()
public java.util.Locale getLocale()
public java.lang.String getDisplayLanguage()
getDisplayLanguage
in class de.ipcon.db.core.L10nLocaleBase
public java.lang.String getDisplayLanguage(java.util.Locale _l)
public java.lang.String getDisplayLanguageSelf()
getDisplayLanguageSelf
in class de.ipcon.db.core.L10nLocaleBase
public java.lang.String getDisplayCountry()
getDisplayCountry
in class de.ipcon.db.core.L10nLocaleBase
public java.lang.String getDisplayCountry(java.util.Locale _l)
public java.lang.String getDisplayCountrySelf()
getDisplayCountrySelf
in class de.ipcon.db.core.L10nLocaleBase
public java.lang.String getDisplayVariant()
getDisplayVariant
in class de.ipcon.db.core.L10nLocaleBase
public java.lang.String getDisplayVariant(java.util.Locale _l)
public java.lang.String getDisplayVariantSelf()
getDisplayVariantSelf
in class de.ipcon.db.core.L10nLocaleBase
public java.lang.String getDisplayName()
getDisplayName
in class de.ipcon.db.core.L10nLocaleBase
public java.lang.String getDisplayName(java.util.Locale _l)
public java.lang.String getDisplayNameSelf()
getDisplayNameSelf
in class de.ipcon.db.core.L10nLocaleBase
public 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.L10nLocaleBase
public boolean fits(L10nLocale l)
public void outputIntoElement(electric.xml.Element root)
outputIntoElement
in interface XMLExportableI
public void outputIntoElement(electric.xml.Element root, boolean _withBotName)
outputIntoElement
in interface XMLExportableI
public PairStorage getPairStorage(electric.xml.Element _el)
XMLExportableI
getPairStorage
in interface XMLExportableI
Copyright © 2000-2025 OAshi S.à r.l. All Rights Reserved.