SDK for Java v4.x

v4.7

  • In progress

v4.6

  • 2024-04-17
  • Added the variable pooledActors in the ITaskInstance class.
  • Fixed most of the bean classes to ignore missing variables when doing JSON deserialization.

v4.5

  • 2024-03-07
  • Deleted AutodCadService
  • SearchService
    • Deleted method
      • Map<String, Integer> getKeywordMap(List<String> filter)
  • DocumentService
    • Added method
      • List<XRef> getXrefs(String uuid)
      • void refresh(String uuid)
  • Warning, this is a major update in the REST API that affects most of the PUT and POST implementations. The users who are accessing the REST API directly without the SDK should check if they are using one of the methods below:
    • AuthService
      • void revokeRole(String uuid, String roleId, int permissions, boolean recursive)
      • void revokeUser(String uuid, String userId, int permissions, boolean recursive)
      • void grantRole(String uuid, String roleId, int permissions, boolean recursive)
      • void grantUser(String uuid, String userId, int permissions, boolean recursive)
      • void deleteUser(String userId)
      • void updateUser(String userId, String password, String email, String name, boolean active)
      • void updateRole(String roleId, boolean active)
      • void assignRole(String userId, String roleId)
      • void setUserProfile(String userId, long profileId)
      • void setUserPermissions(String uuid, String userId, int permissions, boolean recursive)
      • void setRolePermissions(String uuid, String roleId, int permissions, boolean recursive)
      • void setUserTenant(long tenantId)
      • InputStream getTwoFactorQR(String secret)
      • String validate2FAAndSaveSecret(String secret, int code)
      • String disable2FA()
    • AutomationService
      • void create(String name, String event, String at, int order, String evaluation, boolean exclusive, boolean active, String description,long nodeClass)
      • void update(long ruleId, String name, String event, int order, String evaluation, boolean exclusive, boolean active, String description)
      • void createAction(long ruleId, String className, int order, boolean active, String amParam00, String amParam01, String amParam02)
      • void updateAction(long ruleId, long actionId, int order, boolean active, String amParam00, String amParam01, String amParam02)
      • void createValidation(long ruleId, String className, int order, boolean active, String amParam00, String amParam01, String amParam02)
      • void updateValidation(long ruleId, long validationId, int order, boolean active, String amParam00, String amParam01, String amParam02)
    • BookmarkService
      • void create(String uuid, String name)
      • void rename(int bookmarkId, String name)
    • DocumentService
      • Document rename(String uuid, String newName)
      • void setProperties(String uuid, String title, String description, String lang, List<String> keywords, List<String> categories)
      • void setLanguage(String uuid, String lang)
      • void setTitle(String uuid, String title)
      • void setNodeClass(String uuid, long ncId)
      • void setDispositionStage(String uuid, long stage)
      • Document copy(String uuid, String dstId, String newName)
      • Document extendedCopy(String uuid, String dstId, String name, boolean categories, boolean keywords, boolean propertyGroups, boolean notes, boolean security)
      • void setDescription(String uuid, String description)
      • String mergePdf(String destinationUuid, String docName, List<String> uuids)
      • Document saveAsPdf(String uuid, String newName, boolean propertyGroups, boolean security)
      • void liveEditCheckin(String uuid, String comment, int increment)
    • FolderService
      • Folder rename(String uuid, String newName)
      • Folder copy(String uuid, String dstId, String newName)
      • Folder extendedCopy(String uuid, String dstId, String newName, boolean categories, boolean keywords, boolean propertyGroups, boolean notes, boolean security)
      • void setStyle(String uuid, long styleId)
      • void createMissingFolders(String fldPath)
      • void setDescription(String uuid, String description)
    • MailService
      • void rename(String uuid, String newName)
      • Mail copy(String uuid, String dstId, String newName)
      • Mail extendedCopy(String uuid, String dstId, boolean categories, boolean keywords, boolean propertyGroups, boolean notes, boolean security, String newName)
      • void setNodeClass(String uuid, long ncId)
      • void setDispositionStage(String uuid, long stage)
      • void setTitle(String uuid, String title)
      • void setDescription(String uuid, String description)
      • void addAccount(MailAccount mailAccount)
      • void updateAccount(MailAccount mailAccount)
      • void importMessages(long mailAccountId, List<Long> messageIds)
      • void createFilter(long mailAccountId, MailFilter mailFilter)
      • void updateFilter(MailFilter mailFilter)
      • void createRule(long filterId, MailFilterRule rule)
      • void updateRule(MailFilterRule rule)
      • void forwardEmail(String uuid, List<String> users, List<String> roles, List<String> mails, String message)
      • Document saveAsPdf(String uuid, String newName, boolean propertyGroups, boolean security)
    • NodeService
      • void renameVersion(String uuid, String versionName, String newName)
      • void setComment(String uuid, String versionName, String comment)
    • NoteService
      • Note add(String uuid, String text)
      • void set(String noteId, String text)
    • NotificationService
      • void notify(List<String> uuids, List<String> users, List<String> roles, List<String> mails, String message, boolean attachment)
    • OcrService
      • void createField(long templateId, String name, String className, String propertyGroupName, String pattern, int rotation, String custom, String ocr, boolean control, int x1, int y1, int x2, int y2)
      • void updateField(long templateId, long fieldId, String name, String className, String propertyGroupName, String pattern, int rotation, String custom, String ocr, boolean control, int x1, int y1, int x2, int y2)
      • void createControlField(long templateId, String name, String className, String pattern, String value, int rotation, String custom, String ocr, int order, boolean emptyAllowed, int x1, int y1, int x2, int y2)
      • void updateControlField(long templateId, long controlFieldId, String name, String className, String pattern, String value, int rotation, String custom, String ocr, int order, boolean emptyAllowed, int x1, int y1, int x2, int y2)
    • PropertyService
      • void addCategory(String uuid, String catId)
      • void addKeyword(String uuid, String keyword)
      • void setEncryption(String uuid, String cipherName)
      • void setSigned(String uuid, boolean signed)
    • RecordService
      • Record create(String uuid, String name, String title, long nodeClass)
      • Record rename(String uuid, String newName)
      • Record copy(String uuid, String dstId, String newName)
      • void setTitle(String uuid, String title)
      • void setNodeClass(String uuid, long ncId)
      • void setDispositionStage(String uuid, long stage)
      • void setDescription(String uuid, String description)
      • Record extendedCopy(String uuid, String dstId, String newName, boolean categories, boolean keywords, boolean propertyGroups, boolean notes, boolean security)
      • WizardNode createWizard(String uuid, String name, String title, long nodeClass)
      • void createMissingRecords(String recPath)
    • RelationService
      • void add(String nodeAId, String nodeBId, long relTypeId)
      • void addGroup(String uuid, String groupName, long type)
      • void addNodeToGroup(String uuid, long groupId)
      • void setGroupName(long groupId, String groupName)
    • RepositoryService
      • void copyAttributes(String uuid, String dstId, boolean categories, boolean keywords, boolean propertyGroups, boolean notes)
    • TaskService
      • Task create(String subject, String start, String end, String description, long statusId, long projectId,
                               long typeId, String user, List<String> notificationUsers, List<String> externalUsers, List<String> relatedDocuments,
                               List<String> relatedFolders, List<String> relatedRecords, List<String> relatedMails, String repeatExpression,
                               String repeatUntil, String formatDate, int repeatTimes, String reminderStartUnit, int reminderStartValue,
                               String reminderEndUnit, int reminderEndValue)
      • Task update(long taskId, String subject, String start, String end, String description, long statusId,
                               long projectId, long typeId, String user, List<String> notificationUsers, List<String> externalUsers,
                               List<String> relatedDocuments, List<String> relatedFolders, List<String> relatedRecords, List<String> relatedMails,
                               String owner, String repeatExpression, String repeatUntil, String formatDate, int repeatTimes, int progress,
                               String reminderStartUnit, int reminderStartValue, String reminderEndUnit, int reminderEndValue)
      • TaskProject createProject(String name, boolean active, String description)
      • TaskProject updateProject(long projectId, boolean active, String name, String description)
      • TaskType createType(String name, boolean active, String description)
      • TaskType updateType(long typeId, boolean active, String name, String description)
      • TaskStatus createStatus(String name, boolean finish)
      • TaskStatus createStatus(String name, boolean finish)
      • TaskStatus updateStatus(long statusId, String name, boolean finish)
      • TaskNote createNote(long taskId, String text)
      • TaskNote updateNote(long noteId, String text)
    • UserConfigService
      • void setHome(String uuid)
    • WizardService
      • void postponeNode(String uuid, Calendar date)
      • void addGroup(String uuid, String group, int order)
      • void removeGroup(String uuid, String group)
      • void addWorkflow(String uuid, String workflow, int order)
      • void removeWorkflow(String uuid, String workflow)
    • WorkflowService
      • void setTaskInstanceActorId(long tiId, String actorId)
      • void endTaskInstance(long tiId, String transName)

