public interface CacheItem
Modifier and Type | Method and Description |
---|---|
Urn |
getId()
Returns the
Urn representing id of the related entity |
Map<Locale,String> |
getNames(List<Locale> locales)
Returns the
Map containing translated names of the item |
boolean |
hasTranslationsLoadedFor(List<Locale> localeList)
Determines whether the current instance has translations for the specified languages
|
<T> void |
merge(T endpointData,
Locale dataLocale) |
Urn getId()
Urn
representing id of the related entityUrn
representing id of the related entityMap<Locale,String> getNames(List<Locale> locales)
Map
containing translated names of the itemboolean hasTranslationsLoadedFor(List<Locale> localeList)
localeList
- a List
specifying the required languagestrue
if the current instance contains data in the required locals, otherwise false
.<T> void merge(T endpointData, Locale dataLocale)
Copyright © 2016–2025. All rights reserved.