🔍 Code Extractor

Search Components

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

Search Results for "department"

Found 50 matching component(s)

  • 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

    document-management controlled-documents document-creation versioning audit-trail
  • 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

    search documents neo4j cypher database-query
  • 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

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

    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

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

    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

    document-management version-control filecloud neo4j graph-database
  • 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 clone_document_v1

    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

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

    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

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

    Creates a new controlled document in a document management system with specified properties, type, department, and status.

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

    document-management controlled-documents document-creation CDocs workflow
  • class DocumentDetail

    Document detail view component

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

    class documentdetail
  • function controlled_docs_navigation

    Navigation controller for a Streamlit-based controlled documents module that manages document and review dashboards with URL parameter-based routing.

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

    streamlit navigation ui routing document-management
  • class DocumentDetail_v1

    Document detail view component

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

    class documentdetail
  • class ControlledDocApp

    A standalone Panel web application class that provides a complete controlled document management system with user authentication, navigation, and document lifecycle management features.

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

    panel web-application document-management authentication navigation
  • function test_new_fields

    A test function that validates an LLM client's ability to extract third-party email addresses and tax identification numbers from contract documents.

    File: /tf/active/vicechatdev/contract_validity_analyzer/test_new_fields.py

    testing llm contract-analysis email-extraction tax-id-extraction
  • class AuditPageGenerator

    A class that generates comprehensive PDF audit trail pages for documents, including document information, reviews, approvals, revision history, and event history with electronic signatures.

    File: /tf/active/vicechatdev/document_auditor/src/audit_page_generator.py

    pdf-generation audit-trail document-management compliance electronic-signature
  • function get_department_name

    Looks up and returns the full department name corresponding to a given department code by searching through a DEPARTMENTS dictionary.

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

    lookup dictionary mapping department reverse-lookup
  • function get_department_code

    Retrieves a department code by looking up a department's full name in a DEPARTMENTS dictionary, returning the original name if not found.

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

    lookup dictionary mapping department code-conversion
  • function generate_document_number

    Generates unique, sequential document numbers for a given document type and department using persistent counters stored in Neo4j database.

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

    document-management numbering neo4j counter unique-identifier
  • function _generate_document_number_fallback

    Generates a fallback document number using in-memory counters when database access fails, creating unique identifiers based on document type, department, and year.

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

    document-management numbering fallback resilience counter
  • class ControlledDocumentFlaskApp

    Main Flask application class for Controlled Document Management System.

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

    class controlleddocumentflaskapp
  • function extract_metadata_from_filecloud

    Extracts and normalizes metadata from FileCloud for document creation, providing default values and generating document numbers when needed.

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

    metadata normalization document-management filecloud data-extraction
  • function create_controlled_document

    Creates a new controlled document node in a graph database with metadata, establishes relationships with the CDocs root node, and returns a ControlledDocument instance.

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

    document-management controlled-documents graph-database neo4j document-creation
  • function search_filecloud_for_documents

    Searches FileCloud for documents that have the 'is_cdoc' metadata flag set to true, retrieving their file paths and associated metadata attributes.

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

    filecloud document-management metadata-search controlled-documents file-search
  • class ControlledDocumentApp

    Main application class for the Controlled Document Management System. This class initializes all components and provides the main Panel interface for the application. It is designed to be served via `panel serve` command and integrates with the existing datacapture application.

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

    class controlleddocumentapp
  • 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 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_next_document_number

    Atomically retrieves and increments the next sequential document number for a specific document type and department combination from a Neo4j graph database.

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

    document-management counter sequential-numbering neo4j graph-database
  • function validate_schema

    Validates that a Neo4j database schema contains all required constraints and node labels for a controlled document management system.

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

    database validation schema neo4j graph-database
  • function initialize_approval_workflow_types

    Initializes default approval workflow types in a Neo4j database by creating or updating four predefined workflow type nodes (STANDARD, DEPARTMENT, QUALITY, REGULATORY) with their configurations.

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

    neo4j database-initialization workflow approval-workflow graph-database
  • function initialize_document_counters

    Initializes document counters in Neo4j by analyzing existing ControlledDocument nodes and creating DocumentCounter nodes with values higher than the maximum existing document numbers for each department/type combination.

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

    neo4j database-initialization document-management counter-initialization graph-database
  • function get_users

    Retrieves user information from a Neo4j graph database for display in an admin panel, with optional filtering by user ID.

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

    database neo4j user-management admin query
  • function create_user

    Creates a new user in the system with validation, password hashing, and role assignment, including CDocs user extension setup.

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

    user-management authentication database validation password-hashing
  • function update_user

    Updates an existing user's information in a Neo4j database, including profile fields, password, and role assignments.

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

    user-management database-update neo4j authentication role-management
  • function get_departments

    Retrieves all departments from application settings and formats them as a list of dictionaries with standardized department information including id, code, name, description, and active status.

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

    departments settings configuration data-retrieval error-handling
  • function get_user_by_id

    Retrieves user data from a Neo4j graph database by user ID, including associated roles and formatted name fields.

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

    database neo4j user-management graph-database query
  • function update_user_v1

    Updates user information in a Neo4j graph database, including username, full name, email, department, and active status, with automatic audit logging.

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

    user-management database-update neo4j graph-database audit-logging
  • 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 get_approval

    Retrieves a specific approval cycle by its unique identifier (UID) with optional inclusion of associated document details and approval comments.

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

    approval document-management workflow retrieval controlled-documents
  • function get_filecloud_document_path

    Constructs and returns the FileCloud storage path for a controlled document, supporting both custom and standard folder structures with version-specific file paths.

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

    filecloud document-management path-generation version-control file-storage
  • function ensure_document_folders

    Ensures all required folder hierarchies exist in FileCloud storage for a controlled document, creating them if they don't exist.

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

    filecloud folder-management document-storage file-system hierarchy
  • function upload_document_to_filecloud

    Uploads a document version to FileCloud storage system with metadata, handling file creation, folder structure, and audit logging.

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

    document-management file-upload filecloud version-control metadata
  • function search_documents_in_filecloud

    Searches for controlled documents in FileCloud using text search and optional metadata filters, returning structured document information including UIDs, versions, and metadata.

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

    document-search filecloud metadata-filtering document-management controlled-documents
  • function start_document_approval_workflow

    Initiates an approval workflow for a document in FileCloud, validating document existence, preparing workflow metadata, and logging the workflow start event.

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

    workflow approval document-management filecloud integration
  • function process_document_signing

    Initiates a document signing workflow through FileCloud's Signority integration, creating a signing request for specified signers and sending notification emails.

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

    document-signing e-signature filecloud signority workflow
  • function create_document_legacy

    Creates a new controlled document in a document management system with versioning, audit trails, and notifications. Generates document nodes in a graph database with relationships to users and versions.

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

    document-management controlled-documents graph-database neo4j versioning
  • function search_documents_v1

    Searches for controlled 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/CDocs/controllers/document_controller.py

    search documents neo4j cypher database-query
  • function create_document_v2

    Creates a new version of a controlled document by generating version metadata, storing the file in FileCloud, updating the document's revision number, and creating an audit trail entry.

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

    document-management version-control file-storage filecloud neo4j
  • 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

Search Examples