Package com.onec.ui
package com.onec.ui
-
ClassDescriptionWhat a custom action handler receives when invoked: the entity it ran on, (for row/detail actions) the record's id, and the current values of any toolbar
inputs.Runs a customActionSpecserver handler for an entity.Per-action placement builder for a document's detail-header actions (post/unpost/edit/delete): show it as a primary button, tuck it into the overflow (⋯) menu, or hide it entirely.What the client does after a server-side action runs: optionally show a message, navigate to a route, and/or refresh the current surface.A read-only view of one list row, handed to the per-row functions of a rowaction(.icon(...),.label(...),.visibleWhen(...),.enabledWhen(...)) so a single control can vary by that row's state — apause"Suspend" on a running record flipping to aplay"Resume" when it's stopped, or a button shown only on the rows it applies to.Where a customactionbutton appears.Declares custom action buttons for an entity, fromEntityView.actions(ActionSpec).A resolved action button.Fluent builder for one action; setters may be called in any order.Declarative back-office branding for aLayout's shell: an explicit app name, a logo (with an optional dark-mode variant), a favicon, and brand color overrides for the light and darkBrandPalettes.A consumer's brand color overrides for one mode (light or dark).Write-side commands for catalogs — create, update, delete.Read-side queries for catalogs, shared by the REST API and the DivKit emitters so the SQL and ref-resolution live in one place.Receive side of cross-node live-UI sync: subscribes to theClusterEventBusand pushes events that originated on other nodes to this node's SSE clients viaUiEventPublisher.publish(String, String, String, Object, String).Resolves the authenticated principal to a domain catalog record via the configuredUiIdentityLink(e.g.Emits the server-rendered DivKit app, split so the client can render instantly and load data lazily:/shellreturns the chrome (top bar + nav, no data — fast), and each content endpoint returns just that surface's card.Write-side commands for documents — create, update, delete, post, unpost — plus the document reconstruction needed for posting.Read-side queries for documents (list with optional date range; detail with tabular sections), shared by the REST API and the DivKit emitters.Per-entity configuration scope passed to lambdas onSectionBuilder.catalog/document/register.Per-entity UI definition, authored in code and discovered as a Spring bean — the "view" layer of the framework.UI hints for a single field, configured viaUiLayoutBuilder.Per-field hint builder.Per-entity field hints, authored on eachEntityView.fields(com.onec.ui.EntityConfigBuilder)and resolved by class.Read-side queries for information registers, used to drive related-list panels backed by a register junction (seeRelatedList,Junctions).Declares custom input fields for an entity's list toolbar, fromEntityView.inputs(InputSpec).Fluent builder for one input; setters may be called in any order.A resolved toolbar input field.The kind of toolbar input field rendered alongside the custom action buttons.An authored layout — the structural peer ofPageandEntityView.The builder aLayoutconfigures: navigation sections (with per-field hints), the shell/nav presentation, branding, identity link, and — for persona layouts — the target roles and match priority.Serves pages of list data to the virtualized list grid (theonec-listReact island).Compiles theonec-listgrid's declarative filter values (sent by the React island aseq/in/like/prefix/ge/lequery params) into a safe SQL fragment with bound parameters.A compiled predicate: aWHERE-ready fragment (no leading AND) and its bindings.Builder for an entity's list/table surface, used insideEntityView.list(com.onec.ui.ListSpec).A resolved list filter: the bound field, its label, the control type and — for theListSpec.FilterType.OPTIONS/ListSpec.FilterType.MULTI_OPTIONScontrols — its choices.Fluent builder for one filter;ListSpec.FilterBuilder.options/ListSpec.FilterBuilder.multiOptions(java.lang.String...)/ListSpec.FilterBuilder.contains()/ListSpec.FilterBuilder.startsWith()/ListSpec.FilterBuilder.dateRange()pick the control type.How a filter narrows the list query (and which control the grid renders).Serves the server-driven (DivKit) login screen atGET /api/divkit/login.How the app's navigation chrome presents.The onec-framework version this build was produced from, baked intoMETA-INF/onec-build.propertiesby theprocessResourcesstep.Maps the framework'sValidationException(a missing required attribute, an out-of-range / malformed value, or a failed business rule) to HTTP 400 with a small JSON body, so a client-input error reads as a Bad Request instead of a 500 (issue #32).An authored page — a route whose content you compose in code, the page-level peer ofEntityView.Composes aPage's content: an optional header, a grid of dashboard widgets, and freeformPageComponentblocks.A freeform block aPagecomposes beyond the widget grid: a text block, adiv-customextension, a full interactive entity list, or a section of action buttons.Resolves Ref UUID columns and Enum UUID columns to human-readable display values.Read-side queries for accumulation registers (movements, balance, turnover), shared by the REST API and the DivKit emitters.A declarative related-list (inline child rows) panel for a catalog or document view, backed by a junction — a join catalog or an information register — rather than an owned tabular section.Builds oneRelatedListpanel for a catalog editor.Resolves and reads the rows of a related-list panel for any owning entity — catalog or document — over any junction — join catalog or information register.Renderer-agnostic resolved list surface: a title and ordered columns.A resolved column: the header label, the data column it reads, an optional width hint (e.g.A resolved list filter: a stablekey(the field name, the client's state key), thelabel, the datacolumnNamethe query filters on (resolved + validated against the entity's columns), the controltype("options","multiOptions","contains","startsWith"or"dateRange") and, for the (multi-)options controls, itsoptions.Resolves descriptor metadata into a JSON-shaped attribute view, merging field hints over descriptor defaults.App settings backed by the framework'sConstants.App-shell presentation config: theNavStylethis layout's navigation uses, plus the consumer'sBrandingConfig(app name, logo, favicon, brand palette).Collects the customactionsand toolbarinputsdeclared by everyEntityView, indexed by entity class.Pushes entity-change notifications to browserSseEmitters for live UI updates.Links an authenticated account to a domain catalog record (e.g.A named persona bundle: its own navigation (sections), home (widgets), branding (title/theme) and therolesthat resolve into it.Typed brand color overrides for one mode; unset slots staynull(renderer default).Configures a named persona profile.Builds theShellConfig— this layout's navigation presentation andBrandingConfig(app name, logo, favicon, brand palette).Resolves whichUiLayout.Profilea user sees, by matching their roles against each named profile's target roles.The built-in Settings page — the@Constanteditor surfaced at/settingswith an auto-injected admin nav entry.Resolves a per-entityEntityView(authored in code) over the auto-generated metadata defaults into a renderer-agnosticResolvedListView.Periodically asks onec-cloud for the latest published framework version and, when it is newer than the running one, flipsUpdateChecker.status()to "update available" — which the web client reads off/api/configand renders as a dismissible banner.Configures the "update available" check: the running app periodically asks onec-cloud what the latest published framework version is and surfaces a notice when it is newer than its own.The last-known result of the update check, exposed to the web client via/api/config.The device class a client reports for itself, so the framework can serve a layout and page composition tailored to it.Builds the SQL aggregate expression for a count/metric card.Parses an authored count/metric-cardfilterpredicate into a safe SQL fragment with bound parameters.A compiled predicate: aWHERE-ready fragment (no leading AND) and its bindings.Validates a generic catalog/document write before it persists.