Modifier and Type | Method and Description |
---|---|
Map<Language,Message> |
LocalizationManagement.getAvailableLanguages(String messageKey,
boolean resourceBundleFallback)
Return for a given message key the localized message for each of the currently available
languages
|
Modifier and Type | Method and Description |
---|---|
Collection<Language> |
CommunoteTool.getLanguages()
Delegates to
MasterDataManagement.getLanguages() |
Collection<Language> |
CommunoteTool.getUsedLanguages()
Delegates to
MasterDataManagement.getUsedLanguages() |
Modifier and Type | Method and Description |
---|---|
Language |
MasterDataManagementBase.findLanguageByCode(String languageCode) |
Language |
MasterDataManagement.findLanguageByCode(String languageCode)
Finds a language by the language code.
|
protected Language |
MasterDataManagementImpl.handleFindLanguageByCode(String languageCode)
Performs the core logic for
MasterDataManagementBase.findLanguageByCode(String) |
protected abstract Language |
MasterDataManagementBase.handleFindLanguageByCode(String languageCode)
Performs the core logic for
MasterDataManagementBase.findLanguageByCode(String) |
Modifier and Type | Method and Description |
---|---|
Collection<Language> |
MasterDataManagementImpl.getAvailableLanguages()
This method returns all available languages.
|
Collection<Language> |
MasterDataManagement.getAvailableLanguages()
This method returns all available languages.
|
List<Language> |
MasterDataManagementBase.getLanguages() |
List<Language> |
MasterDataManagement.getLanguages() |
Collection<Language> |
MasterDataManagementImpl.getUsedLanguages()
This method returns all available languages plus the language of the current user.
|
Collection<Language> |
MasterDataManagement.getUsedLanguages()
This method returns all available languages plus the language of the current user.
|
protected List<Language> |
MasterDataManagementImpl.handleGetLanguages()
Performs the core logic for
MasterDataManagementBase.getLanguages() |
protected abstract List<Language> |
MasterDataManagementBase.handleGetLanguages()
Performs the core logic for
MasterDataManagementBase.getLanguages() |
Modifier and Type | Method and Description |
---|---|
Language |
Message.getLanguage() |
Modifier and Type | Method and Description |
---|---|
static Message |
Message.Factory.newInstance(String messageKey,
String message,
boolean isHtml,
Language language)
Constructs a new instance of
Message , taking all
possible properties (except the identifier(s))as arguments. |
void |
Message.setLanguage(Language language) |
Modifier and Type | Class and Description |
---|---|
class |
LanguageImpl |
Modifier and Type | Method and Description |
---|---|
static Language |
Language.Factory.newInstance()
Constructs a new instance of
Language . |
static Language |
Language.Factory.newInstance(String languageCode,
String name,
String nameLocalized)
Constructs a new instance of
Language , taking all
possible properties (except the identifier(s))as arguments. |
Modifier and Type | Method and Description |
---|---|
Language |
LanguageDaoBase.create(Language language) |
Language |
LanguageDao.create(Language language)
Creates an instance of com.communote.server.persistence.user.Language and adds it to the
persistent store.
|
Language |
LanguageDaoBase.findByLanguageCode(String languageCode) |
Language |
LanguageDao.findByLanguageCode(String languageCode)
Finds a language by the given code
|
protected Language |
LanguageDaoImpl.handleFindByLanguageCode(String languageCode)
Performs the core logic for
LanguageDaoBase.findByLanguageCode(String) |
protected abstract Language |
LanguageDaoBase.handleFindByLanguageCode(String languageCode)
Performs the core logic for
LanguageDaoBase.findByLanguageCode(String) |
Language |
LanguageDaoBase.load(Long id) |
Language |
LanguageDao.load(Long id)
Loads an instance of com.communote.server.persistence.user.Language from the persistent
store.
|
Modifier and Type | Method and Description |
---|---|
Collection<Language> |
LanguageDaoBase.create(Collection<Language> entities) |
Collection<Language> |
LanguageDao.create(Collection<Language> entities)
Creates a new instance of com.communote.server.persistence.user.Language and adds from the
passed in
entities collection |
Collection<Language> |
LanguageDaoBase.create(int transform,
Collection<Language> entities) |
Collection<Language> |
LanguageDaoBase.loadAll() |
Collection<Language> |
LanguageDao.loadAll()
Loads all entities of type
Language . |
Modifier and Type | Method and Description |
---|---|
Object |
LanguageDaoBase.create(int transform,
Language language) |
Object |
LanguageDao.create(int transform,
Language language)
Does the same thing as
LanguageDao.create(com.communote.server.model.user.Language) with an
additional flag called transform . |
Language |
LanguageDaoBase.create(Language language) |
Language |
LanguageDao.create(Language language)
Creates an instance of com.communote.server.persistence.user.Language and adds it to the
persistent store.
|
void |
LanguageDaoBase.evict(Language entity)
Evicts (removes) the entity from the hibernate cache
|
void |
LanguageDao.evict(Language entity)
Evicts (removes) the entity from the hibernate cache
|
void |
LanguageDaoBase.remove(Language language) |
void |
LanguageDao.remove(Language language)
Removes the instance of com.communote.server.persistence.user.Language from the persistent
store.
|
protected Object |
LanguageDaoBase.transformEntity(int transform,
Language entity)
Allows transformation of entities into value objects (or something else for that matter),
when the
transform flag is set to one of the constants defined in
com.communote.server.persistence.user.LanguageDao , please note that the
LanguageDao.TRANSFORM_NONE constant denotes no transformation, so the entity itself will be
returned. |
void |
LanguageDaoBase.update(Language language) |
void |
LanguageDao.update(Language language)
Updates the
language instance in the persistent store. |
Modifier and Type | Method and Description |
---|---|
Collection<Language> |
LanguageDaoBase.create(Collection<Language> entities) |
Collection<Language> |
LanguageDao.create(Collection<Language> entities)
Creates a new instance of com.communote.server.persistence.user.Language and adds from the
passed in
entities collection |
Collection<Language> |
LanguageDaoBase.create(int transform,
Collection<Language> entities) |
Collection<?> |
LanguageDao.create(int transform,
Collection<Language> entities)
Does the same thing as
LanguageDao.create(com.communote.server.model.user.Language) with an
additional flag called transform . |
void |
LanguageDaoBase.remove(Collection<Language> entities) |
void |
LanguageDao.remove(Collection<Language> entities)
Removes all entities in the given
entities |
void |
LanguageDaoBase.update(Collection<Language> entities) |
void |
LanguageDao.update(Collection<Language> entities)
Updates all instances in the
entities collection in the persistent store. |
Copyright © 2019 Communote team. All rights reserved.