Mindoo Blog - Cutting edge technologies - About Java, Lotus Notes and iPhone

  • New Domino JNA version available with LOTS of new features

    Karsten Lehmann  September 19 2019 17:23:43
    It's been a long time since the last release of our Domino JNA project. Version 0.9.21 is now available for download as XPages Extensibility Plugin and on its way to Maven Central (takes a few hours to appear).

    Here are a some highlights of the new version:

    • New method to read item definition table of a database
    • Added function to get the template db path by the template name
    • Support for profile note reading and writing
    • Added API to export mails as EML files on client and server
    • Added API to read client and server statistics
    • Tested in Notes/Domino 11 beta 1
    • Added method to harvest DB design for DQL speedup
    • DQL query builder updated for new Domino 11 "contains" terms (FT search)
    • New method to send server console commands
    • Improved richtext to HTML conversion sample to extract files as well
    • Added convenience functions NotesDatabase.toUnid / toNoteId
    • Added NotesDatabase.getAllCollections() to read infos about all views
    • NotesTimeDate.toString method with date/time/timezone formatting options
    • Added NotesIntlFormat argument to NotesTimeDate.fromString
    • Added setter to change timezone of NotesTimeDate
    • New methods to read ACL entries and all ACL roles
    • New methods in NotesCollection to read view design properties, e.g. .isConflict(), .isCollapsed(), isGotoTopOnOpen() etc.
    • Added method to check if $file item belongs to a TYPE_MIME_PART item
    • Added method NotesItem.copyToNote() with parameter to rename the item
    • Added check method to large summary buffer support on DB
    • Added checks for ERR 1028 when openings docs to return null if not found
    • Improved reading of data below view categories
    • Added method to convert RFC822 items to native Domino format
    • NotesDatabase.openMailDatabase(), hasFullAccess() and runWithDbLock()
    • Changed flag to find view in design, did not find all available views
    • Flags to update note without triggering replication (used by replicator)
    • Added experimental code to set sequence number and time
    • Added more HTML conversion options
    • More FTSearch options for NotesDatabase searches (e.g. get result sorted by created/modified/score)
    • Additional methods to write Notes.ini variables (e.g. OSGI_HTTP_DYNAMIC_BUNDLES)
    • Added getter to read TIMEDATE value from Notes.ini with testcase
    • NotesCollection column title/name no longer converted to lowercase
    • Removed ICU4J dependency, now using undocumented method OSTranslate32 to translate between LMBCS and Java strings with support for long texts (length > WORD size that OSTranslate supports)
    • Performance optimizations, fixed memory handle leaks