Interface VersionedMessageDao

All Known Implementing Classes:
MyBatisVersionedMessageDao

public interface VersionedMessageDao
DAO API for a resource bundle-like set of messages.
Since:
2.6
  • Field Details

  • Method Details

    • findMessages

      Properties findMessages(Instant version, String[] bundleNames, String locale)
      Get all available messages for a specific version.

      Note that if any messages are resolved, the VERSION_KEY value will be populated with the overall version of the returned messages.

      Parameters:
      version - the maximum version to get messages for
      bundleNames - the message bundle names to get
      locale - the desired locale
      Returns:
      the resolved messages