🔍 Code Extractor

Component not found
Component not found

Browse Components

Showing 20 of 62 components

  • function get_documents

    Retrieves filtered and paginated documents from a Neo4j graph database with permission-based access control, supporting multiple filter criteria and search functionality.

    File: /tf/active/vicechatdev/document_controller_backup.py | Lines: 1955-2157

    document-management neo4j graph-database filtering pagination
  • function clone_document

    Clones an existing controlled document to create either a new independent document or a new revision of the same document, optionally including the document's content.

    File: /tf/active/vicechatdev/document_controller_backup.py | Lines: 1782-1953

    document-management cloning versioning controlled-documents revision-control
  • function update_document

    Updates properties of a controlled document including title, description, status, owner, and metadata, with special handling for status transitions that require format conversions or publishing workflows.

    File: /tf/active/vicechatdev/document_controller_backup.py | Lines: 1640-1775

    document-management update controlled-document status-transition audit-trail
  • function get_document_edit_url

    Generates an online editing URL for a document stored in FileCloud, allowing users to edit documents that are in editable states.

    File: /tf/active/vicechatdev/document_controller_backup.py | Lines: 1547-1634

    document-management filecloud url-generation permission-control version-control
  • function archive_document

    Archives a controlled document by changing its status to ARCHIVED, ensuring a PDF version exists and logging the action with audit trail and notifications.

    File: /tf/active/vicechatdev/document_controller_backup.py | Lines: 1442-1542

    document-management lifecycle archive controlled-documents audit-trail
  • function convert_document_to_pdf

    Converts a document version from an editable format (e.g., Word) to PDF without changing the document's status, uploading the result to FileCloud and updating the version record.

    File: /tf/active/vicechatdev/document_controller_backup.py | Lines: 1280-1436

    document-conversion pdf-generation filecloud controlled-documents document-management
  • function get_document_download_url

    Retrieves a download URL for a controlled document, automatically selecting between editable (Word) and PDF formats based on document status or explicit request.

    File: /tf/active/vicechatdev/document_controller_backup.py | Lines: 1176-1275

    document-management file-download url-generation version-control filecloud
  • function get_document_audit_trail

    Retrieves the complete audit trail for a controlled document from a Neo4j graph database, including timestamps, user actions, and event details.

    File: /tf/active/vicechatdev/document_controller_backup.py | Lines: 1115-1172

    audit document-management neo4j graph-database compliance
  • function _get_filecloud_integration

    Factory function that creates and returns a configured FileCloudIntegration instance using credentials from application settings.

    File: /tf/active/vicechatdev/document_controller_backup.py | Lines: 1106-1112

    factory-pattern integration filecloud configuration dependency-injection
  • function publish_document

    Publishes an approved controlled document by converting it to PDF with signatures and audit trail, uploading to FileCloud, and updating the document status to PUBLISHED.

    File: /tf/active/vicechatdev/document_controller_backup.py | Lines: 895-1103

    document-management publishing pdf-conversion audit-trail controlled-documents
  • function set_current_version

    Sets a specific version of a controlled document as the current/active version, updating the document's currentVersionUID property and logging the change.

    File: /tf/active/vicechatdev/document_controller_backup.py | Lines: 797-888

    document-management version-control controlled-documents audit-trail permissions
  • function download_document_version

    Downloads a specific version of a controlled document from FileCloud storage, with optional audit trail and watermark inclusion, and logs the download event.

    File: /tf/active/vicechatdev/document_controller_backup.py | Lines: 696-792

    document-management file-download version-control audit-trail watermark
  • function get_document_version

    Retrieves detailed information about a specific document version by its UID, including associated document context and version status.

    File: /tf/active/vicechatdev/document_controller_backup.py | Lines: 644-692

    document-management version-control retrieval controlled-documents metadata
  • function create_document_version

    Creates a new version of an existing document in a document management system, storing the file in FileCloud and tracking version metadata in Neo4j graph database.

    File: /tf/active/vicechatdev/document_controller_backup.py | Lines: 497-641

    document-management version-control filecloud neo4j graph-database
  • function generate_document_number

    Generates a unique document number by combining document type code, department code, and using a settings-based generation function, with UUID fallback on error.

    File: /tf/active/vicechatdev/document_controller_backup.py | Lines: 470-492

    document-management unique-identifier document-number code-generation error-handling
  • function delete_document

    Deletes a controlled document from the system with permission checks, status validation, and audit logging.

    File: /tf/active/vicechatdev/document_controller_backup.py | Lines: 407-466

    document-management deletion controlled-documents audit-trail permissions
  • function search_documents

    Searches for documents in a Neo4j graph database based on multiple optional filter criteria including text query, document type, department, status, and owner.

    File: /tf/active/vicechatdev/document_controller_backup.py | Lines: 308-402

    search documents neo4j cypher database-query
  • function get_document

    Retrieves comprehensive details of a controlled document by its UID, with optional inclusion of version history, review cycles, and approval cycles.

    File: /tf/active/vicechatdev/document_controller_backup.py | Lines: 244-303

    document-management controlled-documents retrieval version-control review-workflow
  • function create_document

    Creates a new controlled document in a document management system with versioning, audit trails, and optional initial content.

    File: /tf/active/vicechatdev/document_controller_backup.py | Lines: 65-241

    document-management controlled-documents document-creation versioning audit-trail
  • function create_folder

    Creates a nested folder structure on a FileCloud server by traversing a path and creating missing directories.

    File: /tf/active/vicechatdev/filecloud_wuxi_sync.py | Lines: 12-44

    filecloud api folder-creation directory-management rest-api