v4.4

  • Released 2024-01-23
  • New variable roles in the StampImage class.
  • New variable roles in the StampText class.
  • New variable roles in the StampBarcode class.

v4.3

  • Released 2023-02-12
  • DocumentService
    • New method
      •  createDocumentFromTemplate(String uuid, String dstPath, boolean categories, boolean keywords, boolean notes, boolean security, Map<String, String> properties) to create a document from a template.
  • FolderService
    • New method
      •  createFolderFromTemplate(String uuid, String dstPath, boolean categories, boolean keywords,boolean notes, boolean propertyGroups, boolean security, Map<String, String>) to create folder hierarchy from a template.
  • RecordService
    • New method
      • createRecordFromTemplate(String uuid, String dstPath, boolean categories, boolean keywords, boolean notes, boolean propertyGroups, boolean security, Map<String, String> properties) to create record hierarchy from a template.

v4.2

  • Released 2023-11-17
  • New variable publicUrlVisible in the ProfileDocProperties class.
  • New variable publicUrlVisible in the ProfileFldProperties class.
  • New variable publicUrlVisible in the ProfileMailProperties class.
  • New variable publicUrlVisible in the ProfileRecProperties class.
  • Added logs in the Auth class.
  • Automation now can be evaluated with OR or AND logic.
  • PDFService
    • New method
      • insertPages(String uuid, String srcId, int sourceFromPage, int sourceToPage, int insertFromPage) to insert pages in a PDF.

v4.1

  • Released 2023-09-26
  • There are a lot of changes between SDK version 3.x and 4.X; the most important considerations for migration between versions are:
    • Required Java version 11.
    • All the methods deprecated in the version 3.x have been removed.
    • It has been refactorized a lot of methods, for example, the method ws.folder.deleteFolder has been renamed to ws.folder.delete.
    • Deprecated method ws.document.lockDocument in favour of ws.node.lock.
    • Deprecated method ws.document.unlockDocument in favour of ws.node.unlock.
    • Deprecated method ws.document.forceUnlockDocument in favour of ws.node.forceUnlockDocument.
    • Deprecated method ws.document.isLocked in favour of ws.node.isLocked.
    • Deprecated method ws.document.getLockInfo in favour of ws.node.getLockInfo.
    • Deprecated method ws.document.forceLock in favour of ws.node.forceLock.
    • Deprecated method ws.record.lockRecord in favour of ws.node.lock.
    • Deprecated method ws.record.unlockRecord in favour of ws.node.unlock.
    • Deprecated method ws.record.forceUnlockRecord in favour of ws.node.forceUnlock.
    • Deprecated method ws.record.forceLockRecord in favour of ws.node.forceLock.
    • Deprecated method ws.repository.getThesaurusFolder.