🔍 Code Extractor

Search Components

Full-Text: Fast keyword matching | Semantic: AI-powered understanding of intent (finds similar concepts)

Search Results for "documentversion"

Found 50 matching component(s)

  • function get_document_v2

    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

    document-management version-control retrieval controlled-documents metadata
  • 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

    document-management file-download version-control audit-trail watermark
  • 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

    document-management version-control controlled-documents audit-trail permissions
  • 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

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

    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

    document-conversion pdf-generation filecloud controlled-documents document-management
  • 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

    document-management filecloud url-generation permission-control version-control
  • class DocumentDetail_v1

    Document detail view component

    File: /tf/active/vicechatdev/document_detail_old.py

    class documentdetail
  • class DocumentService

    Service class for managing Document entities, including creation, retrieval, section management, versioning, and duplication operations.

    File: /tf/active/vicechatdev/vice_ai/services.py

    document-management service-layer crud-operations versioning section-management
  • class DocumentVersion

    A dataclass that represents a versioned snapshot of a document, capturing its structure, metadata, and change history at a specific point in time.

    File: /tf/active/vicechatdev/vice_ai/models.py

    version-control document-management dataclass serialization audit-trail
  • class DatabaseManager_v1

    SQLite database manager for persistent storage

    File: /tf/active/vicechatdev/vice_ai/models.py

    class databasemanager
  • class ControlledDocumentFlaskApp

    Main Flask application class for Controlled Document Management System.

    File: /tf/active/vicechatdev/CDocs/main_flask.py

    class controlleddocumentflaskapp
  • class DocumentVersion_v1

    Model representing a specific version of a controlled document.

    File: /tf/active/vicechatdev/CDocs/models/document.py

    class documentversion
  • class ControlledDocument

    Model representing a controlled document.

    File: /tf/active/vicechatdev/CDocs/models/document.py

    class controlleddocument
  • class BaseModel

    Base class providing common data model functionality for all models in the system, including property management, serialization, and deserialization.

    File: /tf/active/vicechatdev/CDocs/models/__init__.py

    base-class data-model orm serialization deserialization
  • class ApprovalCycle

    Model representing an approval cycle for a document version.

    File: /tf/active/vicechatdev/CDocs/models/approval_bis.py

    class approvalcycle
  • class ApprovalCycle_v1

    Model representing a approval cycle for a document version.

    File: /tf/active/vicechatdev/CDocs/models/approval.py

    class approvalcycle
  • class ReviewCycle

    Model representing a review cycle for a document version.

    File: /tf/active/vicechatdev/CDocs/models/review.py

    class reviewcycle
  • class DocUser

    Extended User model for document management system. This class wraps and extends the existing User model in the system, adding document-specific roles, departments, and permissions.

    File: /tf/active/vicechatdev/CDocs/models/user_extensions.py

    class docuser
  • function get_document_with_relationships

    Retrieves a complete document from Neo4j graph database along with all its related entities including versions, reviews, approvals, and authors.

    File: /tf/active/vicechatdev/CDocs/db/db_operations.py

    neo4j graph-database document-management relationships cypher-query
  • function get_document_v5

    Retrieves all versions of a controlled document from a Neo4j graph database, including metadata about which version is current.

    File: /tf/active/vicechatdev/CDocs/db/db_operations.py

    database neo4j graph-database document-management version-control
  • class NodeLabels

    A constants class that defines string labels for different node types in a Neo4j graph database schema for a document management system (CDocs).

    File: /tf/active/vicechatdev/CDocs/db/schema_manager.py

    constants neo4j graph-database node-labels document-management
  • function migrate_approval_cycles

    Migrates legacy Approval nodes and their related structures to the new ApprovalCycle model in a Neo4j graph database, creating ApprovalCycle nodes and ApproverAssignment nodes while maintaining relationships with DocumentVersion nodes.

    File: /tf/active/vicechatdev/CDocs/db/schema_manager.py

    database-migration neo4j graph-database approval-workflow data-transformation
  • function get_approval_cycle

    Retrieves detailed information about an approval cycle by its UID, with optional inclusion of comments and associated document details.

    File: /tf/active/vicechatdev/CDocs/controllers/approval_controller.py

    approval-workflow document-management data-retrieval graph-database neo4j
  • function get_user_assigned_approvals_v1

    Retrieves all approval assignments for a specific user with optional filtering by status, including associated approval cycles, documents, and version information.

    File: /tf/active/vicechatdev/CDocs/controllers/approval_controller.py

    approval-workflow document-management user-assignments pagination controller
  • function ensure_document_version_share_attributes

    Ensures a DocumentVersion object has share_id and share_url attributes, initializing them to None if missing and persisting changes to the database.

    File: /tf/active/vicechatdev/CDocs/controllers/permission_startup_check.py

    attribute-initialization schema-migration defensive-programming database-persistence error-handling
  • function manage_user_share_access_v2

    Manages user access permissions to a FileCloud document share, creating shares if needed and setting read-only or write access for specified users.

    File: /tf/active/vicechatdev/CDocs/controllers/permission_startup_check.py

    filecloud document-management access-control permissions sharing
  • function get_document_share_url

    Retrieves or creates a shareable URL for a specific document version, checking for existing shares before creating new ones.

    File: /tf/active/vicechatdev/CDocs/controllers/share_controller.py

    document-sharing url-generation filecloud document-management version-control
  • function manage_document_permissions

    Comprehensive function to manage document sharing and user permissions. This function: 1. Creates a share only if needed for active users 2. Adds/updates users with appropriate permissions based on their roles 3. Removes users who shouldn't have access anymore 4. Cleans up shares that are no longer needed 5. Manages ACL entries for write permissions on the document's folder Args: document: The document to manage permissions for Returns: Dict: Result of permission updates with detailed information

    File: /tf/active/vicechatdev/CDocs/controllers/share_controller.py

    function manage_document_permissions
  • function remove_user_access

    Removes a user's access permissions from a specific document version share in FileCloud by delegating to the FileCloud client's remove_user_from_share method.

    File: /tf/active/vicechatdev/CDocs/controllers/share_controller.py

    access-control document-management user-permissions filecloud security
  • function get_user_access_url

    Retrieves a share URL for a document version and determines the appropriate access level (read/write) for a specific user based on their role (owner, author, reviewer, approver) and the document's current status.

    File: /tf/active/vicechatdev/CDocs/controllers/share_controller.py

    access-control permissions document-management role-based-access workflow
  • function manage_user_share_access

    Manages user access permissions (read-only or edit) to a specific document version share in FileCloud, creating the share if it doesn't exist.

    File: /tf/active/vicechatdev/CDocs/controllers/filecloud_helper.py

    filecloud document-sharing access-control permissions user-management
  • function manage_user_share_access_v1

    Manages user access permissions to a FileCloud document share, creating the share if needed and setting read-only or write access for a specified user.

    File: /tf/active/vicechatdev/CDocs/controllers/filecloud_controller.py

    document-management access-control file-sharing permissions filecloud
  • function download_document_version_v1

    Downloads a specific version of a controlled document, with optional audit trail and watermark inclusion, returning file content and metadata.

    File: /tf/active/vicechatdev/CDocs/controllers/document_controller.py

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

    Sets a specific version as the current version of a controlled document in a Neo4j-based document management system, with audit logging and notifications.

    File: /tf/active/vicechatdev/CDocs/controllers/document_controller.py

    document-management version-control neo4j audit-trail controlled-documents
  • function publish_document_v1

    Publishes a controlled document by incrementing its version to the next major revision, converting it to a signed PDF, and updating its status to PUBLISHED.

    File: /tf/active/vicechatdev/CDocs/controllers/document_controller.py

    document-management publishing version-control pdf-generation workflow
  • function convert_document_to_pdf

    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

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

    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

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

    Generates a FileCloud URL to view or edit a controlled document, selecting the appropriate file format (PDF or Word) based on document status and version availability.

    File: /tf/active/vicechatdev/CDocs/controllers/document_controller.py

    document-management filecloud url-generation version-control audit-logging
  • function get_review_cycle

    Retrieves comprehensive information about a review cycle, including optional reviewer assignments, comments, and associated document details.

    File: /tf/active/vicechatdev/CDocs/controllers/review_controller.py

    review-cycle document-management review-workflow data-retrieval graph-database
  • function get_user_assigned_reviews

    Retrieves all review assignments for a specific user with optional filtering by status, including associated review cycle, document, and version details.

    File: /tf/active/vicechatdev/CDocs/controllers/review_controller.py

    document-management review-workflow user-assignments pagination data-aggregation
  • class FileCloudIntegration

    Manages integration with FileCloud for document storage and metadata

    File: /tf/active/vicechatdev/CDocs/utils/filecloud_integration.py

    class filecloudintegration
  • function schedule_reminders

    Automated scheduled task that sends reminder and overdue notifications for pending reviews and approvals that are due within 3 days or past their due date.

    File: /tf/active/vicechatdev/CDocs/utils/notifications.py

    scheduled-task notifications reminders neo4j graph-database
  • function compare_document_versions

    Compares two document versions by their UIDs and generates a summary of changes including metadata differences and hash comparisons.

    File: /tf/active/vicechatdev/CDocs/utils/document_processor.py

    document-management version-control comparison diff metadata
  • function check_document_hash_exists

    Checks if a document with a given SHA-256 hash already exists in the database by querying the graph database for matching DocumentVersion nodes.

    File: /tf/active/vicechatdev/CDocs/utils/document_processor.py

    database graph-database neo4j document-management deduplication
  • function validate_and_fix_document_permissions

    Validates and optionally fixes document sharing permissions for controlled documents in a Neo4j database, processing documents in configurable batches with detailed progress tracking and error handling.

    File: /tf/active/vicechatdev/CDocs/utils/sharing_validator.py

    validation permissions document-management batch-processing neo4j
  • function get_document_history

    Retrieves the complete audit history for a document by querying events across document, version, review, comment, and approval nodes in a Neo4j graph database.

    File: /tf/active/vicechatdev/CDocs/utils/audit_trail.py

    audit-trail document-management neo4j graph-database history-tracking
  • function generate_audit_report

    Generates a comprehensive audit report for a controlled document by aggregating document metadata, version history, review cycles, approvals, and categorized audit events.

    File: /tf/active/vicechatdev/CDocs/utils/audit_trail.py

    audit reporting document-management compliance neo4j
  • function log_version_event

    A convenience wrapper function that logs audit events specifically for document version operations by delegating to a generic log_event function with the resource_type fixed as 'DocumentVersion'.

    File: /tf/active/vicechatdev/CDocs/utils/audit_trail.py

    audit logging document-version event-tracking audit-trail
  • class DocumentDetail_v2

    Document detail view component

    File: /tf/active/vicechatdev/CDocs/ui/document_detail.py

    class documentdetail
  • class ApprovalPanel_v1

    Approval management interface component

    File: /tf/active/vicechatdev/CDocs/ui/approval_panel.py

    class approvalpanel

Search Examples