Package ai.mindconnect.adminui.ui
Class AdminPage
java.lang.Object
ai.mindconnect.adminui.ui.AdminPage
- Direct Known Subclasses:
AgentDetailPage,AgentFormPage,AgentListPage,ChatPage,LlmConfigDetailPage,LlmConfigFormPage,LlmConfigListPage,MemoryPage,MigrationListPage,TodosPage,ToolDetailPage,ToolFormPage,ToolListPage,TracesPage,WorkspacePage
Base class for full Admin-UI pages composed of
UiComponents.
A page binds a domain model to a tree of components and exposes two kinds of outputs:
render()— full page, returned on the initial GET or after navigation. Composes child components into aUiPagethat the front-end renders into its root.- Per-event
UiPatchmethods (e.g.chatTurnComplete(),streamToken(...)) — incremental updates that target individual component ids without re-shipping the whole page.
The patch(UiPatch.Operation...) helper exists so concrete
pages can bundle several component-level operations into a single
UiPatch without boilerplate. Components themselves only
return single UiPatch.Operation values from their helper
methods — the page is the unit of composition.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected final ai.mindconnect.ui.model.UiPatchpatch(ai.mindconnect.ui.model.UiPatch.Operation... ops) Bundles one or more component-level operations into aUiPatch.abstract ai.mindconnect.ui.model.UiPagerender()Render the full page (initial GET, after navigation).
-
Constructor Details
-
AdminPage
public AdminPage()
-
-
Method Details
-
render
public abstract ai.mindconnect.ui.model.UiPage render()Render the full page (initial GET, after navigation). -
patch
protected final ai.mindconnect.ui.model.UiPatch patch(ai.mindconnect.ui.model.UiPatch.Operation... ops) Bundles one or more component-level operations into aUiPatch. Concrete pages use this to compose patches from several components (e.g.messages.replaceAll()+chatForm.reset()) in a single SSE event.
-