public class L10nResource
extends de.ipcon.db.core.L10nResourceBase
L10nBundles.
Keys for these resources are subject to validation, adhering to a specific format
(e.g., no spaces, as defined by L10n.validResourceKeyPattern).
The actual translated values are managed within associated L10nEntry objects.
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
BACKGROUND_COLOR_CORE
The hexadecimal color code for localization resources belonging to the core scope.
|
static java.lang.String |
BACKGROUND_COLOR_FOLDERS
The hexadecimal color code for localization resources representing folder resources.
|
static java.lang.String |
BACKGROUND_COLOR_MODULE
The hexadecimal color code for localization resources belonging to a module scope.
|
static java.lang.String |
BACKGROUND_COLOR_PROJECT
The hexadecimal color code for localization resources belonging to the project scope.
|
ATT_AttributeNameKey, ATT_AttributeSingularKey, ATT_Bundle, ATT_ColorCode, ATT_CoreAttributeNameKey, ATT_CoreAttributeSingularKey, ATT_CoreEntityNameKey, ATT_CoreEntityPluralKey, ATT_CoreKey, ATT_DefaultLocaleValue, ATT_EntityNameKey, ATT_EntityPluralKey, ATT_Entries, ATT_FolderResource, ATT_Key, ATT_Locale1RelatedParentBOEntries, ATT_Locale1Value, ATT_Locale2RelatedParentBOEntries, ATT_Locale2Value, ATT_Locale3RelatedParentBOEntries, ATT_Locale3Value, ATT_ModuleAttributeNameKey, ATT_ModuleAttributeSingularKey, ATT_ModuleEntityNameKey, ATT_ModuleEntityPluralKey, ATT_ModuleKey, ATT_ProjectAttributeNameKey, ATT_ProjectAttributeSingularKey, ATT_ProjectBOResource, ATT_ProjectEntityNameKey, ATT_ProjectEntityPluralKey, ATT_ProjectKey, ENT_L10nResourceATT_AlsAntwortAnBeiAuftraegen, 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 |
|---|
L10nResource() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
_getColorCode()
Returns an HTML string representing a color-coded background, based on the localization key's origin or type.
|
java.lang.Boolean |
_getCoreAttributeNameKey()
Checks if this localization resource's key is an attribute name key originating from the core.
|
java.lang.Boolean |
_getCoreAttributeSingularKey()
Checks if this localization resource's key is an attribute singular key originating from the core.
|
java.lang.Boolean |
_getCoreEntityNameKey()
Checks if this localization resource's key is an entity name key originating from the core.
|
java.lang.Boolean |
_getCoreEntityPluralKey()
Checks if this localization resource's key is an entity plural key originating from the core.
|
java.lang.Boolean |
_getFolderResource()
Checks if this localization resource represents a folder key.
|
java.util.Map<java.lang.Long,L10nEntry> |
_getLocale1RelatedParentBOEntries() |
java.util.Map<java.lang.Long,L10nEntry> |
_getLocale2RelatedParentBOEntries() |
java.util.Map<java.lang.Long,L10nEntry> |
_getLocale3RelatedParentBOEntries() |
java.lang.Boolean |
_getModuleAttributeNameKey()
Checks if this localization resource's key is an attribute name key originating from a module.
|
java.lang.Boolean |
_getModuleAttributeSingularKey()
Checks if this localization resource's key is an attribute singular key originating from a module.
|
java.lang.Boolean |
_getModuleEntityNameKey()
Checks if this localization resource's key is an entity name key originating from a module.
|
java.lang.Boolean |
_getModuleEntityPluralKey()
Checks if this localization resource's key is an entity plural key originating from a module.
|
java.lang.Boolean |
_getProjectAttributeNameKey()
Checks if this localization resource's key is an attribute name key originating from the project.
|
java.lang.Boolean |
_getProjectAttributeSingularKey()
Checks if this localization resource's key is an attribute singular key originating from the project.
|
java.lang.Boolean |
_getProjectBOResource()
Checks if this localization resource belongs to a project-specific Business Object (BO) bundle.
|
java.lang.Boolean |
_getProjectEntityNameKey()
Checks if this localization resource's key is an entity name key originating from the project.
|
java.lang.Boolean |
_getProjectEntityPluralKey()
Checks if this localization resource's key is an entity plural key originating from the project.
|
void |
afterVerifyOnServer(java.lang.Long nodeNumber,
Benutzer user,
Transaction tx) |
void |
createOrUpdateDefaultEntries(java.lang.String withText)
Creates or updates default
L10nEntry objects in all currently available languages
(locales) for this resource, using the same provided text. |
void |
delete()
Recursively marks this and any BOIs in dependent many-relations as (soft) deleted.
|
java.lang.String |
getDefaultLocaleValue() |
L10nEntry |
getEntryForLocale(L10nLocale locale,
boolean lookupParentLocaleWhenNotFound) |
java.lang.String |
getLocale1Value() |
java.lang.String |
getLocale2Value() |
java.lang.String |
getLocale3Value() |
java.lang.String |
getOrigin() |
java.lang.String |
getValueForLocale(L10nLocale l,
boolean lookupParentLocaleWhenNotFound) |
static boolean |
isCoreAttributeNameKey(BOLoaderI bol,
java.lang.String key)
Checks if the passed key is an attribute name key originating from the core.
|
static boolean |
isCoreAttributeSingularKey(BOLoaderI bol,
java.lang.String key)
Checks if the passed key is an attribute singular key originating from the core.
|
static boolean |
isCoreEntityNameKey(BOLoaderI bol,
java.lang.String key)
Checks if the passed key is an entity name key originating from the core.
|
static boolean |
isCoreEntityPluralKey(BOLoaderI bol,
java.lang.String key)
Checks if the passed key is an entity plural key originating from the core.
|
static boolean |
isCoreKey(BOLoaderI bol,
java.lang.String key)
Checks if a given localization key is identified as a core Business Object (BO) related key.
|
static boolean |
isModuleAttributeNameKey(BOLoaderI bol,
java.lang.String key)
Checks if the passed key is an attribute name key originating from a module.
|
static boolean |
isModuleAttributeSingularKey(BOLoaderI bol,
java.lang.String key)
Checks if the passed key is an attribute singular key originating from a module.
|
static boolean |
isModuleEntityNameKey(BOLoaderI bol,
java.lang.String key)
Checks if the passed key is an entity name key originating from a module.
|
static boolean |
isModuleEntityPluralKey(BOLoaderI bol,
java.lang.String key)
Checks if the passed key is an entity plural key originating from a module.
|
static boolean |
isModuleKey(BOLoaderI bol,
java.lang.String key)
Checks if a given localization key is identified as a module Business Object (BO) related key.
|
static boolean |
isProjectAttributeNameKey(BOLoaderI bol,
java.lang.String key)
Checks if the passed key is an attribute name key originating from the project.
|
static boolean |
isProjectAttributeSingularKey(BOLoaderI bol,
java.lang.String key)
Checks if the passed key is an attribute singular key originating from the project.
|
static boolean |
isProjectEntityNameKey(BOLoaderI bol,
java.lang.String key)
Checks if the passed key is an entity name key originating from the project.
|
static boolean |
isProjectEntityPluralKey(BOLoaderI bol,
java.lang.String key)
Checks if the passed key is an entity plural key originating from the project.
|
void |
removeDuplicateEntries()
Removes multiple
L10nEntry objects that exist for the same locale within this resource,
retaining only the entry that was modified most recently. |
void |
removeEmptyEntries()
Removes all empty
L10nEntry objects associated with this resource. |
void |
setKey(java.lang.String key) |
void |
setLocale1Value(java.lang.String s) |
void |
setLocale2Value(java.lang.String s) |
void |
setLocale3Value(java.lang.String s) |
void |
setOrigin(java.lang.String $32) |
void |
setValueForLocale(L10nLocale l,
java.lang.String value)
Sets or updates the "message" value for a specific
L10nLocale within this resource. |
void |
setValueForLocale(L10nLocale l,
java.lang.String value,
boolean allowClearing) |
L10nResource |
unlazyForGraphCaching() |
void |
verifyOnServer(java.lang.Long nodeNumber,
Benutzer user,
Transaction tx) |
_getAttributeNameKey, _getAttributeSingularKey, _getCoreKey, _getEntityNameKey, _getEntityPluralKey, _getModuleKey, _getProjectKey, addEntry, copyFrom, copyFrom, equalPayload, getAttributeNameKey, getAttributeNameKeyNN, getAttributeNameKeyNN, getAttributeSingularKey, getAttributeSingularKeyNN, getAttributeSingularKeyNN, getBundle, getColorCode, getColorCodeNE, getColorCodeNN, getColorCodeNN, getCoreAttributeNameKey, getCoreAttributeNameKeyNN, getCoreAttributeNameKeyNN, getCoreAttributeSingularKey, getCoreAttributeSingularKeyNN, getCoreAttributeSingularKeyNN, getCoreEntityNameKey, getCoreEntityNameKeyNN, getCoreEntityNameKeyNN, getCoreEntityPluralKey, getCoreEntityPluralKeyNN, getCoreEntityPluralKeyNN, getCoreKey, getCoreKeyNN, getCoreKeyNN, getDefaultLocaleValueNE, getDefaultLocaleValueNN, getDefaultLocaleValueNN, getEntityNameKey, getEntityNameKeyNN, getEntityNameKeyNN, getEntityPluralKey, getEntityPluralKeyNN, getEntityPluralKeyNN, getEntries, getEntriesIterator, getFolderResource, getFolderResourceNN, getFolderResourceNN, getKey, getKeyNE, getKeyNN, getKeyNN, getLocale1RelatedParentBOEntries, getLocale1RelatedParentBOEntriesIterator, getLocale1ValueNE, getLocale1ValueNN, getLocale1ValueNN, getLocale2RelatedParentBOEntries, getLocale2RelatedParentBOEntriesIterator, getLocale2ValueNE, getLocale2ValueNN, getLocale2ValueNN, getLocale3RelatedParentBOEntries, getLocale3RelatedParentBOEntriesIterator, getLocale3ValueNE, getLocale3ValueNN, getLocale3ValueNN, getModuleAttributeNameKey, getModuleAttributeNameKeyNN, getModuleAttributeNameKeyNN, getModuleAttributeSingularKey, getModuleAttributeSingularKeyNN, getModuleAttributeSingularKeyNN, getModuleEntityNameKey, getModuleEntityNameKeyNN, getModuleEntityNameKeyNN, getModuleEntityPluralKey, getModuleEntityPluralKeyNN, getModuleEntityPluralKeyNN, getModuleKey, getModuleKeyNN, getModuleKeyNN, getProjectAttributeNameKey, getProjectAttributeNameKeyNN, getProjectAttributeNameKeyNN, getProjectAttributeSingularKey, getProjectAttributeSingularKeyNN, getProjectAttributeSingularKeyNN, getProjectBOResource, getProjectBOResourceNN, getProjectBOResourceNN, getProjectEntityNameKey, getProjectEntityNameKeyNN, getProjectEntityNameKeyNN, getProjectEntityPluralKey, getProjectEntityPluralKeyNN, getProjectEntityPluralKeyNN, getProjectKey, getProjectKeyNN, getProjectKeyNN, istAttributeNameKey, istAttributeSingularKey, istCoreAttributeNameKey, istCoreAttributeSingularKey, istCoreEntityNameKey, istCoreEntityPluralKey, istCoreKey, istEntityNameKey, istEntityPluralKey, istFolderResource, istModuleAttributeNameKey, istModuleAttributeSingularKey, istModuleEntityNameKey, istModuleEntityPluralKey, istModuleKey, istProjectAttributeNameKey, istProjectAttributeSingularKey, istProjectBOResource, istProjectEntityNameKey, istProjectEntityPluralKey, istProjectKey, needAttributeNameKey, needAttributeSingularKey, needBundle, needColorCode, needCoreAttributeNameKey, needCoreAttributeSingularKey, needCoreEntityNameKey, needCoreEntityPluralKey, needCoreKey, needDefaultLocaleValue, needEntityNameKey, needEntityPluralKey, needFolderResource, needKey, needLocale1Value, needLocale2Value, needLocale3Value, needModuleAttributeNameKey, needModuleAttributeSingularKey, needModuleEntityNameKey, needModuleEntityPluralKey, needModuleKey, needPopulatedEntries, needPopulatedLocale1RelatedParentBOEntries, needPopulatedLocale2RelatedParentBOEntries, needPopulatedLocale3RelatedParentBOEntries, needProjectAttributeNameKey, needProjectAttributeSingularKey, needProjectBOResource, needProjectEntityNameKey, needProjectEntityPluralKey, needProjectKey, pgetEntriesLazy, readExternal, removeEntry, setBOLoader, setBundle, setEntries, slim, slim, writeExternaladdAlsAntwortAnBeiAuftrag, 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, 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, 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, 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, toString, undelete, verifyOnClient, wrapIfGroovygetCrea, getLdel, getLmod, isDeleted, isLdel, setCrea, setLdel, setLdel, setLmodgetInstanceSpecificLocale, getInstanceSpecificPaths, l10n, l10n, l10n, l10n, l10n, l10n, l10nbumpVersion, cancelCheckConstraints, consumeAndAssureTransientPropertyExists, contains, equalsBO, equalsBO, filterDeleted, filterDeleted, filterDeleted, filterDeleted, filterDeletedAndReturnMap, filterDeletedAndReturnMap, getAttribute, getAttribute, getBLOB, getBLOB, getBOVersion, getClazz, getCrea, getEntity, getEntity, getRootLoaderSchema, getSchema, getTransientProperty, 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 BACKGROUND_COLOR_FOLDERS
public static final java.lang.String BACKGROUND_COLOR_PROJECT
public static final java.lang.String BACKGROUND_COLOR_MODULE
public static final java.lang.String BACKGROUND_COLOR_CORE
public static final boolean isCoreKey(BOLoaderI bol, java.lang.String key)
This method determines if the key corresponds to:
It aggregates the results from specific checks for each of these core categories.
bol - The BOLoaderI to use for schema lookups.key - The localization key (String) to check.true if the key is identified as a core BO-related key, false otherwise.public static final boolean isModuleKey(BOLoaderI bol, java.lang.String key)
This method determines if the key corresponds to:
It aggregates the results from specific checks for each of these module categories.
bol - The BOLoaderI to use for schema lookups.key - The localization key (String) to check.true if the key is identified as a module BO-related key, false otherwise.public static final boolean isCoreEntityNameKey(BOLoaderI bol, java.lang.String key)
bol - The BOLoaderI for loading the schema with.key - The key to check.true if the key is a core entity name key, false otherwise.isKeyFitsEntityKeyNamingConventions(String),
isFittingEntityKey(String, List, Function)public static final boolean isCoreEntityPluralKey(BOLoaderI bol, java.lang.String key)
bol - The BOLoaderI for loading the schema with.key - The key to check.true if the key is a core entity plural key, false otherwise.isKeyFitsEntityPluralKeyNamingConventions(String),
isFittingEntityKey(String, List, Function)public static final boolean isCoreAttributeNameKey(BOLoaderI bol, java.lang.String key)
bol - The BOLoaderI for loading the schema with.key - The key to check.true if the key is a core attribute name key, false otherwise.#isFittingAttributeKey(String, List, Function)public static final boolean isCoreAttributeSingularKey(BOLoaderI bol, java.lang.String key)
bol - The BOLoaderI for loading the schema with.key - The key to check.true if the key is a core attribute singular key, false otherwise.#isFittingAttributeKey(String, List, Function)public static final boolean isModuleEntityNameKey(BOLoaderI bol, java.lang.String key)
bol - The BOLoaderI for loading the schema with.key - The key to check.true if the key is a module entity name key, false otherwise.isKeyFitsEntityKeyNamingConventions(String),
isFittingEntityKey(String, List, Function)public static final boolean isModuleEntityPluralKey(BOLoaderI bol, java.lang.String key)
bol - The BOLoaderI for loading the schema with.key - The key to check.true if the key is a module entity plural key, false otherwise.isKeyFitsEntityPluralKeyNamingConventions(String),
isFittingEntityKey(String, List, Function)public static final boolean isModuleAttributeNameKey(BOLoaderI bol, java.lang.String key)
bol - The BOLoaderI for loading the schema with.key - The key to check.true if the key is a module attribute name key, false otherwise.#isFittingAttributeKey(String, List, Function)public static final boolean isModuleAttributeSingularKey(BOLoaderI bol, java.lang.String key)
bol - The BOLoaderI for loading the schema with.key - The key to check.true if the key is a module attribute singular key, false otherwise.#isFittingAttributeKey(String, List, Function)public static final boolean isProjectEntityNameKey(BOLoaderI bol, java.lang.String key)
bol - The BOLoaderI for loading the schema with.key - The key to check.true if the key is a project entity name key, false otherwise.isKeyFitsEntityKeyNamingConventions(String),
isFittingEntityKey(String, List, Function)public static final boolean isProjectEntityPluralKey(BOLoaderI bol, java.lang.String key)
bol - The BOLoaderI for loading the schema with.key - The key to check.true if the key is a project entity plural key, false otherwise.isKeyFitsEntityPluralKeyNamingConventions(String),
isFittingEntityKey(String, List, Function)public static final boolean isProjectAttributeNameKey(BOLoaderI bol, java.lang.String key)
bol - The BOLoaderI for loading the schema with.key - The key to check.true if the key is a project attribute name key, false otherwise.#isFittingAttributeKey(String, List, Function)public static final boolean isProjectAttributeSingularKey(BOLoaderI bol, java.lang.String key)
bol - The BOLoaderI for loading the schema with.key - The key to check.true if the key is a project attribute singular key, false otherwise.#isFittingAttributeKey(String, List, Function)public void delete()
BOIpublic void verifyOnServer(java.lang.Long nodeNumber,
Benutzer user,
Transaction tx)
verifyOnServer in interface SaveVetoIverifyOnServer in class BOpublic void afterVerifyOnServer(java.lang.Long nodeNumber,
Benutzer user,
Transaction tx)
afterVerifyOnServer in interface SaveAwareIafterVerifyOnServer in class BOpublic void setKey(java.lang.String key)
setKey in class de.ipcon.db.core.L10nResourceBasepublic java.lang.String _getColorCode()
This method determines a color code for the key using #getColorCodeHexString().
If a specific color code is found, it generates an HTML string with a <body> tag
whose background color is set. The HTML string includes non-breaking spaces
( ) to ensure the background color is visible even without content.
This HTML snippet is typically used in user interfaces or displays that render HTML to provide a visual indicator of a localization key's origin (project, module, core) or its type (e.g., folder resource).
_getColorCode in class de.ipcon.db.core.L10nResourceBase<html><body style="background:#RRGGBB"> </body></html>),
or null if no relevant color is determined.public java.lang.Boolean _getProjectBOResource()
getBundle())
exists and is identified as a project BO bundle._getProjectBOResource in class de.ipcon.db.core.L10nResourceBasetrue if the resource's bundle is a project BO bundle, false otherwise.public java.lang.Boolean _getFolderResource()
_getFolderResource in class de.ipcon.db.core.L10nResourceBasetrue if the resource is a folder key within a BO bundle, false otherwise.public java.lang.Boolean _getCoreEntityNameKey()
_getCoreEntityNameKey in class de.ipcon.db.core.L10nResourceBasetrue if the key is a core entity name key, false otherwise.isCoreEntityNameKey(BOLoaderI, String)public java.lang.Boolean _getCoreEntityPluralKey()
_getCoreEntityPluralKey in class de.ipcon.db.core.L10nResourceBasetrue if the key is a core entity plural key, false otherwise.isCoreEntityPluralKey(BOLoaderI, String)public java.lang.Boolean _getCoreAttributeNameKey()
_getCoreAttributeNameKey in class de.ipcon.db.core.L10nResourceBasetrue if the key is a core attribute name key, false otherwise.isCoreAttributeNameKey(BOLoaderI, String)public java.lang.Boolean _getCoreAttributeSingularKey()
_getCoreAttributeSingularKey in class de.ipcon.db.core.L10nResourceBasetrue if the key is a core attribute singular key, false otherwise.isCoreAttributeSingularKey(BOLoaderI, String)public java.lang.Boolean _getModuleEntityNameKey()
_getModuleEntityNameKey in class de.ipcon.db.core.L10nResourceBasetrue if the key is a module entity name key, false otherwise.isModuleEntityNameKey(BOLoaderI, String)public java.lang.Boolean _getModuleEntityPluralKey()
_getModuleEntityPluralKey in class de.ipcon.db.core.L10nResourceBasetrue if the key is a module entity plural key, false otherwise.isModuleEntityPluralKey(BOLoaderI, String)public java.lang.Boolean _getModuleAttributeNameKey()
_getModuleAttributeNameKey in class de.ipcon.db.core.L10nResourceBasetrue if the key is a module attribute name key, false otherwise.isModuleAttributeNameKey(BOLoaderI, String)public java.lang.Boolean _getModuleAttributeSingularKey()
_getModuleAttributeSingularKey in class de.ipcon.db.core.L10nResourceBasetrue if the key is a module attribute singular key, false otherwise.isModuleAttributeSingularKey(BOLoaderI, String)public java.lang.Boolean _getProjectEntityNameKey()
_getProjectEntityNameKey in class de.ipcon.db.core.L10nResourceBasetrue if the key is a project entity name key, false otherwise.isProjectEntityNameKey(BOLoaderI, String)public java.lang.Boolean _getProjectEntityPluralKey()
_getProjectEntityPluralKey in class de.ipcon.db.core.L10nResourceBasetrue if the key is a project entity plural key, false otherwise.isProjectEntityPluralKey(BOLoaderI, String)public java.lang.Boolean _getProjectAttributeNameKey()
_getProjectAttributeNameKey in class de.ipcon.db.core.L10nResourceBasetrue if the key is a project attribute name key, false otherwise.isProjectAttributeNameKey(BOLoaderI, String)public java.lang.Boolean _getProjectAttributeSingularKey()
_getProjectAttributeSingularKey in class de.ipcon.db.core.L10nResourceBasetrue if the key is a project attribute singular key, false otherwise.isProjectAttributeSingularKey(BOLoaderI, String)public java.lang.String getDefaultLocaleValue()
getDefaultLocaleValue in class de.ipcon.db.core.L10nResourceBasepublic java.lang.String getLocale1Value()
getLocale1Value in class de.ipcon.db.core.L10nResourceBasepublic void setLocale1Value(java.lang.String s)
setLocale1Value in class de.ipcon.db.core.L10nResourceBasepublic java.lang.String getLocale2Value()
getLocale2Value in class de.ipcon.db.core.L10nResourceBasepublic void setLocale2Value(java.lang.String s)
setLocale2Value in class de.ipcon.db.core.L10nResourceBasepublic java.lang.String getLocale3Value()
getLocale3Value in class de.ipcon.db.core.L10nResourceBasepublic void setLocale3Value(java.lang.String s)
setLocale3Value in class de.ipcon.db.core.L10nResourceBasepublic java.util.Map<java.lang.Long,L10nEntry> _getLocale1RelatedParentBOEntries()
_getLocale1RelatedParentBOEntries in class de.ipcon.db.core.L10nResourceBasepublic java.util.Map<java.lang.Long,L10nEntry> _getLocale2RelatedParentBOEntries()
_getLocale2RelatedParentBOEntries in class de.ipcon.db.core.L10nResourceBasepublic java.util.Map<java.lang.Long,L10nEntry> _getLocale3RelatedParentBOEntries()
_getLocale3RelatedParentBOEntries in class de.ipcon.db.core.L10nResourceBasepublic java.lang.String getValueForLocale(L10nLocale l, boolean lookupParentLocaleWhenNotFound)
public void setValueForLocale(L10nLocale l, java.lang.String value)
L10nLocale within this resource.l - The L10nLocale for which an L10nEntry should be created or updated.value - The "message" value (translation string) that should be set for the given locale.allowClearing - If true (the default), allows overwriting an existing non-null, non-empty value
in an existing L10nEntry with a null or empty value.
If false, the old non-null, non-empty value will be preserved in such cases.public void setValueForLocale(L10nLocale l, java.lang.String value, boolean allowClearing)
public L10nEntry getEntryForLocale(L10nLocale locale, boolean lookupParentLocaleWhenNotFound)
public L10nResource unlazyForGraphCaching()
public void removeDuplicateEntries()
L10nEntry objects that exist for the same locale within this resource,
retaining only the entry that was modified most recently. This helps in resolving data inconsistencies.public void removeEmptyEntries()
L10nEntry objects associated with this resource.
An entry is considered "empty" if its translation value is null or an empty string.
This method iterates through a copy of the entries to prevent
ConcurrentModificationException during removal.public void createOrUpdateDefaultEntries(java.lang.String withText)
L10nEntry objects in all currently available languages
(locales) for this resource, using the same provided text.
CAUTION: This method will overwrite existing entries even if they contain a "proper" (manually created or professionally translated) translation. Use with care, typically for initial setup or to ensure a fallback text is present across all locales.
withText - The default text to set for all L10n entries for this resource across all locales.public java.lang.String getOrigin()
public void setOrigin(java.lang.String $32)
Copyright © 2000-2025 OAshi S.à r.l. All Rights Reserved.