Modifier and Type | Method and Description |
---|---|
Set<Message> |
TagMemberAccessor.getDescriptions() |
Set<Message> |
TagMemberAccessor.getNames() |
Modifier and Type | Method and Description |
---|---|
Message |
LocalizationManagement.getMessage(String messageKey,
Locale locale)
Method to get a custom localized message from the database.
|
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 | Class and Description |
---|---|
class |
MessageImpl |
Modifier and Type | Method and Description |
---|---|
static Message |
Message.Factory.newInstance()
Constructs a new instance of
Message . |
static Message |
Message.Factory.newInstance(String messageKey,
String message,
boolean isHtml)
Constructs a new instance of
Message , taking all
required and/or read-only properties as arguments. |
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. |
Modifier and Type | Method and Description |
---|---|
Set<Message> |
Tag.getDescriptions() |
Set<Message> |
Tag.getNames() |
Modifier and Type | Method and Description |
---|---|
static CategorizedTag |
CategorizedTag.Factory.newInstance(String tagStoreTagId,
String defaultName,
String tagStoreAlias,
AbstractTagCategory category,
GlobalId globalId,
Set<Message> names,
Set<Message> descriptions)
Constructs a new instance of
CategorizedTag ,
taking all possible properties (except the identifier(s))as arguments. |
static CategorizedTag |
CategorizedTag.Factory.newInstance(String tagStoreTagId,
String defaultName,
String tagStoreAlias,
AbstractTagCategory category,
GlobalId globalId,
Set<Message> names,
Set<Message> descriptions)
Constructs a new instance of
CategorizedTag ,
taking all possible properties (except the identifier(s))as arguments. |
static Tag |
Tag.Factory.newInstance(String tagStoreTagId,
String defaultName,
String tagStoreAlias,
GlobalId globalId,
Set<Message> names,
Set<Message> descriptions)
Constructs a new instance of
Tag , taking all
possible properties (except the identifier(s))as arguments. |
static Tag |
Tag.Factory.newInstance(String tagStoreTagId,
String defaultName,
String tagStoreAlias,
GlobalId globalId,
Set<Message> names,
Set<Message> descriptions)
Constructs a new instance of
Tag , taking all
possible properties (except the identifier(s))as arguments. |
void |
Tag.setDescriptions(Set<Message> descriptions) |
void |
Tag.setNames(Set<Message> names) |
Modifier and Type | Method and Description |
---|---|
Message |
MessageDaoBase.create(Message message) |
Message |
MessageDao.create(Message message)
Creates an instance of Message and adds it to
the persistent store.
|
Message |
MessageDaoBase.find(String key,
String languageCode) |
Message |
MessageDao.find(String key,
String languageCode)
Returns the message for the key in the specific language or null if there is no one.
|
Message |
MessageDaoBase.find(String key,
String languageCode,
String fallbackLanguageCode) |
Message |
MessageDao.find(String key,
String languageCode,
String fallbackLanguageCode)
Returns the specified message.
|
protected Message |
MessageDaoImpl.handleFind(String key,
String languageCode)
Performs the core logic for
MessageDaoBase.find(String, String) |
protected abstract Message |
MessageDaoBase.handleFind(String key,
String languageCode)
Performs the core logic for
MessageDaoBase.find(String, String) |
protected Message |
MessageDaoImpl.handleFind(String key,
String languageCode,
String fallbackLanguageCode)
Performs the core logic for
MessageDaoBase.find(String, String, String) |
protected abstract Message |
MessageDaoBase.handleFind(String key,
String languageCode,
String fallbackLanguageCode)
Performs the core logic for
MessageDaoBase.find(String, String, String) |
Message |
MessageDaoBase.load(Long id) |
Message |
MessageDao.load(Long id)
Loads an instance of Message from the
persistent store.
|
Modifier and Type | Method and Description |
---|---|
Collection<Message> |
MessageDaoBase.create(Collection<Message> entities) |
Collection<Message> |
MessageDao.create(Collection<Message> entities)
Creates a new instance of Message and adds from
the passed in
entities collection |
Collection<Message> |
MessageDaoBase.create(int transform,
Collection<Message> entities) |
Collection<Message> |
MessageDaoBase.find(String key) |
Collection<Message> |
MessageDao.find(String key)
Returns a list of all messages for a specific key.
|
protected Collection<Message> |
MessageDaoImpl.handleFind(String key)
Performs the core logic for
MessageDaoBase.find(String) |
protected abstract Collection<Message> |
MessageDaoBase.handleFind(String key)
Performs the core logic for
MessageDaoBase.find(String) |
Collection<Message> |
MessageDaoBase.loadAll() |
Collection<Message> |
MessageDao.loadAll()
Loads all entities of type
Message . |
Modifier and Type | Method and Description |
---|---|
Object |
MessageDaoBase.create(int transform,
Message message) |
Object |
MessageDao.create(int transform,
Message message)
Does the same thing as
MessageDao.create(com.communote.server.model.i18n.Message) with an
additional flag called transform . |
Message |
MessageDaoBase.create(Message message) |
Message |
MessageDao.create(Message message)
Creates an instance of Message and adds it to
the persistent store.
|
void |
MessageDaoBase.evict(Message entity)
Evicts (removes) the entity from the hibernate cache
|
void |
MessageDao.evict(Message entity)
Evicts (removes) the entity from the hibernate cache
|
void |
MessageDaoBase.remove(Message message) |
void |
MessageDao.remove(Message message)
Removes the instance of Message from the
persistent store.
|
protected Object |
MessageDaoBase.transformEntity(int transform,
Message 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
MessageDao , please note that the
MessageDao.TRANSFORM_NONE constant denotes no transformation, so the entity itself will be
returned. |
void |
MessageDaoBase.update(Message message) |
void |
MessageDao.update(Message message)
Updates the
message instance in the persistent store. |
Modifier and Type | Method and Description |
---|---|
Collection<Message> |
MessageDaoBase.create(Collection<Message> entities) |
Collection<Message> |
MessageDao.create(Collection<Message> entities)
Creates a new instance of Message and adds from
the passed in
entities collection |
Collection<Message> |
MessageDaoBase.create(int transform,
Collection<Message> entities) |
Collection<?> |
MessageDao.create(int transform,
Collection<Message> entities)
Does the same thing as
MessageDao.create(com.communote.server.model.i18n.Message) with an
additional flag called transform . |
void |
MessageDaoBase.remove(Collection<Message> entities) |
void |
MessageDao.remove(Collection<Message> entities)
Removes all entities in the given
entities |
void |
MessageDaoBase.update(Collection<Message> entities) |
void |
MessageDao.update(Collection<Message> entities)
Updates all instances in the
entities collection in the persistent store. |
Copyright © 2019 Communote team. All rights reserved.