Process Namespace
The Process namespace in SoloDB contains the code that implements the process functionality described in the Process documentation. This namespace is organized into several key components that work together to provide the complete process management system.
Namespace Structure
The Process namespace is structured as follows:
Entity Classes
The entity classes represent the data models for processes and related objects:
Process\Entity\Process
: Represents a process (instantiation of a process family on an equipment module)Process\Entity\Category
: Represents a process categoryProcess\Entity\Parameter
: Represents a parameter that can be used in processesProcess\Entity\Unit
: Represents a unit of measurement for parametersProcess\Entity\Process\Module
: Represents the connection between a process and an equipment moduleProcess\Entity\Process\Module\Recipe
: Represents a recipe for a process on a specific moduleProcess\Entity\Process\Module\Parameter
: Represents a parameter for a process on a specific module
Controller Classes
The controller classes handle HTTP requests and responses for the process functionality:
Process\Controller\ProcessController
: Handles requests related to processesProcess\Controller\CategoryController
: Handles requests related to process categoriesProcess\Controller\ParameterController
: Handles requests related to process parametersProcess\Controller\TypeController
: Handles requests related to process typesProcess\Controller\UnitController
: Handles requests related to units of measurementProcess\Controller\Process\ModuleController
: Handles requests related to process modulesProcess\Controller\Process\Module\Recipe\ChecklistController
: Handles requests related to recipe checklists
Service Classes
The service classes contain the business logic for process management:
Process\Service\ProcessService
: Provides methods for managing processesProcess\Service\ParameterService
: Provides methods for managing process parametersProcess\Service\UnitService
: Provides methods for managing units of measurementProcess\Service\Process\ModuleService
: Provides methods for managing process modulesProcess\Service\Process\Module\RecipeService
: Provides methods for managing process recipes
Provider Classes
The provider classes provide data access and retrieval functionality:
Process\Provider\ProcessProvider
: Provides access to process dataProcess\Provider\CategoryProvider
: Provides access to process category dataProcess\Provider\ParameterProvider
: Provides access to process parameter dataProcess\Provider\TypeProvider
: Provides access to process type dataProcess\Provider\UnitProvider
: Provides access to unit of measurement data
Form Classes
The form classes handle form creation and validation for process-related forms:
Process\Form\InsertProcess
: Form for inserting a new processProcess\Form\CategoryFilter
: Form for filtering process categoriesProcess\Form\ParameterFilter
: Form for filtering process parametersProcess\Form\Process\ModuleForm
: Form for managing process modulesProcess\Form\Process\Module\RecipeForm
: Form for managing process recipes
Search Classes
The search classes provide functionality for searching processes:
Process\Search\Document\ProcessDocument
: Document representation of a process for searchProcess\Search\Service\ProcessSearchService
: Service for searching processesProcess\Search\Document\Process\Module\RecipeDocument
: Document representation of a recipe for searchProcess\Search\Service\Process\Module\RecipeSearchService
: Service for searching recipes
Relationships
The process namespace components work together to provide a complete process management system:
Processes are organized into categories and types
Processes are associated with equipment modules
Processes have parameters with units of measurement
Processes on modules can have recipes with versions
Recipes can have checklists and parameters
This structure allows for flexible and powerful process management in SoloDB, supporting the process hierarchy described in the Process documentation.