Interface MessageProvider
- All Known Implementing Classes:
MessageProviderImpl
public interface MessageProvider
-
Method Summary
Modifier and TypeMethodDescriptionvoiddefault int[]createOrUpdateAll(Properties properties) Backwards-compatible alias.intdelete(int id) intintdeleteAll(int languageId) get(int messageId) getAllMessages(int languageId) voidint[]upsertAll(Collection<Properties> properties) Upserts all entries from multiple properties files (e.g., multiple languages).int[]upsertAll(Properties properties) Upserts all entries from a single properties file.
-
Method Details
-
closeCache
void closeCache() -
refreshCache
void refreshCache() -
get
-
get
-
getAllMessages
-
create
-
delete
int delete(int id) -
delete
-
deleteAll
int deleteAll(int languageId) -
update
-
upsertAll
Upserts all entries from a single properties file. -
upsertAll
Upserts all entries from multiple properties files (e.g., multiple languages). -
createOrUpdateAll
Backwards-compatible alias.
-