Changelog of version 3.x

SDK for Java 3.x

v 3.6

  • Released 2020-02-14
  • Added new hasEncryption and hasAttachmentnew variables in ChildNodeBase.
  • Classes Token and TaskInstance modified.
  • Relations of type Group now have author variable.
  • Improvements in workflow services the "List<FormElement> values" has been changed to "Map<String, String> propertiesMap".
  • Changes in getRoles and getUsers methods.
  • Changes in saveReport method. Now it returns a Document object.
  • Fix saveQuery method always was returning value 0.
  • A new method liveEditSetContent.
  • A new method getMimeTypes.
  • A new method restore.
  • A new method getUserSearches.
  • A new method findUserSearches.
  • A new method isLoginLowercase.

v 3.5

  • Released 2019-11-12
  • The method executeSqlQuery now returns SqlQueryResults.
  • When logout is executed the authentication token is also removed.
  • A new method hasSecurityRecursive.
  • A new method isAdmin.
  • A new method extendedRecordCopy.
  • Renamed method createFromTemplate to createDocumentFromTemplate.
  • Renamed method updateFromTemplate to updateDocumentFromTemplate.
  • A new method createFolderFromTemplate.
  • A new method createRecordFromTemplate.
  • A new method generateDownloadReportToken.
  • A new method saveReport.
  • A new method getSessionId.
  • A new method getLiveEditRestrictedMimeTypes.
  • A new method liveEditCheckin.
  • A new login method ( now you can set expiration in days and restriction by IP )
  • Change in the methods generateDownloadToken ( new parameter preview is used to set expiration to less than 1 minute ).
    • Now the method returns the single token, the user must build the download url. The previous version was returning the full url.
  • The ChildNodeBase object returned by pagination methods now has a variable parent.
  • Added variable description and note in QueryParams. Now you can do a search by description and notes content.
  • Applied CamelCase in some URL, the affected methods are:
    • getCheckout()
    • isCheckout()
    • checkout()
    • cancelCheckout()
    • setDocumentNodeClass()
    • setMailNodeClass()
    • setRecordNodeClass()
    • getContentInfo()
    • sendMailWithAttachments()
    • All the Property groups methods ( metadata )
    • getUserCheckoutDocuments()
    • getProcessDefinitionForms()

v 3.4

  • Released 2019-07-05
  • There're a lot of changes between SDK version 2.x and 3.X the most important considerations for migration between versions are:
    • Almost methods existing in version 2.x it continues existing in version 3.x
    • Have been added new methods, specially for FilePlan, Task, Conversion, etc...
    • Now in almost methods should be used UUID either path. The path has been deprecated in almost methods and no longer will continue working.
    • Authentication mechanism changed, now is based in a token. Now first is created the OKMWebservice object and then must be executed the login method.
    • The OpenKM connection URL has been changed from http://localhost:8080/OpenKM to http://localhost:8080/openkm ( now the context is lowercase ).