🔍 Code Extractor

Browse Components

Showing 20 of 2143 components

  • function resolve_review_comment

    Resolves a review comment by delegating to the underlying controller with the provided comment identifier and resolution text.

    File: /tf/active/vicechatdev/CDocs single class/controllers/review_controller.py | Lines: 1822-1824

    review comment resolution workflow document-management
  • function add_review_comment_v1

    Adds a comment to a document review cycle, with options to mark it as requiring resolution and specify comment type.

    File: /tf/active/vicechatdev/CDocs single class/controllers/review_controller.py | Lines: 1809-1819

    document-management review-cycle comments workflow controlled-documents
  • function get_review_v1

    Retrieves a specific review cycle by its unique identifier (UID) from the document review system.

    File: /tf/active/vicechatdev/CDocs single class/controllers/review_controller.py | Lines: 1804-1806

    review-cycle document-management controller retrieval workflow
  • function get_document_review_cycles_v1

    Retrieves all review cycles associated with a specific document, with an option to filter for only active cycles.

    File: /tf/active/vicechatdev/CDocs single class/controllers/review_controller.py | Lines: 1799-1801

    document-management review-cycles workflow controller document-review
  • function get_review_cycle_v1

    Retrieves a review cycle record from the database using its unique identifier (UID).

    File: /tf/active/vicechatdev/CDocs single class/controllers/review_controller.py | Lines: 1794-1796

    review-cycle document-management workflow database-query controller
  • function create_review_cycle_v1

    Creates a review cycle for a specific document version, assigning reviewers with configurable approval requirements and workflow settings.

    File: /tf/active/vicechatdev/CDocs single class/controllers/review_controller.py | Lines: 1762-1791

    document-management review-workflow approval-process regulatory-compliance controlled-documents
  • class ReviewController

    Controller for managing document review processes.

    File: /tf/active/vicechatdev/CDocs single class/controllers/review_controller.py | Lines: 35-1753

    class reviewcontroller
  • function log_controller_action_v1

    A decorator factory that wraps controller functions to log their execution and handle exceptions with structured logging.

    File: /tf/active/vicechatdev/CDocs single class/controllers/__init__.py | Lines: 139-157

    decorator logging controller error-handling monitoring
  • function clone_document_v1

    Clones an existing controlled document by creating a new document with optional content copying, metadata inheritance, and audit trail logging.

    File: /tf/active/vicechatdev/CDocs single class/controllers/document_controller.py | Lines: 2112-2240

    document-management cloning duplication controlled-documents versioning
  • function clone_document_v2

    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_v1

    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/CDocs single class/controllers/document_controller.py | Lines: 1969-2105

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

    Flask API endpoint that updates a document's title and/or description after verifying user ownership and authentication.

    File: /tf/active/vicechatdev/vice_ai/new_app.py | Lines: 1078-1113

    flask api rest document-management update
  • function update_document_v4

    Updates metadata fields of a controlled document in a Neo4j database after validating user permissions and field constraints.

    File: /tf/active/vicechatdev/CDocs copy/controllers/document_controller.py | Lines: 1584-1695

    document-management metadata-update neo4j permissions audit-trail
  • function update_document_v3

    Updates a controlled document's properties (title, description, status, owner, metadata) with validation, audit logging, and special handling for status transitions that require PDF publishing or training resets.

    File: /tf/active/vicechatdev/CDocs/controllers/document_controller.py | Lines: 2503-2665

    document-management update status-transition audit-trail permissions
  • function update_document_v2

    Updates properties of a controlled document including title, description, status, owner, and metadata with permission checks, validation, and audit tracking.

    File: /tf/active/vicechatdev/CDocs copy/controllers/document_controller.py | Lines: 290-379

    document-management update CRUD permissions validation
  • function prepare_audit_data_for_document_processor

    Prepares comprehensive audit data for a controlled document version, including revision history, reviews, approvals, and event history, formatted for DocumentProcessor consumption.

    File: /tf/active/vicechatdev/CDocs single class/controllers/document_controller.py | Lines: 1572-1765

    audit document-management compliance metadata data-aggregation
  • function prepare_audit_data_for_document_processor_v1

    Prepares comprehensive audit data for a controlled document version, aggregating information from document history, reviews, approvals, and audit events into a structured format for DocumentProcessor.

    File: /tf/active/vicechatdev/CDocs/controllers/document_controller.py | Lines: 1735-2135

    audit document-management compliance data-aggregation pdf-generation
  • function convert_document_to_pdf

    Converts a controlled document version to PDF format with audit trail, signatures, watermarking, and PDF/A compliance capabilities, then uploads the result to FileCloud storage.

    File: /tf/active/vicechatdev/CDocs single class/controllers/document_controller.py | Lines: 1374-1569

    document-conversion pdf-generation pdf-a audit-trail compliance
  • function convert_document_to_pdf_v1

    Converts a document version to PDF format with audit trail, signatures, watermarks, and PDF/A compliance options, then uploads the result to FileCloud storage.

    File: /tf/active/vicechatdev/CDocs/controllers/document_controller.py | Lines: 1546-1732

    document-conversion pdf-generation document-management audit-trail compliance
  • function publish_document_v1

    Publishes a controlled document by converting it to PDF with signatures and audit trail, updating its status to PUBLISHED, and storing it in FileCloud.

    File: /tf/active/vicechatdev/CDocs single class/controllers/document_controller.py | Lines: 989-1197

    document-management publishing pdf-conversion audit-trail filecloud