Changelog of version 1.x

SDK for Java 1.x

v 1.3

  • Released x
  • AuthService
    • New method
      • public void createUser(String user, String password, String email, String name, boolean active)
      • public void deleteUser(String user)
      • public void updateUser(String user, String password, String email, String name, boolean active)
      • public void createRole(String role, boolean active)
      • public void deleteRole(String role)
      • public void updateRole(String role, boolean active)
      • public void assignRole(String user, String role)
      • public void removeRole(String user, String role)
      • public void changeSecurity(ChangeSecurity changeSecurity)
  • FolderService
    • New method
      • public void copyFolder(String fldId, String dstId)
      • public void extendedFolderCopy(String fldId, String dstId, boolean categories, boolean keywords, boolean propertyGroups, boolean notes, boolean wiki)
      • public ContentInfo getContentInfo(String fldId)
      • public void purgeFolder(String fldId)
      • public void createMissingFolders(String fldPath)
  • SearchService
    • New method
      • public List<QueryResult> findByQuery(String query)
      • public ResultSet findByQueryPaginated(String query, int offset, int limit)
  • RepositoryService
    • New method
      • public Folder getTrashFolderBase()
      • public Folder getPersonalFolderBase()
      • public Folder getMailFolderBase()
      • public void copyAttributes(String nodeId, String dstId, boolean categories, boolean keywords, boolean propertyGroups, boolean notes, boolean wiki)
      • public ScriptExecutionResult executeScript(InputStream is)
      • public SqlQueryResults executeSqlQuery(InputStream is)
      • public HqlQueryResults executeHqlQuery(InputStream is)
      • public Configuration getConfiguration(String key)  
  • DocumentService
    • New method
      • public void extendedDocumentCopy(String docId, String dstId, String name, boolean categories, boolean keywords, boolean propertyGroups, boolean notes, boolean wiki)
  • MailService
    • New method
      • public Mail createMail(Mail mail)
      • public Mail getMailProperties(String mailId)
      • public void deleteMail(String mailId)
      • public void purgeMail(String mailId)
      • public void renameMail(String mailId, String newName)
      • public void moveMail(String mailId, String dstId)
      • public void copyMail(String mailId, String dstId, String newName)
      • public void extendedMailCopy(String mailId, String dstId, boolean categories, boolean keywords, boolean propertyGroups,boolean notes, boolean wiki)
      • public List<Mail> getMailChildren(String fldId)
      • public boolean isValidMail(String mailId)
      • public String getMailPath(String uuid)
      • public Mail importEml(String dstId, InputStream is)
      • public Mail importMsg(String dstId, InputStream is)
  • BookmarkService
    • New method
      • public List<Bookmark> getUserBookmarks()
      • public Bookmark createBookmark(String nodeId, String name)
      • public Bookmark renameBookmark(int bookmarkId, String newName)
      • public void deleteBookmark(int bookmarkId
      • public Bookmark getBookmark(int bookmarkId)

v 1.2

  • Released 2018-09-15
  • Because we have introduced Swagger support the WS library has been updated and the behaviour of some methods have been changed. That means if you use version 1.2 or older with OpenKM version 6.3.7 or upper it will be raised and error. The methods affected are what return boolean or long values :
    • isCheckedOut
    • isLocked
    • getVersionHistorySize
    • isValidDocument
    • isValidFolder
    • isValidMail
    • isValidRecord
    • hasGroup
    • hasNode
    • saveSearch
  • Added ConversionService
    • New method public InputStream doc2pdf(InputStream is, String fileName)
    • public InputStream imageConvert(InputStream is, String fileName, String params, String dstMimeType)
  • PropertyGroupService
    • New method public Map<String, String> getPropertyGroupPropertiesSimple(String nodeId, String grpName)
  • RepositoryService
    • New method public SqlQueryResults executeSqlQuery(InputStream is)
    • public Configuration getConfiguration(String key)