The method getMailsPaginated now returns an object of type SimpleNodeBaseResultSet
v4.8
2024-06-12
PdfService
Added method
boolean optimize(String uuid)
Fixed an issue with the login method regarding expiration and restrict by IP. It always created a token with the expiration set to 1 and restrict by IP set to false.
v4.7
2024-06-12
Warning: The internal change in the functions indicates their parameters are now sent in JSON format. This is a major API change.
New variable name in the WizardNode class.
New variable path in the WizardNode class.
New variable mailSent in the SimpleNodeBase class.
The variable styleVisible has been removed from the ProfileFldProperties class.
The variable style has been removed from the Folder class.
DocumentService
Added method
voidliveEditCancelCheckout(Stringuuid)
void liveEditForceCancelCheckout(String uuid)
Changed the internal implementation
void forceCancelCheckout(String uuid)
void cancelCheckout(String uuid)
void setIndexable(String uuid, boolean enabled)
SearchService
Deleted method
ResultSet findPaginated(QueryParams queryParams, int offset, int limit, String propertiesPlugin)
ResultSet findPaginated(QueryParams queryParams, String sortField, boolean sortReverse, int offset, int limit, String propertiesPlugin)
ResultSet findByQueryPaginated(String query, int offset, int limit, String propertiesPlugin)
ResultSet findByQueryPaginated(String query, String sortField, boolean sortReverse, int offset, int limit, String propertiesPlugin)
WizardService
Added method
List<WizardNode> findAllByUser()
void cancelPostponedNode(String uuid)
void deleteByNode(String uuid)
Changed the internal implementation
addDigitalSignature(String uuid, int order)
addShowWizardCategories(String uuid, int order)
addShowWizardKeywords(String uuid, int order)
addShowWizardOCRDataCapture(String uuid, int order)
FolderService
Added method
Folder create(String uuid, String name, long nodeClass)
Warning: this is a major update to the REST API that affects most PUT and POST implementations. Users who access the REST API directly without the SDK should check whether 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 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)
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 a 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 a 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 to the Auth class.
Automation can now 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 many changes between SDK version 3.x and 4.x; the most important considerations for migration between versions are:
Requires Java version 11.
All the methods deprecated in the version 3.x have been removed.
Many methods have been refactored; 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.