Changelog v1.x
SDK for Java v1.x
v1.5
- In process
- MailService
- New method
- public Document createAttachment(String mailId, String docName, InputStream is)
- public void deleteAttachment(String mailId, String docId)
- public List<Document> getAttachments(String mailId)
- public void sendMailWithAttachments(String from, List<String> to, List<String> cc, List<String> bcc, String subject, String body, List<String> docsId, String dstId)
- public void sendMail(List<String> recipients, String subject, String body)
- New method
- DashboardService
- New method
- List<DashboardDocumentResult> getUserCheckedOutDocuments()
- List<DashboardDocumentResult> getUserLastModifiedDocuments()
- List<DashboardDocumentResult> getUserLockedDocuments()
- List<DashboardDocumentResult> getUserSubscribedDocuments()
- List<DashboardFolderResult> getUserSubscribedFolders()
- List<DashboardDocumentResult> getUserLastUploadedDocuments()
- List<DashboardDocumentResult> getUserLastDownloadedDocuments()
- List<DashboardMailResult> getUserLastImportedMails()
- List<DashboardDocumentResult> getUserLastImportedMailAttachments()
- List<QueryParams> getUserSearchs()
- List<DashboardDocumentResult> findUserSearches(int qpId)
- List<DashboardDocumentResult> getLastWeekTopDownloadedDocuments()
- List<DashboardDocumentResult> getLastMonthTopDownloadedDocuments()
- List<DashboardDocumentResult> getLastWeekTopModifiedDocuments()
- List<DashboardDocumentResult> getLastMonthTopModifiedDocuments()
- List<DashboardDocumentResult> getLastModifiedDocuments()
- List<DashboardDocumentResult> getLastUploadedDocuments()
- New method
v1.4
- Released 2021-07-01
- DocumentService
- New method
- public Document createFromTemplate(String docId, String dstPath, boolean categories, boolean keywords, boolean propertyGroups, boolean notes, boolean wiki, Map<String, String> properties)
- New method
- NotificationService ( new )
- New method
- public void notify(String nodeId, List<String> users, List<String> mails, String message, boolean attachment)
- New method
v1.3
- Released 2020-12-21
- FolderService
- New Method
- public void createMissingFolders(String fldPath)
- New Method
- PropertyGroupService
- New method
- public List<String> getSuggestions(String nodeId, String grpName, String propName)
- public void registerDefinition(InputStream is)
- New method
- 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)
- New method
- 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)
- New method
- SearchService
- New method
- public List<QueryResult> findByQuery(String query)
- public ResultSet findByQueryPaginated(String query, int offset, int limit)
- New method
- 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)
- New method
- DocumentService
- New method
- public void extendedDocumentCopy(String docId, String dstId, String name, boolean categories, boolean keywords, boolean propertyGroups, boolean notes, boolean wiki)
- New method
- 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)
- New method
- 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)
- New method
- WorkflowService
- New method
- public void registerProcessDefinition(InputStream is)
- public void deleteProcessDefinition(long pdId)
- public ProcessDefinition getProcessDefinition(long pdId)
- public ProcessInstance runProcessDefinition(long pdId, String uuid, List<FormElement> values)
- public List<ProcessInstance> findProcessInstances(long pdId)
- public List<ProcessDefinition> findAllProcessDefinitions()
- public List<ProcessDefinition> findLatestProcessDefinitions()
- public ProcessDefinition findLastProcessDefinition(String name)
- public ProcessInstance getProcessInstance(long piId)
- public List<TaskInstance> findUserTaskInstances()
- public List<TaskInstance> findTaskInstances(long piId)
- public void setTaskInstanceValues(long tiId, String transName, List<FormElement> values)
- public TaskInstance getTaskInstance(long tiId)
- public void startTaskInstance(long tiId)
- public void setTaskInstanceActorId(long tiId, String actorId)
- public void endTaskInstance(long tiId, String transName)
- public Map<String, List<FormElement>> getProcessDefinitionForms(long pdId)
- New method
v1.2
- Released 2018-09-15
- Because we have introduced Swagger support the WS library has been updated and the behavior of some methods has 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)