Ir al contenido

Registro de cambios v4.x

  • En progreso
  • 2026-07-21
  • RepositoryService
    • Nuevos métodos:
      • Añadido el método createShortenUrl(String name, String url), que devuelve una URL acortada.
  • 2026-04-17
  • Actualizado:
    • InsertPages en PDFService se ha rediseñado para ser más útil y comprensible. Ahora usa PageInsertOperations para realizar las inserciones.
    • PDFService
      • El método extract() ahora devuelve un objeto Document.
  • Corregido
    • Mejorados los mensajes de error durante la etapa de inicio de sesión.
  • 2026-03-12
  • Corregido
    • Corregido el campo de metadatos description, que no se mapeaba correctamente.
  • 2026-01-28
  • WorkflowService
    • Nuevos métodos:
      • Permite iniciar un workflow sin un nodo asociado mediante el nuevo método runProcessDefinition(long pdId, Dictionary<String, String> propertiesMap)
      • Añadido searchAssignedTasks(DateTime? start, DateTime? end, String status, long procDefId, int offset, int limit), un método que devuelve las tareas de workflow asignadas al usuario conectado filtradas por rango de fechas, estado y definición de proceso, con parámetros de paginación.
      • Añadido searchStartedByMe(DateTime? start, DateTime? end, String status, long procDefId, int offset, int limit), un método que devuelve las tareas de workflow iniciadas por el usuario conectado filtradas por rango de fechas, estado y definición de proceso, con parámetros de paginación.
      • Añadido searchOverview(DateTime? start, DateTime? end, String status, long procDefId, String initiator, String taskUser, int offset, int limit), un método que devuelve una visión general de las tareas de workflow de todos los usuarios filtradas por rango de fechas, estado, definición de proceso, iniciador y usuario de tarea, con parámetros de paginación.
  • SearchService
    • Método modificado:
      • Actualizado csvExport(String lang, QueryParams queryParams, List propertyGroups, bool compact) para admitir grupos de metadatos.
  • 2025-11-21
  • Corregido
    • Corregido un error de serialización de valores en formato JSON en los parámetros de plugin
  • Actualizado:
    • El método getAllGroups ahora tiene un parámetro opcional, uuid.
  • 2025-07-08
  • PDFService
    • List split(String uuid, String dstId, String baseName, List pages) ahora devuelve una lista de documentos
    • Document remove(String uuid, String dstId, String name, List pages) ahora devuelve un documento
    • Document rotate(String uuid, String dstId, String name, int angle, List pages) ahora devuelve un documento
  • 2025-05-29
    • Corregido:
      • Corregidos problemas de mapeo en el componente FormElementComplex
      • Resuelto el manejo de variables en las clases Select y FormElementComplex
    • Actualizado:
      • Mejorada la clase ProfileMisc con las nuevas variables aiVisible e identityVisible para un mejor control de visibilidad
      • Añadido soporte del atributo multiple para campos de carga en formularios de workflow
  • 2025-04-10

  • AuthService - Métodos eliminados

    • boolean hasSecurityRecursive()
    • boolean hasTaskManagerAdmin()
    • boolean isAdmin()
    • boolean isPasswordExpired()
  • RepositoryService - Métodos eliminados

    • boolean getIsFilePlan();
  • SearchService - Métodos eliminados

    • List getMimeTypes()
    • SearchPluginList getSearchPlugins()
  • DocumentService

    • Métodos eliminados
      • List getLiveEditRestrictedMimeTypes()
  • NodeService

    • Métodos eliminados
      • NodePaginatorConfig getPaginatorConfig(String pluginName)
      • PaginatorPluginList getPaginatorPlugins()
  • Corregida la PrincipalAdapterException; ahora se llama AuthException.

  • 2025-02-14
  • Cambios en la clase NodePaginatorConfig.
  • Nueva variable shard en la clase Document.
  • Nueva variable shard en la clase Mail.
  • Nueva variable shardVisible en la clase ProfileDocProperties.
  • Nueva variable shardVisible en la clase ProfileMailProperties.
  • ReportService
    • Método añadido
      • List getSqlReports(bool active);
      • Stream executeSql(long rpId)
      • Document saveSql(long rpId, Dictionary<String, String> _params, String dstId, String docName)
  • 2024-12-05
  • Nueva variable timeZone en la clase UserConfig.
  • Nueva variable onlineEditor en la clase UserConfig.
  • Nueva variable htmlEditor en la clase UserConfig.
  • Nueva variable liveEdit en la clase UserConfig.
  • Nueva variable stepIntoCreatedNode en la clase UserConfig.
  • Nueva variable type en la clase TextArea.
  • Eliminada la variable linkTarget de la clase Node.
  • Eliminada la variable restricted de la clase Node.
  • AuthService
    • Método añadido
      • String login(String personalAccessToken)
      • String createPersonalAccessToken(String name, DateTime expiration)
  • MailService
    • Método añadido
      • void sendMail(String to, String subject, String body)
  • ImportService
    • Métodos añadidos
      • String importDocument(String uuid, DateTime? date, String author, FileInfo file);
      • String importFolder(String uuid, String name, DateTime? date, String author);
      • String importRecord(String uuid, String name, DateTime? date, String author);
  • 2024-09-10
  • AuthService
    • Método añadido
      • String getRefreshToken()
  • MailService - Cambio en la implementación interna
    • El método getMailsPaginated ahora devuelve un objeto de tipo SimpleNodeBaseResultSet
  • Publicado el 2024-07-18
  • PDFService
    • Método añadido
      • bool optimize(String uuid)
  • Publicado el 2024-06-12
  • Aviso: un cambio interno en las funciones implica que sus parámetros ahora se envían en formato JSON. Es un cambio importante en la API.
  • Nueva variable name en la clase WizardNode.
  • Nueva variable path en la clase WizardNode.
  • Nueva variable mailSent en la clase SimpleNodeBase.
  • Se ha eliminado la variable styleVisible de la clase ProfileFldProperties.
  • Se ha eliminado la variable style de la clase Folder.
  • DocumentService
    • Método añadido
      • void liveEditCancelCheckout(String uuid)
      • void liveEditForceCancelCheckout(String uuid)
    • Cambio en la implementación interna
      • void forceCancelCheckout(String uuid)
      • void cancelCheckout(String uuid)
      • void setIndexable(String uuid, bool enabled)
  • SearchService
    • Métodos eliminados
      • ResultSet findPaginated(QueryParams queryParams, int offset, int limit, String propertiesPlugins);
      • ResultSet findPaginated(QueryParams queryParams, String sortField, bool sortReverse, int offset, int limit, String propertiesPlugin);
      • ResultSet findByQueryPaginated(String query, int offset, int limit, String propertiesPlugin);
      • ResultSet findByQueryPaginated(String query, String sortField, bool sortReverse, int offset, int limit, String propertiesPlugin);
  • WizardService
    • Método añadido
      • List findAllByUser()
      • void cancelPostponedNode(String uuid)
      • void deleteByNode(String uuid)
    • Cambio en la implementación interna
      • addDigitalSignature(String uuid, int order)
      • addShowWizardCategories(String uuid, int order)
      • addShowWizardKeywords(String uuid, int order)
      • addShowWizardOCRDataCapture(String uuid, int order)
  • FolderService
    • Método añadido
      • Folder create(String uuid, String name, long nodeClass)
  • ImportService
    • Cambio en la implementación interna
      • String importFolder(String uuid, String name)
      • String importRecord(String uuid, String name)
  • MailService
    • Cambio en la implementación interna
      • void deleteAttachment(String uuid, String docId)
  • NodeService
    • Cambio en la implementación interna
      • void unZip(String uuid, String dstId)
      • String generateDownloadToken(String uuid, bool preview, bool oneTimeUse, DateTime validUntil)
  • PropertyService
    • Cambio en la implementación interna
      • void removeKeyword(String uuid, String keyword)
  • StampService
    • Cambio en la implementación interna
      • void stampImageManually(String uuid, long id, String exprX, String exprY, String range, String personalStampUuid)
      • void stampTextCustom(String uuid, long stampTextId, String text, String exprX, String exprY, String range)
  • Publicado el 2024-04-23
  • Añadida la variable pooledActors en la clase ITaskInstance.
  • Publicado el 2024-03-11
  • Eliminado AutodcadService
  • SearchService
    • Método eliminado
      • Dictionary<string, int> getKeywordMap(List filter)
  • DocumentService
    • Método añadido
      • List getXrefs(String uuid)
      • void refresh(String uuid)
  • BookmarkService
    • Método modificado
      • Bookmark create(String uuid, String name)
  • Aviso: esta es una actualización importante de la API REST que afecta a la mayoría de las implementaciones PUT y POST. Los usuarios que accedan a la API REST directamente sin el SDK deben comprobar si están usando alguno de los siguientes métodos:
    • AuthService
      • void revokeRole(String uuid, String roleId, int permissions, bool recursive)
      • void revokeUser(String uuid, String userId, int permissions, bool recursive)
      • void grantRole(String uuid, String roleId, int permissions, bool recursive)
      • void grantUser(String uuid, String userId, int permissions, bool recursive)
      • void deleteUser(String userId)
      • void updateUser(String userId, String password, String email, String name, bool active)
      • void updateRole(String roleId, bool active)
      • void assignRole(String userId, String roleId)
      • void setUserProfile(String userId, long profileId)
      • void setUserPermissions(String uuid, String userId, int permissions, bool recursive)
      • void setRolePermissions(String uuid, String roleId, int permissions, bool recursive)
      • void setUserTenant(long tenantId)
      • InputStream getTwoFactorQR(String secret)
      • String validate2FAAndSaveSecret(String secret, int code)
      • String disable2FA()
    • 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 keywords, List 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, bool categories, bool keywords, bool propertyGroups, bool notes, bool security)
      • void setDescription(String uuid, String description)
      • String mergePdf(String destinationUuid, String docName, List uuids)
      • Document saveAsPdf(String uuid, String newName, bool propertyGroups, bool 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, bool categories, bool keywords, bool propertyGroups, bool notes, bool 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, bool categories, bool keywords, bool propertyGroups, bool notes, bool 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 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 users, List roles, List mails, String message)
      • Document saveAsPdf(String uuid, String newName, bool propertyGroups, bool 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 uuids, List users, List roles, List mails, String message, bool attachment)
    • PropertyService
      • void addCategory(String uuid, String catId)
      • void addKeyword(String uuid, String keyword)
      • void setEncryption(String uuid, String cipherName)
      • void setSigned(String uuid, bool 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, bool categories, bool keywords, bool propertyGroups, bool notes, bool 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, bool categories, bool keywords, bool propertyGroups, bool notes)
    • TaskService
      • Task create(String subject, String start, String end, String description, long statusId, long projectId,
        long typeId, String user, List notificationUsers, List externalUsers, List relatedDocuments,
        List relatedFolders, List relatedRecords, List 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 notificationUsers, List externalUsers,
        List relatedDocuments, List relatedFolders, List relatedRecords, List 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, bool active, String description)
      • TaskProject updateProject(long projectId, bool active, String name, String description)
      • TaskType createType(String name, bool active, String description)
      • TaskType updateType(long typeId, bool active, String name, String description)
      • TaskStatus createStatus(String name, bool finish)
      • TaskStatus createStatus(String name, bool finish)
      • TaskStatus updateStatus(long statusId, String name, bool finish)
      • TaskNote createNote(long taskId, String text)
      • TaskNote updateNote(long noteId, String text)
    • UserConfigService
      • void setHome(String uuid)
    • WizardService
      • void postponeNode(String uuid, DateTime 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)
  • Publicado el 2024-01-23
  • Nueva variable roles en la clase StampImage.
  • Nueva variable roles en la clase StampText.
  • Nueva variable roles en la clase StampBarcode.
  • Publicado el 2024-01-15
  • Nuevas variables propertyGroups y security en la clase TemplateParams.
  • DocumentService
    • Nuevo método
      • Document createDocumentFromTemplate(String uuid, String dstPath, bool categories, bool keywords, bool notes, bool security, Dictionary<String, String> properties);
  • FolderService
    • Nuevo método
      • Folder createFolderFromTemplate(String uuid, String dstPath, bool categories, bool keywords, bool notes, bool propertyGroups, bool security, Dictionary<String, String> properties);
  • RecordService
    • Nuevo método
      • Record createRecordFromTemplate(String uuid, String dstPath, bool categories, bool keywords, bool notes, bool propertyGroups, bool security, Dictionary<String, String> properties);
  • Publicado el 2023-11-23
  • Nueva variable publicUrlVisible en la clase ProfileDocProperties.
  • Nueva variable publicUrlVisible en la clase ProfileFldProperties.
  • Nueva variable publicUrlVisible en la clase ProfileMailProperties.
  • Nueva variable publicUrlVisible en la clase ProfileRecProperties.
  • Añadido registro (logging) a la clase Auth.
  • PDFService
    • Nuevo método
      • insertPages(String uuid, String srcId, int sourceFromPage, int sourceToPage, int insertFromPage) para insertar páginas en un PDF.
  • Publicado el 2023-11-20
  • Hay muchos cambios entre las versiones 3.x y 4.x del SDK; las consideraciones más importantes para la migración entre versiones son:
    • Se han eliminado todos los métodos obsoletos de la versión 3.x.
    • Se han refactorizado muchos métodos; por ejemplo, el método ws.folder.deleteFolder se ha renombrado a ws.folder.delete.
    • Método ws.document.lockDocument obsoleto en favor de ws.node.lock.
    • Método ws.document.unlockDocument obsoleto en favor de ws.node.unlock.
    • Método ws.document.forceUnlockDocument obsoleto en favor de ws.node.forceUnlockDocument.
    • Método ws.document.isLocked obsoleto en favor de ws.node.isLocked.
    • Método ws.document.getLockInfo obsoleto en favor de ws.node.getLockInfo.
    • Método ws.document.forceLock obsoleto en favor de ws.node.forceLock.
    • Método ws.record.lockRecord obsoleto en favor de ws.node.lock.
    • Método ws.record.unlockRecord obsoleto en favor de ws.node.unlock.
    • Método ws.record.forceUnlockRecord obsoleto en favor de ws.node.forceUnlock.
    • Método ws.record.forceLockRecord obsoleto en favor de ws.node.forceLock.
    • Método ws.repository.getThesaurusFolder obsoleto.